Searched refs:BELT_HASH_DIGEST_SIZE (Results 1 – 4 of 4) sorted by relevance
/freebsd/crypto/libecc/include/libecc/hash/ |
H A D | belt-hash.h | 104 #define BELT_HASH_DIGEST_SIZE 32 macro 111 #if (MAX_DIGEST_SIZE < BELT_HASH_DIGEST_SIZE) 113 #define MAX_DIGEST_SIZE BELT_HASH_DIGEST_SIZE 158 …BUTE_WARN_UNUSED_RET int belt_hash_final(belt_hash_context *ctx, u8 output[BELT_HASH_DIGEST_SIZE]); 160 u8 output[BELT_HASH_DIGEST_SIZE]); 161 ATTRIBUTE_WARN_UNUSED_RET int belt_hash(const u8 *input, u32 ilen, u8 output[BELT_HASH_DIGEST_SIZE]…
|
H A D | hash_algs.h | 472 .digest_size = BELT_HASH_DIGEST_SIZE,
|
/freebsd/crypto/libecc/src/sig/ |
H A D | bign_common.c | 205 u8 theta[BELT_HASH_DIGEST_SIZE]; in __bign_determinitic_nonce() 206 u8 FE2OS_D[LOCAL_MAX(BYTECEIL(CURVES_MAX_Q_BIT_LEN), 2 * BELT_HASH_DIGEST_SIZE)]; in __bign_determinitic_nonce() 250 dbg_buf_print("theta", theta, BELT_HASH_DIGEST_SIZE); in __bign_determinitic_nonce() 475 u8 hash_belt[BELT_HASH_DIGEST_SIZE]; in __bign_sign_finalize() 644 ret = local_memcpy(&sig[0], &hash_belt[0], LOCAL_MIN(l, BELT_HASH_DIGEST_SIZE)); EG(ret, err); in __bign_sign_finalize() 645 dbg_buf_print("s0", &sig[0], LOCAL_MIN(l, BELT_HASH_DIGEST_SIZE)); in __bign_sign_finalize() 849 u8 hash_belt[BELT_HASH_DIGEST_SIZE]; in __bign_verify_finalize() 957 ret = local_memcpy(&t[0], &hash_belt[0], LOCAL_MIN(l, BELT_HASH_DIGEST_SIZE)); EG(ret, err); in __bign_verify_finalize()
|
/freebsd/crypto/libecc/src/hash/ |
H A D | belt-hash.c | 387 int belt_hash_final(belt_hash_context *ctx, u8 output[BELT_HASH_DIGEST_SIZE]) in belt_hash_final() argument 427 u8 output[BELT_HASH_DIGEST_SIZE]) in belt_hash_scattered() argument 451 int belt_hash(const u8 *input, u32 ilen, u8 output[BELT_HASH_DIGEST_SIZE]) in belt_hash() argument
|