Home
last modified time | relevance | path

Searched refs:crypto_shash_digestsize (Results 1 – 25 of 49) sorted by relevance

12

/linux-6.1.9/crypto/
Dkdf_sp800108.c23 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()
Dhmac.c45 int ds = crypto_shash_digestsize(parent); in hmac_setkey()
120 int ds = crypto_shash_digestsize(parent); in hmac_final()
135 int ds = crypto_shash_digestsize(parent); in hmac_finup()
Dsha256_generic.c46 if (crypto_shash_digestsize(desc->tfm) == SHA224_DIGEST_SIZE) in crypto_sha256_final()
Dsha3_generic.c164 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()
Dstreebog_generic.c911 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()
Dessiv.c90 crypto_shash_digestsize(tctx->hash)); in essiv_skcipher_setkey()
123 crypto_shash_digestsize(tctx->hash)); in essiv_aead_setkey()
Dccm.c789 int bs = crypto_shash_digestsize(pdesc->tfm); in crypto_cbcmac_digest_init()
805 int bs = crypto_shash_digestsize(parent); in crypto_cbcmac_digest_update()
831 int bs = crypto_shash_digestsize(parent); in crypto_cbcmac_digest_final()
/linux-6.1.9/arch/arm64/crypto/
Dsha3-ce-glue.c38 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.1.9/security/integrity/ima/
Dima_crypto.c467 hash->length = crypto_shash_digestsize(tfm); in ima_calc_file_hash_tfm()
730 hash->length = crypto_shash_digestsize(tfm); in calc_buffer_shash_tfm()
822 crypto_shash_digestsize(tfm)); in ima_calc_boot_aggregate_tfm()
836 crypto_shash_digestsize(tfm)); in ima_calc_boot_aggregate_tfm()
875 hash->length = crypto_shash_digestsize(tfm); in ima_calc_boot_aggregate()
/linux-6.1.9/drivers/nvme/target/
Dauth.c286 if (shash_len != crypto_shash_digestsize(shash_tfm)) { in nvmet_auth_host_hash()
289 crypto_shash_digestsize(shash_tfm)); in nvmet_auth_host_hash()
397 if (shash_len != crypto_shash_digestsize(shash_tfm)) { in nvmet_auth_ctrl_hash()
400 crypto_shash_digestsize(shash_tfm)); in nvmet_auth_ctrl_hash()
/linux-6.1.9/Documentation/crypto/
Dapi-digest.rst35 …:functions: crypto_alloc_shash crypto_free_shash crypto_shash_blocksize crypto_shash_digestsize cr…
/linux-6.1.9/security/keys/
Ddh.c94 if (crypto_shash_digestsize(tfm) == 0) { in kdf_alloc()
117 size_t outbuf_len = roundup(buflen, crypto_shash_digestsize(hash)); in keyctl_dh_compute_kdf()
/linux-6.1.9/security/apparmor/
Dcrypto.c116 apparmor_hash_size = crypto_shash_digestsize(apparmor_tfm); in init_profile_hash()
/linux-6.1.9/arch/s390/crypto/
Dsha_common.c115 memcpy(out, ctx->state, crypto_shash_digestsize(desc->tfm)); in s390_sha_final()
/linux-6.1.9/include/crypto/
Dsha256_base.h101 unsigned int digest_size = crypto_shash_digestsize(desc->tfm); in sha256_base_finish()
Dsha512_base.h122 unsigned int digest_size = crypto_shash_digestsize(desc->tfm); in sha512_base_finish()
Dhash.h788 static inline unsigned int crypto_shash_digestsize(struct crypto_shash *tfm) in crypto_shash_digestsize() function
/linux-6.1.9/fs/ubifs/
Dauth.c310 c->hash_len = crypto_shash_digestsize(c->hash_tfm); in ubifs_init_authentication()
325 c->hmac_desc_len = crypto_shash_digestsize(c->hmac_tfm); in ubifs_init_authentication()
/linux-6.1.9/fs/crypto/
Dhkdf.c82 if (WARN_ON(crypto_shash_digestsize(hmac_tfm) != sizeof(prk))) { in fscrypt_init_hkdf()
/linux-6.1.9/include/crypto/internal/
Dblake2b.h90 unsigned int outlen = crypto_shash_digestsize(desc->tfm); in crypto_blake2b_init()
/linux-6.1.9/crypto/asymmetric_keys/
Dx509_public_key.c55 sig->digest_size = crypto_shash_digestsize(tfm); in x509_get_sig_params()
Dpkcs7_verify.c48 sig->digest_size = crypto_shash_digestsize(tfm); in pkcs7_digest()
Dverify_pefile.c337 digest_size = crypto_shash_digestsize(tfm); in pefile_digest_pe()
/linux-6.1.9/net/ipv6/
Dseg6_hmac.c132 dgsize = crypto_shash_digestsize(tfm); in __do_hmac()
/linux-6.1.9/security/integrity/evm/
Devm_crypto.c233 data->hdr.length = crypto_shash_digestsize(desc->tfm); in evm_calc_hmac_or_hash()

12