diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-12-12 09:53:26 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-12-12 09:57:12 +0100 |
commit | 0e722e8879a8e1eebe02fd14c70c39346c79f95d (patch) | |
tree | 6c2a4293bc15772a718267733c07fa81e3364ba8 /src/qt/walletframe.h | |
parent | d44535d8189ec2f0e77d445804cca60b869b24a1 (diff) | |
parent | a3f56578ab79931f3a35a44b6ff43d0da6308602 (diff) |
Merge #11516: crypto: Add test cases covering the relevant HMAC-SHA{256,512} key length boundaries
a3f5657 Add test cases covering the relevant key length boundaries: 64 bytes +/- 1 byte for HMAC-SHA256 and 128 bytes +/- 1 byte for HMAC-SHA512 (practicalswift)
Pull request description:
* Add test cases covering the relevant key length boundaries: 64 bytes +/- 1 byte for HMAC-SHA256 and 128 bytes +/- 1 byte for HMAC-SHA512.
* ~~Avoid creating a one-past-the-end pointer in the case of key length 64 (HMAC-SHA256) and key length 128 (HMAC-SHA512).~~
* ~~Avoid performing a noop memset call (zero length argument) in the case of key length 64 (HMAC-SHA256) and key length 128 (HMAC-SHA512).~~
Tree-SHA512: 48ff9ab79d41aab97b5b8f6496cc08a39955a07eb424f74ada6440d3b168b6204d3527fa677e175c47e40142f9d62c7456ae162e5a2f5b557e90fb353beef1d0
Diffstat (limited to 'src/qt/walletframe.h')
0 files changed, 0 insertions, 0 deletions