Home
last modified time | relevance | path

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

12

/Linux-v5.15/crypto/
Dhmac.c44 int ds = crypto_shash_digestsize(parent); in hmac_setkey()
116 int ds = crypto_shash_digestsize(parent); in hmac_final()
131 int ds = crypto_shash_digestsize(parent); in hmac_finup()
Dsha256_generic.c58 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-v5.15/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-v5.15/security/keys/
Ddh.c102 if (crypto_shash_digestsize(tfm) == 0) in kdf_alloc()
147 unsigned int h = crypto_shash_digestsize(desc->tfm); in kdf_ctr()
206 crypto_shash_digestsize(sdesc->shash.tfm)); in keyctl_dh_compute_kdf()
/Linux-v5.15/security/integrity/ima/
Dima_crypto.c466 hash->length = crypto_shash_digestsize(tfm); in ima_calc_file_hash_tfm()
729 hash->length = crypto_shash_digestsize(tfm); in calc_buffer_shash_tfm()
821 crypto_shash_digestsize(tfm)); in ima_calc_boot_aggregate_tfm()
835 crypto_shash_digestsize(tfm)); in ima_calc_boot_aggregate_tfm()
874 hash->length = crypto_shash_digestsize(tfm); in ima_calc_boot_aggregate()
/Linux-v5.15/Documentation/crypto/
Dapi-digest.rst35 …:functions: crypto_alloc_shash crypto_free_shash crypto_shash_blocksize crypto_shash_digestsize cr…
/Linux-v5.15/security/apparmor/
Dcrypto.c116 apparmor_hash_size = crypto_shash_digestsize(apparmor_tfm); in init_profile_hash()
/Linux-v5.15/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.h786 static inline unsigned int crypto_shash_digestsize(struct crypto_shash *tfm) in crypto_shash_digestsize() function
/Linux-v5.15/arch/s390/crypto/
Dsha_common.c115 memcpy(out, ctx->state, crypto_shash_digestsize(desc->tfm)); in s390_sha_final()
/Linux-v5.15/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-v5.15/fs/crypto/
Dhkdf.c77 if (WARN_ON(crypto_shash_digestsize(hmac_tfm) != sizeof(prk))) { in fscrypt_init_hkdf()
/Linux-v5.15/include/crypto/internal/
Dblake2b.h90 unsigned int outlen = crypto_shash_digestsize(desc->tfm); in crypto_blake2b_init()
Dblake2s.h94 unsigned int outlen = crypto_shash_digestsize(desc->tfm); in crypto_blake2s_init()
/Linux-v5.15/crypto/asymmetric_keys/
Dx509_public_key.c67 sig->digest_size = crypto_shash_digestsize(tfm); in x509_get_sig_params()
Dverify_pefile.c337 digest_size = crypto_shash_digestsize(tfm); in pefile_digest_pe()
Dpkcs7_verify.c48 sig->digest_size = crypto_shash_digestsize(tfm); in pkcs7_digest()
/Linux-v5.15/net/ipv6/
Dseg6_hmac.c132 dgsize = crypto_shash_digestsize(tfm); in __do_hmac()
/Linux-v5.15/security/integrity/evm/
Devm_crypto.c236 data->hdr.length = crypto_shash_digestsize(desc->tfm); in evm_calc_hmac_or_hash()
/Linux-v5.15/drivers/block/drbd/
Ddrbd_worker.c358 digest_size = crypto_shash_digestsize(peer_device->connection->csums_tfm); in w_e_send_csum()
1196 digest_size = crypto_shash_digestsize(peer_device->connection->csums_tfm); in w_e_end_csum_rs_req()
1246 digest_size = crypto_shash_digestsize(peer_device->connection->verify_tfm); in w_e_end_ov_req()
1318 digest_size = crypto_shash_digestsize(peer_device->connection->verify_tfm); in w_e_end_ov_reply()

12