Searched refs:SHA1_DIGEST_SIZE (Results 1 – 6 of 6) sorted by relevance
/freebsd/crypto/libecc/src/examples/hash/ |
H A D | sha1.h | 94 #define SHA1_DIGEST_SIZE 20 macro 118 ATTRIBUTE_WARN_UNUSED_RET int sha1_final(sha1_context *ctx, u8 output[SHA1_DIGEST_SIZE]); 127 u8 output[SHA1_DIGEST_SIZE]); 133 ATTRIBUTE_WARN_UNUSED_RET int sha1(const u8 *input, u32 ilen, u8 output[SHA1_DIGEST_SIZE]);
|
H A D | sha1.c | 101 MUST_HAVE((SHA1_DIGEST_SIZE <= MAX_DIGEST_SIZE), ret, err); in sha1_init() 168 ATTRIBUTE_WARN_UNUSED_RET int sha1_final(sha1_context *ctx, u8 output[SHA1_DIGEST_SIZE]) in sha1_final() argument 229 u8 output[SHA1_DIGEST_SIZE]) in sha1_scattered() argument 253 ATTRIBUTE_WARN_UNUSED_RET int sha1(const u8 *input, u32 ilen, u8 output[SHA1_DIGEST_SIZE]) in sha1() argument
|
H A D | hash.c | 201 (*hlen) = SHA1_DIGEST_SIZE; in gen_hash_get_hash_sizes()
|
/freebsd/contrib/unbound/validator/ |
H A D | val_secalgo.c | 1507 case SHA1_DIGEST_SIZE: in _digest_nettle() 1512 sha1_digest(&ctx, SHA1_DIGEST_SIZE, res); in _digest_nettle() 1551 return SHA1_DIGEST_SIZE; in nsec3_hash_algo_size_supported() 1564 return _digest_nettle(SHA1_DIGEST_SIZE, (uint8_t*)buf, len, in secalgo_nsec3_hash() 1664 return SHA1_DIGEST_SIZE; in ds_digest_size_supported() 1692 return _digest_nettle(SHA1_DIGEST_SIZE, buf, len, res); in secalgo_ds_digest() 1758 uint8_t digest[SHA1_DIGEST_SIZE]; in _verify_nettle_dsa() 1829 res = _digest_nettle(SHA1_DIGEST_SIZE, (unsigned char*)sldns_buffer_begin(buf), in _verify_nettle_dsa() 1884 case SHA1_DIGEST_SIZE: in _verify_nettle_rsa() 1886 uint8_t digest[SHA1_DIGEST_SIZE]; in _verify_nettle_rsa() [all …]
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | crypto_nettle.c | 145 hmac_sha1_digest(&ctx, SHA1_DIGEST_SIZE, mac); in hmac_sha1_vector()
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_digest.c | 662 sha1_digest(ctx, SHA1_DIGEST_SIZE, md); in __archive_sha1final()
|