Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/include/libecc/hash/
H A Dsha512.h29 #define SHA512_DIGEST_SIZE SHA512_CORE_DIGEST_SIZE macro
36 #if (MAX_DIGEST_SIZE < SHA512_DIGEST_SIZE)
38 #define MAX_DIGEST_SIZE SHA512_DIGEST_SIZE
65 ATTRIBUTE_WARN_UNUSED_RET int sha512_final(sha512_context *ctx, u8 output[SHA512_DIGEST_SIZE]);
67 u8 output[SHA512_DIGEST_SIZE]);
68 ATTRIBUTE_WARN_UNUSED_RET int sha512(const u8 *input, u32 ilen, u8 output[SHA512_DIGEST_SIZE]);
H A Dhash_algs.h304 .digest_size = SHA512_DIGEST_SIZE,
/freebsd/crypto/libecc/src/hash/
H A Dsha512.c61 int sha512_final(sha512_context *ctx, u8 output[SHA512_DIGEST_SIZE]) in sha512_final() argument
67 ret = sha512_core_final(ctx, output, SHA512_DIGEST_SIZE); EG(ret, err); in sha512_final()
84 u8 output[SHA512_DIGEST_SIZE]) in sha512_scattered() argument
106 int sha512(const u8 *input, u32 ilen, u8 output[SHA512_DIGEST_SIZE]) in sha512() argument
/freebsd/crypto/libecc/include/libecc/nn/
H A Dnn_config.h143 #if NN_MAX_BIT_LEN < MAX_BIT_LEN_ROUNDING((8 * SHA512_DIGEST_SIZE), WORD_BITS)
145 #define NN_MAX_BIT_LEN MAX_BIT_LEN_ROUNDING((8 * SHA512_DIGEST_SIZE), WORD_BITS)
/freebsd/contrib/unbound/validator/
H A Dval_secalgo.c1531 case SHA512_DIGEST_SIZE: in _digest_nettle()
1536 sha512_digest(&ctx, SHA512_DIGEST_SIZE, res); in _digest_nettle()
1632 if(SHA512_DIGEST_SIZE > maxlen) { in secalgo_hash_final()
1637 *resultlen = SHA512_DIGEST_SIZE; in secalgo_hash_final()
1638 sha512_digest(&hash->ctx512, SHA512_DIGEST_SIZE, in secalgo_hash_final()
1900 case SHA512_DIGEST_SIZE: in _verify_nettle_rsa()
1902 uint8_t digest[SHA512_DIGEST_SIZE]; in _verify_nettle_rsa()
1903 res = _digest_nettle(SHA512_DIGEST_SIZE, (unsigned char*)sldns_buffer_begin(buf), in _verify_nettle_rsa()
2072 digest_size = (digest_size ? digest_size : SHA512_DIGEST_SIZE); in verify_canonrrset()
/freebsd/crypto/libecc/src/examples/sss/
H A Dsss.c88 u8 hmac_val[SHA512_DIGEST_SIZE]; in _sss_derive_seed()
94 MUST_HAVE((SHA512_DIGEST_SIZE >= (2 * SSS_SECRET_SIZE)), ret, err); in _sss_derive_seed()
/freebsd/contrib/unbound/compat/
H A Dgetentropy_linux.c60 #define SHA512_Final(r, c) sha512_digest(c, SHA512_DIGEST_SIZE, r)
/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_nettle.c230 hmac_sha512_digest(&ctx, SHA512_DIGEST_SIZE, mac); in hmac_sha512_vector()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_digest.c1434 sha512_digest(ctx, SHA512_DIGEST_SIZE, md); in __archive_sha512final()