Home
last modified time | relevance | path

Searched refs:md2_state (Results 1 – 2 of 2) sorted by relevance

/freebsd/crypto/libecc/src/examples/hash/
H A Dmd2.c47 ret = local_memcpy(&x[0], ctx->md2_state, MD2_BLOCK_SIZE); EG(ret, err); in md2_process()
50 x[(2 * MD2_BLOCK_SIZE) + i] = (ctx->md2_state[i] ^ data[i]); in md2_process()
62 ret = local_memcpy(ctx->md2_state, &x[0], MD2_BLOCK_SIZE); EG(ret, err); in md2_process()
91 ret = local_memset(ctx->md2_state, 0, sizeof(ctx->md2_state)); EG(ret, err); in md2_init()
174 ret = local_memcpy(output, ctx->md2_state, MD2_DIGEST_SIZE); EG(ret, err); in md2_final()
H A Dmd2.h30 u8 md2_state[MD2_STATE_SIZE]; member