diff options
author | Ryan Wanner <Ryan.Wanner@microchip.com> | 2023-03-28 12:56:26 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-04-06 16:41:28 +0800 |
commit | 232c1e8e19ff8e60237012fadead02557aafca5a (patch) | |
tree | 0362b66282a5a637c74c0e47a79a4ebdb19cb524 /scripts/gdb/linux/config.py | |
parent | a4b16dad46576ce08ecb660fc923d0857dcae107 (diff) |
crypto: atmel-sha - Add zero length message digest support for hmac
Add softare padding to hmac-sha digest for zero length messages.
Using the atmel_sha_fill_padding() to fill the buffer with a padded
empty message with a length of the block size.
Create a temporary scatter list from the padded buffer to pass into the
data processing functions.
Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions