Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/src/sig/
H A Dbign_common.c475 u8 hash_belt[BELT_HASH_DIGEST_SIZE]; in __bign_sign_finalize() local
641 ret = local_memset(hash_belt, 0, sizeof(hash_belt)); EG(ret, err); in __bign_sign_finalize()
642 ret = belt_hash_final(&belt_hash_ctx, hash_belt); EG(ret, err); 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()
849 u8 hash_belt[BELT_HASH_DIGEST_SIZE]; in __bign_verify_finalize() local
954 ret = local_memset(hash_belt, 0, sizeof(hash_belt)); EG(ret, err); in __bign_verify_finalize()
955 ret = belt_hash_final(&belt_hash_ctx, hash_belt); EG(ret, err); 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()