Symbol: MD2_BLOCK_SIZE
crypto/libecc/src/examples/hash/hash.c
178
(*block_size) = MD2_BLOCK_SIZE;
crypto/libecc/src/examples/hash/md2.c
123
fill = (u16)(MD2_BLOCK_SIZE - left);
crypto/libecc/src/examples/hash/md2.c
136
while (remain_ilen >= MD2_BLOCK_SIZE) {
crypto/libecc/src/examples/hash/md2.c
138
data_ptr += MD2_BLOCK_SIZE;
crypto/libecc/src/examples/hash/md2.c
139
remain_ilen -= MD2_BLOCK_SIZE;
crypto/libecc/src/examples/hash/md2.c
163
pad_byte = (u8)(MD2_BLOCK_SIZE - (ctx->md2_total % MD2_BLOCK_SIZE));
crypto/libecc/src/examples/hash/md2.c
164
for(i = (ctx->md2_total % MD2_BLOCK_SIZE); i < MD2_BLOCK_SIZE; i++){
crypto/libecc/src/examples/hash/md2.c
37
const u8 data[MD2_BLOCK_SIZE])
crypto/libecc/src/examples/hash/md2.c
41
u8 x[3 * MD2_BLOCK_SIZE];
crypto/libecc/src/examples/hash/md2.c
47
ret = local_memcpy(&x[0], ctx->md2_state, MD2_BLOCK_SIZE); EG(ret, err);
crypto/libecc/src/examples/hash/md2.c
48
ret = local_memcpy(&x[MD2_BLOCK_SIZE], data, MD2_BLOCK_SIZE); EG(ret, err);
crypto/libecc/src/examples/hash/md2.c
49
for(i = 0; i < MD2_BLOCK_SIZE; i++){
crypto/libecc/src/examples/hash/md2.c
50
x[(2 * MD2_BLOCK_SIZE) + i] = (ctx->md2_state[i] ^ data[i]);
crypto/libecc/src/examples/hash/md2.c
55
for (j = 0; j < (3 * MD2_BLOCK_SIZE); j++){
crypto/libecc/src/examples/hash/md2.c
62
ret = local_memcpy(ctx->md2_state, &x[0], MD2_BLOCK_SIZE); EG(ret, err);
crypto/libecc/src/examples/hash/md2.c
64
t = ctx->md2_checksum[MD2_BLOCK_SIZE - 1];
crypto/libecc/src/examples/hash/md2.c
65
for(i = 0; i < MD2_BLOCK_SIZE; i++){
crypto/libecc/src/examples/hash/md2.h
32
u8 md2_buffer[MD2_BLOCK_SIZE];
crypto/libecc/src/examples/hash/md2.h
34
u8 md2_checksum[MD2_BLOCK_SIZE];