| /linux-6.15/crypto/ |
| H A D | kdf_sp800108.c | 23 const unsigned int h = crypto_shash_digestsize(kmd), dlen_orig = dlen; in crypto_kdf108_ctr_generate() 81 unsigned int ds = crypto_shash_digestsize(kmd); in crypto_kdf108_setkey()
|
| H A D | hmac.c | 35 int ds = crypto_shash_digestsize(parent); in hmac_setkey() 111 int ds = crypto_shash_digestsize(parent); in hmac_final() 127 int ds = crypto_shash_digestsize(parent); in hmac_finup()
|
| H A D | sha256_generic.c | 46 if (crypto_shash_digestsize(desc->tfm) == SHA224_DIGEST_SIZE) in crypto_sha256_final()
|
| H A D | hkdf.c | 79 unsigned int i, hashlen = crypto_shash_digestsize(hmac_tfm); in hkdf_expand() 479 prk_size = crypto_shash_digestsize(tfm); in hkdf_test()
|
| H A D | sha3_generic.c | 164 unsigned int digest_size = crypto_shash_digestsize(desc->tfm); in crypto_sha3_init() 217 unsigned int digest_size = crypto_shash_digestsize(desc->tfm); in crypto_sha3_final()
|
| H A D | streebog_generic.c | 911 unsigned int digest_size = crypto_shash_digestsize(desc->tfm); in streebog_init() 1042 if (crypto_shash_digestsize(desc->tfm) == STREEBOG256_DIGEST_SIZE) in streebog_final()
|
| /linux-6.15/arch/s390/crypto/ |
| H A D | hmac_s390.c | 158 unsigned int ds = crypto_shash_digestsize(tfm); in s390_hmac_sha2_setkey() 181 switch (crypto_shash_digestsize(desc->tfm)) { in s390_hmac_sha2_init() 248 memcpy(out, ctx->param, crypto_shash_digestsize(desc->tfm)); in s390_hmac_sha2_final() 257 unsigned int ds = crypto_shash_digestsize(desc->tfm); in s390_hmac_sha2_digest()
|
| H A D | sha_common.c | 127 memcpy(out, ctx->state, crypto_shash_digestsize(desc->tfm)); in s390_sha_final()
|
| /linux-6.15/arch/arm64/crypto/ |
| H A D | sha3-ce-glue.c | 38 unsigned int digest_size = crypto_shash_digestsize(desc->tfm); in sha3_update() 84 unsigned int digest_size = crypto_shash_digestsize(desc->tfm); in sha3_final()
|
| /linux-6.15/security/ipe/ |
| H A D | audit.c | 193 digest = kzalloc(crypto_shash_digestsize(tfm), GFP_KERNEL); in audit_policy() 209 audit_log_n_hex(ab, digest, crypto_shash_digestsize(tfm)); in audit_policy()
|
| /linux-6.15/security/integrity/ima/ |
| H A D | ima_crypto.c | 462 hash->length = crypto_shash_digestsize(tfm); in ima_calc_file_hash_tfm() 725 hash->length = crypto_shash_digestsize(tfm); in calc_buffer_shash_tfm() 817 crypto_shash_digestsize(tfm)); in ima_calc_boot_aggregate_tfm() 831 crypto_shash_digestsize(tfm)); in ima_calc_boot_aggregate_tfm() 870 hash->length = crypto_shash_digestsize(tfm); in ima_calc_boot_aggregate()
|
| /linux-6.15/crypto/krb5/ |
| H A D | rfc6803_camellia.c | 48 K.len = crypto_shash_digestsize(shash); in rfc6803_calc_KDF_FEEDBACK_CMAC() 136 if (result->len != crypto_shash_digestsize(shash)) in rfc6803_calc_PRF()
|
| H A D | rfc8009_aes2.c | 56 if (WARN_ON(crypto_shash_digestsize(shash) * 8 < k)) in rfc8009_calc_KDF_HMAC_SHA2() 92 K1.len = crypto_shash_digestsize(shash); in rfc8009_calc_KDF_HMAC_SHA2()
|
| /linux-6.15/drivers/nvme/target/ |
| H A D | auth.c | 313 if (shash_len != crypto_shash_digestsize(shash_tfm)) { in nvmet_auth_host_hash() 316 crypto_shash_digestsize(shash_tfm)); in nvmet_auth_host_hash() 427 if (shash_len != crypto_shash_digestsize(shash_tfm)) { in nvmet_auth_ctrl_hash() 430 crypto_shash_digestsize(shash_tfm)); in nvmet_auth_ctrl_hash()
|
| /linux-6.15/drivers/nvme/common/ |
| H A D | auth.c | 278 key_len = crypto_shash_digestsize(key_tfm); in nvme_auth_transform_key() 523 psk_len = crypto_shash_digestsize(tfm); in nvme_auth_generate_psk() 641 digest_len = crypto_shash_digestsize(tfm); in nvme_auth_generate_digest() 752 prk_len = crypto_shash_digestsize(hmac_tfm); in nvme_auth_derive_tls_psk()
|
| /linux-6.15/security/keys/ |
| H A D | dh.c | 78 if (crypto_shash_digestsize(tfm) == 0) { in kdf_alloc() 101 size_t outbuf_len = roundup(buflen, crypto_shash_digestsize(hash)); in keyctl_dh_compute_kdf()
|
| /linux-6.15/fs/crypto/ |
| H A D | hkdf.c | 66 if (WARN_ON_ONCE(crypto_shash_digestsize(hmac_tfm) != sizeof(prk))) { in fscrypt_init_hkdf()
|
| /linux-6.15/Documentation/crypto/ |
| H A D | api-digest.rst | 35 …:functions: crypto_alloc_shash crypto_free_shash crypto_shash_blocksize crypto_shash_digestsize cr…
|
| /linux-6.15/security/apparmor/ |
| H A D | crypto.c | 116 apparmor_hash_size = crypto_shash_digestsize(apparmor_tfm); in init_profile_hash()
|
| /linux-6.15/fs/ubifs/ |
| H A D | auth.c | 309 c->hash_len = crypto_shash_digestsize(c->hash_tfm); in ubifs_init_authentication() 324 c->hmac_desc_len = crypto_shash_digestsize(c->hmac_tfm); in ubifs_init_authentication()
|
| /linux-6.15/include/crypto/ |
| H A D | sha256_base.h | 129 unsigned int digest_size = crypto_shash_digestsize(desc->tfm); in sha256_base_finish()
|
| H A D | sha512_base.h | 122 unsigned int digest_size = crypto_shash_digestsize(desc->tfm); in sha512_base_finish()
|
| /linux-6.15/include/crypto/internal/ |
| H A D | blake2b.h | 90 unsigned int outlen = crypto_shash_digestsize(desc->tfm); in crypto_blake2b_init()
|
| /linux-6.15/net/sunrpc/auth_gss/ |
| H A D | gss_krb5_keys.c | 395 blocksize = crypto_shash_digestsize(tfm); in krb5_kdf_feedback_cmac() 527 K1.len = crypto_shash_digestsize(tfm); in krb5_kdf_hmac_sha2()
|
| /linux-6.15/fs/verity/ |
| H A D | hash_algs.c | 82 if (WARN_ON_ONCE(alg->digest_size != crypto_shash_digestsize(tfm))) in fsverity_get_hash_alg()
|