Searched refs:crypto_shash_digestsize (Results 1 – 25 of 53) sorted by relevance
123
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()
127 memcpy(out, ctx->state, crypto_shash_digestsize(desc->tfm)); in s390_sha_final()
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()
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()
46 if (crypto_shash_digestsize(desc->tfm) == SHA224_DIGEST_SIZE) in crypto_sha256_final()
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()
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()
116 if (sizeof(intermediary) != crypto_shash_digestsize(desc->tfm)) { in jent_hash_time()
787 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()
90 crypto_shash_digestsize(tctx->hash)); in essiv_skcipher_setkey()123 crypto_shash_digestsize(tctx->hash)); in essiv_aead_setkey()
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()
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()
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()
298 if (shash_len != crypto_shash_digestsize(shash_tfm)) { in nvmet_auth_host_hash()301 crypto_shash_digestsize(shash_tfm)); in nvmet_auth_host_hash()412 if (shash_len != crypto_shash_digestsize(shash_tfm)) { in nvmet_auth_ctrl_hash()415 crypto_shash_digestsize(shash_tfm)); in nvmet_auth_ctrl_hash()
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()
35 …:functions: crypto_alloc_shash crypto_free_shash crypto_shash_blocksize crypto_shash_digestsize cr…
116 apparmor_hash_size = crypto_shash_digestsize(apparmor_tfm); in init_profile_hash()
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()
129 unsigned int digest_size = crypto_shash_digestsize(desc->tfm); in sha256_base_finish()
122 unsigned int digest_size = crypto_shash_digestsize(desc->tfm); in sha512_base_finish()
82 if (WARN_ON_ONCE(crypto_shash_digestsize(hmac_tfm) != sizeof(prk))) { in fscrypt_init_hkdf()
90 unsigned int outlen = crypto_shash_digestsize(desc->tfm); in crypto_blake2b_init()
395 blocksize = crypto_shash_digestsize(tfm); in krb5_kdf_feedback_cmac()527 K1.len = crypto_shash_digestsize(tfm); in krb5_kdf_hmac_sha2()
82 if (WARN_ON_ONCE(alg->digest_size != crypto_shash_digestsize(tfm))) in fsverity_get_hash_alg()
53 sig->digest_size = crypto_shash_digestsize(tfm); in x509_get_sig_params()