commit | 8188d392af61d86454ff893bfe06f932d5f03042 | [log] [tgz] |
---|---|---|
author | Hanno Becker <hanno.becker@arm.com> | Tue Jun 27 08:46:50 2017 +0100 |
committer | Simon Butcher <simon.butcher@arm.com> | Fri Jul 28 21:58:31 2017 +0100 |
tree | 70c051368e8b5f600bfcef71c8695a7c410be40a | |
parent | e513cf7f26885481e83743820d3033b282a2183b [diff] |
Reliably zeroize sensitive data in Crypt-and-Hash sample application The AES sample application programs/aes/crypt_and_hash could miss zeroizing the stack-based key buffer in case of an error during operation. This commit fixes this and also clears all command line arguments (one of which might be the key) before exit.