Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/src/hash/
H A Dsha224.c23 const u8 data[SHA224_BLOCK_SIZE]) in sha224_process() argument
115 fill = (u16)(SHA224_BLOCK_SIZE - left); in sha224_update()
128 while (remain_ilen >= SHA224_BLOCK_SIZE) { in sha224_update()
130 data_ptr += SHA224_BLOCK_SIZE; in sha224_update()
131 remain_ilen -= SHA224_BLOCK_SIZE; in sha224_update()
148 u8 last_padded_block[2 * SHA224_BLOCK_SIZE]; in sha224_final()
158 block_present = ctx->sha224_total % SHA224_BLOCK_SIZE; in sha224_final()
169 if (block_present > (SHA224_BLOCK_SIZE - 1 - sizeof(u64))) { in sha224_final()
172 (2 * SHA224_BLOCK_SIZE) - sizeof(u64)); in sha224_final()
174 ret = sha224_process(ctx, last_padded_block + SHA224_BLOCK_SIZE); EG(ret, err); in sha224_final()
[all …]
/freebsd/crypto/libecc/include/libecc/hash/
H A Dsha224.h27 #define SHA224_BLOCK_SIZE 64 macro
51 #if (MAX_BLOCK_SIZE < SHA224_BLOCK_SIZE)
53 #define MAX_BLOCK_SIZE SHA224_BLOCK_SIZE
66 u8 sha224_buffer[SHA224_BLOCK_SIZE];
H A Dhash_algs.h53 #ifdef SHA224_BLOCK_SIZE
263 .block_size = SHA224_BLOCK_SIZE,