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