Symbol: BELT_HASH_BLOCK_SIZE
crypto/libecc/include/libecc/hash/belt-hash.h
127
#if (MAX_BLOCK_SIZE < BELT_HASH_BLOCK_SIZE)
crypto/libecc/include/libecc/hash/belt-hash.h
129
#define MAX_BLOCK_SIZE BELT_HASH_BLOCK_SIZE
crypto/libecc/include/libecc/hash/belt-hash.h
140
u8 belt_hash_state[BELT_HASH_BLOCK_SIZE];
crypto/libecc/include/libecc/hash/belt-hash.h
142
u8 belt_hash_h[BELT_HASH_BLOCK_SIZE];
crypto/libecc/include/libecc/hash/belt-hash.h
144
u8 belt_hash_buffer[BELT_HASH_BLOCK_SIZE];
crypto/libecc/include/libecc/hash/hash_algs.h
473
.block_size = BELT_HASH_BLOCK_SIZE,
crypto/libecc/include/libecc/hash/hash_algs.h
98
#ifdef BELT_HASH_BLOCK_SIZE
crypto/libecc/src/hash/belt-hash.c
269
ATTRIBUTE_WARN_UNUSED_RET static int belt_hash_process(belt_hash_context *ctx, const u8 data[BELT_HASH_BLOCK_SIZE])
crypto/libecc/src/hash/belt-hash.c
350
left = (ctx->belt_hash_total & (BELT_HASH_BLOCK_SIZE - 1));
crypto/libecc/src/hash/belt-hash.c
351
fill = (u16)(BELT_HASH_BLOCK_SIZE - left);
crypto/libecc/src/hash/belt-hash.c
359
belt_update_ctr(ctx, BELT_HASH_BLOCK_SIZE);
crypto/libecc/src/hash/belt-hash.c
367
while (remain_ilen >= BELT_HASH_BLOCK_SIZE) {
crypto/libecc/src/hash/belt-hash.c
369
belt_update_ctr(ctx, BELT_HASH_BLOCK_SIZE);
crypto/libecc/src/hash/belt-hash.c
372
data_ptr += BELT_HASH_BLOCK_SIZE;
crypto/libecc/src/hash/belt-hash.c
373
remain_ilen -= BELT_HASH_BLOCK_SIZE;
crypto/libecc/src/hash/belt-hash.c
395
if((ctx->belt_hash_total % BELT_HASH_BLOCK_SIZE) != 0){
crypto/libecc/src/hash/belt-hash.c
397
for(i = (ctx->belt_hash_total % BELT_HASH_BLOCK_SIZE); i < BELT_HASH_BLOCK_SIZE; i++){
crypto/libecc/src/hash/belt-hash.c
402
belt_update_ctr(ctx, (u8)(ctx->belt_hash_total % BELT_HASH_BLOCK_SIZE));