Home
last modified time | relevance | path

Searched refs:SHA224_BLOCK_SIZE (Results 1 – 4 of 4) sorted by relevance

/external/mmc-utils/3rdparty/hmac_sha/
Dhmac_sha2.c54 if (key_size == SHA224_BLOCK_SIZE) { in hmac_sha224_init()
56 num = SHA224_BLOCK_SIZE; in hmac_sha224_init()
58 if (key_size > SHA224_BLOCK_SIZE){ in hmac_sha224_init()
66 fill = SHA224_BLOCK_SIZE - num; in hmac_sha224_init()
78 sha224_update(&ctx->ctx_inside, ctx->block_ipad, SHA224_BLOCK_SIZE); in hmac_sha224_init()
82 SHA224_BLOCK_SIZE); in hmac_sha224_init()
Dhmac_sha2.h55 unsigned char block_ipad[SHA224_BLOCK_SIZE];
56 unsigned char block_opad[SHA224_BLOCK_SIZE];
Dsha2.h49 #define SHA224_BLOCK_SIZE SHA256_BLOCK_SIZE macro
Dsha2.c764 tmp_len = SHA224_BLOCK_SIZE - ctx->len; in sha224_update()
769 if (ctx->len + len < SHA224_BLOCK_SIZE) { in sha224_update()
775 block_nb = new_len / SHA224_BLOCK_SIZE; in sha224_update()
782 rem_len = new_len % SHA224_BLOCK_SIZE; in sha224_update()
801 block_nb = (1 + ((SHA224_BLOCK_SIZE - 9) in sha224_final()
802 < (ctx->len % SHA224_BLOCK_SIZE))); in sha224_final()