Searched refs:digest_size (Results 1 – 9 of 9) sorted by relevance
/crypto/asymmetric_keys/ |
D | verify_pefile.c | 323 size_t digest_size, desc_size; in pefile_digest_pe() local 337 digest_size = crypto_shash_digestsize(tfm); in pefile_digest_pe() 339 if (digest_size != ctx->digest_len) { in pefile_digest_pe() 341 digest_size, ctx->digest_len); in pefile_digest_pe() 345 pr_debug("Digest: desc=%zu size=%zu\n", desc_size, digest_size); in pefile_digest_pe() 348 desc = kzalloc(desc_size + digest_size, GFP_KERNEL); in pefile_digest_pe()
|
D | x509_public_key.c | 64 sig->digest_size = crypto_shash_digestsize(tfm); in x509_get_sig_params() 67 sig->digest = kmalloc(sig->digest_size, GFP_KERNEL); in x509_get_sig_params() 81 ret = is_hash_blacklisted(sig->digest, sig->digest_size, "tbs"); in x509_get_sig_params() 84 sig->digest_size, sig->digest); in x509_get_sig_params()
|
D | pkcs7_verify.c | 48 sig->digest_size = crypto_shash_digestsize(tfm); in pkcs7_digest() 51 sig->digest = kmalloc(sig->digest_size, GFP_KERNEL); in pkcs7_digest() 81 if (sinfo->msgdigest_len != sig->digest_size) { in pkcs7_digest() 101 memset(sig->digest, 0, sig->digest_size); in pkcs7_digest() 142 *len = sinfo->sig->digest_size; in pkcs7_get_digest()
|
D | public_key.c | 303 sg_set_buf(&src_sg[1], sig->digest, sig->digest_size); in public_key_verify_signature() 305 sig->digest_size); in public_key_verify_signature()
|
D | asym_tpm.c | 792 sg_set_buf(&src_sg[1], sig->digest, sig->digest_size); in tpm_key_verify_signature() 794 sig->digest_size); in tpm_key_verify_signature()
|
D | asymmetric_type.c | 567 .digest_size = params->in_len, in asymmetric_key_verify_signature()
|
/crypto/ |
D | sha3_generic.c | 164 unsigned int digest_size = crypto_shash_digestsize(desc->tfm); in crypto_sha3_init() local 166 sctx->rsiz = 200 - 2 * digest_size; in crypto_sha3_init() 217 unsigned int digest_size = crypto_shash_digestsize(desc->tfm); in crypto_sha3_final() local 229 for (i = 0; i < digest_size / 8; i++) in crypto_sha3_final() 232 if (digest_size & 4) in crypto_sha3_final()
|
D | rsa-pkcs1pad.c | 387 unsigned int ps_end, digest_size = 0; in pkcs1pad_sign() local 393 digest_size = digest_info->size; in pkcs1pad_sign() 395 if (req->src_len + digest_size > ctx->key_size - 11) in pkcs1pad_sign() 408 ps_end = ctx->key_size - digest_size - req->src_len - 2; in pkcs1pad_sign()
|
D | streebog_generic.c | 911 unsigned int digest_size = crypto_shash_digestsize(desc->tfm); in streebog_init() local 916 if (digest_size == STREEBOG256_DIGEST_SIZE) in streebog_init()
|