Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/src/examples/hash/
H A Dmd5.c39 const u8 data[MD5_BLOCK_SIZE]) in md5_process() argument
140 fill = (u16)(MD5_BLOCK_SIZE - left); in md5_update()
153 while (remain_ilen >= MD5_BLOCK_SIZE) { in md5_update()
155 data_ptr += MD5_BLOCK_SIZE; in md5_update()
156 remain_ilen -= MD5_BLOCK_SIZE; in md5_update()
173 u8 last_padded_block[2 * MD5_BLOCK_SIZE]; in md5_final()
183 block_present = ctx->md5_total % MD5_BLOCK_SIZE; in md5_final()
194 if (block_present > (MD5_BLOCK_SIZE - 1 - sizeof(u64))) { in md5_final()
197 (2 * MD5_BLOCK_SIZE) - sizeof(u64)); in md5_final()
199 ret = md5_process(ctx, last_padded_block + MD5_BLOCK_SIZE); EG(ret, err); in md5_final()
[all …]
H A Dmd5.h93 #define MD5_BLOCK_SIZE 64 macro
109 u8 md5_buffer[MD5_BLOCK_SIZE];
H A Dhash.c190 (*block_size) = MD5_BLOCK_SIZE; in gen_hash_get_hash_sizes()