Rename *_CHUNK* to *_BLOCKLEN*
This commit is contained in:
parent
62eb1ea6f8
commit
06e9c5ec67
13 changed files with 77 additions and 74 deletions
|
@ -63,7 +63,7 @@ hmac_sha224_sha256_init(void *arg, const void *initparams)
|
|||
const struct lc_hmac_params *params = initparams;
|
||||
struct hmac_ctx *ctx = arg;
|
||||
|
||||
ctx->blocksz = SHA256_CHUNK;
|
||||
ctx->blocksz = SHA256_BLOCKLEN;
|
||||
|
||||
return hmac_common_init(ctx, params->key, params->keylen);
|
||||
}
|
||||
|
@ -74,7 +74,7 @@ hmac_sha384_sha512_init(void *arg, const void *initparams)
|
|||
const struct lc_hmac_params *params = initparams;
|
||||
struct hmac_ctx *ctx = arg;
|
||||
|
||||
ctx->blocksz = SHA512_CHUNK;
|
||||
ctx->blocksz = SHA512_BLOCKLEN;
|
||||
|
||||
return hmac_common_init(ctx, params->key, params->keylen);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue