Home
last modified time | relevance | path

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

123

/linux/crypto/
H A 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()
H A Dhmac.c35 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 Dsha256_generic.c46 if (crypto_shash_digestsize(desc->tfm) == SHA224_DIGEST_SIZE) in crypto_sha256_final()
H A 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()
H A 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()
H A Djitterentropy-kcapi.c116 if (sizeof(intermediary) != crypto_shash_digestsize(desc->tfm)) { in jent_hash_time()
H A Dessiv.c90 crypto_shash_digestsize(tctx->hash)); in essiv_skcipher_setkey()
123 crypto_shash_digestsize(tctx->hash)); in essiv_aead_setkey()
H A Dccm.c787 int bs = crypto_shash_digestsize(pdesc->tfm); in crypto_cbcmac_digest_init()
802 int bs = crypto_shash_digestsize(parent); in crypto_cbcmac_digest_update()
827 int bs = crypto_shash_digestsize(parent); in crypto_cbcmac_digest_final()
/linux/arch/arm64/crypto/
H A 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/security/integrity/ima/
H A Dima_crypto.c462 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/drivers/nvme/target/
H A Dauth.c285 if (shash_len != crypto_shash_digestsize(shash_tfm)) { in nvmet_auth_host_hash()
288 crypto_shash_digestsize(shash_tfm)); in nvmet_auth_host_hash()
398 if (shash_len != crypto_shash_digestsize(shash_tfm)) { in nvmet_auth_ctrl_hash()
401 crypto_shash_digestsize(shash_tfm)); in nvmet_auth_ctrl_hash()
/linux/security/keys/
H A Ddh.c78 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/Documentation/crypto/
H A Dapi-digest.rst35 …:functions: crypto_alloc_shash crypto_free_shash crypto_shash_blocksize crypto_shash_digestsize cr…
/linux/security/apparmor/
H A Dcrypto.c116 apparmor_hash_size = crypto_shash_digestsize(apparmor_tfm); in init_profile_hash()
/linux/arch/s390/crypto/
H A Dsha_common.c115 memcpy(out, ctx->state, crypto_shash_digestsize(desc->tfm)); in s390_sha_final()
/linux/fs/ubifs/
H A Dauth.c309 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/include/crypto/internal/
H A Dblake2b.h90 unsigned int outlen = crypto_shash_digestsize(desc->tfm); in crypto_blake2b_init()
/linux/fs/crypto/
H A Dhkdf.c82 if (WARN_ON_ONCE(crypto_shash_digestsize(hmac_tfm) != sizeof(prk))) { in fscrypt_init_hkdf()
/linux/include/crypto/
H A Dsha256_base.h129 unsigned int digest_size = crypto_shash_digestsize(desc->tfm); in sha256_base_finish()
H A Dsha512_base.h122 unsigned int digest_size = crypto_shash_digestsize(desc->tfm); in sha512_base_finish()
H A Dhash.h745 static inline unsigned int crypto_shash_digestsize(struct crypto_shash *tfm) in crypto_shash_digestsize() function
/linux/net/sunrpc/auth_gss/
H A Dgss_krb5_keys.c395 blocksize = crypto_shash_digestsize(tfm); in krb5_kdf_feedback_cmac()
527 K1.len = crypto_shash_digestsize(tfm); in krb5_kdf_hmac_sha2()
/linux/fs/verity/
H A Dhash_algs.c82 if (WARN_ON_ONCE(alg->digest_size != crypto_shash_digestsize(tfm))) in fsverity_get_hash_alg()
/linux/crypto/asymmetric_keys/
H A Dx509_public_key.c54 sig->digest_size = crypto_shash_digestsize(tfm); in x509_get_sig_params()
H A Dpkcs7_verify.c48 sig->digest_size = crypto_shash_digestsize(tfm); in pkcs7_digest()

123