auth/hmac: rename BLOCKSZ to BLOCKLEN
This commit is contained in:
parent
f1c4ceea84
commit
8f1b773e5f
2 changed files with 5 additions and 5 deletions
|
@ -20,11 +20,11 @@
|
|||
#include "lilcrypto.h"
|
||||
|
||||
|
||||
#define HMAC_BLOCKSZ_MAX 128
|
||||
#define HMAC_BLOCKLEN_MAX LC_SHA512_BLOCKLEN
|
||||
|
||||
|
||||
struct hmac_ctx {
|
||||
struct lc_hash_ctx *hctx;
|
||||
size_t blocksz;
|
||||
uint8_t key[HMAC_BLOCKSZ_MAX];
|
||||
uint8_t key[HMAC_BLOCKLEN_MAX];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue