Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/include/libecc/hash/
H A Dsha256.h28 #define SHA256_DIGEST_SIZE 32 macro
35 #if (MAX_DIGEST_SIZE < SHA256_DIGEST_SIZE)
37 #define MAX_DIGEST_SIZE SHA256_DIGEST_SIZE
73 ATTRIBUTE_WARN_UNUSED_RET int sha256_final(sha256_context *ctx, u8 output[SHA256_DIGEST_SIZE]);
75 u8 output[SHA256_DIGEST_SIZE]);
76 ATTRIBUTE_WARN_UNUSED_RET int sha256(const u8 *input, u32 ilen, u8 output[SHA256_DIGEST_SIZE]);
H A Dhash_algs.h276 .digest_size = SHA256_DIGEST_SIZE,
/freebsd/contrib/unbound/validator/
H A Dval_secalgo.c1515 case SHA256_DIGEST_SIZE: in _digest_nettle()
1520 sha256_digest(&ctx, SHA256_DIGEST_SIZE, res); in _digest_nettle()
1574 _digest_nettle(SHA256_DIGEST_SIZE, (uint8_t*)buf, len, res); in secalgo_hash_sha256()
1671 return SHA256_DIGEST_SIZE; in ds_digest_size_supported()
1696 return _digest_nettle(SHA256_DIGEST_SIZE, buf, len, res); in secalgo_ds_digest()
1892 case SHA256_DIGEST_SIZE: in _verify_nettle_rsa()
1894 uint8_t digest[SHA256_DIGEST_SIZE]; in _verify_nettle_rsa()
1895 res = _digest_nettle(SHA256_DIGEST_SIZE, (unsigned char*)sldns_buffer_begin(buf), in _verify_nettle_rsa()
1939 case SHA256_DIGEST_SIZE: in _verify_nettle_ecdsa()
1941 uint8_t digest[SHA256_DIGEST_SIZE]; in _verify_nettle_ecdsa()
[all …]
/freebsd/crypto/libecc/src/hash/
H A Dsha256.c145 int sha256_final(sha256_context *ctx, u8 output[SHA256_DIGEST_SIZE]) in sha256_final() argument
202 u8 output[SHA256_DIGEST_SIZE]) in sha256_scattered() argument
222 int sha256(const u8 *input, u32 ilen, u8 output[SHA256_DIGEST_SIZE]) in sha256() argument
/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_nettle.c172 hmac_sha256_digest(&ctx, SHA256_DIGEST_SIZE, mac); in hmac_sha256_vector()
/freebsd/crypto/libecc/src/sig/
H A Dbip0340.c704 MUST_HAVE((seedlen == SHA256_DIGEST_SIZE) && (scalar_len <= CHACHA20_MAX_ASKED_LEN), ret, err); in _bip0340_compute_batch_csprng_one_scalar()
831 u8 chacha20_seed[SHA256_DIGEST_SIZE]; in _bip0340_verify_batch_no_memory()
1054 u8 chacha20_seed[SHA256_DIGEST_SIZE]; in _bip0340_verify_batch()
/freebsd/crypto/libecc/src/examples/sss/
H A Dsss.c440 MUST_HAVE((SHA256_DIGEST_SIZE >= sizeof(shares[0].raw_share_hmac)), ret, err); in sss_generate()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_digest.c930 sha256_digest(ctx, SHA256_DIGEST_SIZE, md); in __archive_sha256final()