Searched refs:mdc2_buffer (Results 1 – 2 of 2) sorted by relevance
/freebsd/crypto/libecc/src/examples/hash/ |
H A D | mdc2.c | 138 ret = local_memcpy(ctx->mdc2_buffer + left, data_ptr, fill); EG(ret, err); in mdc2_update() 139 ret = mdc2_process(ctx, ctx->mdc2_buffer); EG(ret, err); in mdc2_update() 152 ret = local_memcpy(ctx->mdc2_buffer + left, data_ptr, remain_ilen); EG(ret, err); in mdc2_update() 179 ctx->mdc2_buffer[i] = pad_byte; in mdc2_final() 182 ret = mdc2_process(ctx, ctx->mdc2_buffer); EG(ret, err); in mdc2_final() 190 ctx->mdc2_buffer[(ctx->mdc2_total % MDC2_BLOCK_SIZE)] = 0x80; in mdc2_final() 193 ctx->mdc2_buffer[i] = pad_byte; in mdc2_final() 196 ret = mdc2_process(ctx, ctx->mdc2_buffer); EG(ret, err); in mdc2_final()
|
H A D | mdc2.h | 40 u8 mdc2_buffer[MDC2_BLOCK_SIZE]; member
|