diff options
author | Ryan Wanner <[email protected]> | 2023-03-28 12:56:26 -0700 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2023-04-06 16:41:28 +0800 |
commit | 232c1e8e19ff8e60237012fadead02557aafca5a (patch) | |
tree | 0362b66282a5a637c74c0e47a79a4ebdb19cb524 /lib/mpi/mpi-mod.c | |
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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions