diff options
author | Mattias Andrée <maandree@kth.se> | 2019-02-10 20:57:56 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2019-02-10 20:57:56 +0100 |
commit | 15f132722cae63775dd7b2fef866d477c54c7b8e (patch) | |
tree | 27359241e0a1a0b6f304060bc0a9e7c9287efd06 /libsha1.h | |
parent | First commit (diff) | |
download | libsha1-15f132722cae63775dd7b2fef866d477c54c7b8e.tar.gz libsha1-15f132722cae63775dd7b2fef866d477c54c7b8e.tar.bz2 libsha1-15f132722cae63775dd7b2fef866d477c54c7b8e.tar.xz |
Implement SHA-0 and remove .chunk_size1.0
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libsha1.h')
-rw-r--r-- | libsha1.h | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -54,11 +54,6 @@ struct libsha1_state { unsigned char chunk[64]; /** - * The size of the chunks, in bytes - */ - size_t chunk_size; - - /** * The algorithm that is used */ enum libsha1_algorithm algorithm; @@ -98,12 +93,12 @@ struct libsha1_hmac_state { /** * Inner pad XOR processed key */ - unsigned char ipad[128]; + unsigned char ipad[64]; /** * Outer pad XOR processed key */ - unsigned char opad[128]; + unsigned char opad[64]; }; |