/openbmc/linux/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 | 45 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()
|
H A D | sha256_generic.c | 46 if (crypto_shash_digestsize(desc->tfm) == SHA224_DIGEST_SIZE) in crypto_sha256_final()
|
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()
|
H A D | jitterentropy-kcapi.c | 106 if (sizeof(intermediary) != crypto_shash_digestsize(desc->tfm)) { in jent_hash_time()
|
H A D | essiv.c | 90 crypto_shash_digestsize(tctx->hash)); in essiv_skcipher_setkey() 123 crypto_shash_digestsize(tctx->hash)); in essiv_aead_setkey()
|
H A D | ccm.c | 788 int bs = crypto_shash_digestsize(pdesc->tfm); in crypto_cbcmac_digest_init() 804 int bs = crypto_shash_digestsize(parent); in crypto_cbcmac_digest_update() 830 int bs = crypto_shash_digestsize(parent); in crypto_cbcmac_digest_final()
|
/openbmc/linux/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()
|
/openbmc/linux/security/integrity/ima/ |
H A D | ima_crypto.c | 467 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()
|
/openbmc/linux/drivers/nvme/target/ |
H A D | auth.c | 286 if (shash_len != crypto_shash_digestsize(shash_tfm)) { in nvmet_auth_host_hash() 289 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()
|
/openbmc/linux/Documentation/crypto/ |
H A D | api-digest.rst | 35 …:functions: crypto_alloc_shash crypto_free_shash crypto_shash_blocksize crypto_shash_digestsize cr…
|
/openbmc/linux/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()
|
/openbmc/linux/security/apparmor/ |
H A D | crypto.c | 116 apparmor_hash_size = crypto_shash_digestsize(apparmor_tfm); in init_profile_hash()
|
/openbmc/linux/arch/s390/crypto/ |
H A D | sha_common.c | 115 memcpy(out, ctx->state, crypto_shash_digestsize(desc->tfm)); in s390_sha_final()
|
/openbmc/linux/include/crypto/internal/ |
H A D | blake2b.h | 90 unsigned int outlen = crypto_shash_digestsize(desc->tfm); in crypto_blake2b_init()
|
/openbmc/linux/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()
|
/openbmc/linux/fs/crypto/ |
H A D | hkdf.c | 82 if (WARN_ON_ONCE(crypto_shash_digestsize(hmac_tfm) != sizeof(prk))) { in fscrypt_init_hkdf()
|
/openbmc/linux/fs/ubifs/ |
H A D | auth.c | 310 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()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/crypto/asymmetric_keys/ |
H A D | x509_public_key.c | 54 sig->digest_size = crypto_shash_digestsize(tfm); in x509_get_sig_params()
|
H A D | pkcs7_verify.c | 48 sig->digest_size = crypto_shash_digestsize(tfm); in pkcs7_digest()
|
/openbmc/linux/security/integrity/evm/ |
H A D | evm_crypto.c | 243 data->hdr.length = crypto_shash_digestsize(desc->tfm); in evm_calc_hmac_or_hash()
|