Home
last modified time | relevance | path

Searched refs:digest_len (Results 1 – 17 of 17) sorted by relevance

/linux-6.3-rc2/tools/build/feature/
A Dtest-libcrypto.c11 unsigned int digest_len; in main() local
19 EVP_DigestFinal_ex(mdctx, &md[0], &digest_len); in main()
/linux-6.3-rc2/crypto/asymmetric_keys/
A Dverify_pefile.c339 if (digest_size != ctx->digest_len) { in pefile_digest_pe()
341 digest_size, ctx->digest_len); in pefile_digest_pe()
366 pr_debug("Digest calc = [%*ph]\n", ctx->digest_len, digest); in pefile_digest_pe()
371 if (memcmp(digest, ctx->digest, ctx->digest_len) != 0) { in pefile_digest_pe()
442 ctx.digest_len, ctx.digest_len, ctx.digest); in verify_pefile_signature()
A Dverify_pefile.h24 unsigned digest_len; /* Digest length */ member
A Dmscode_parser.c126 ctx->digest_len = vlen; in mscode_note_digest()
/linux-6.3-rc2/crypto/
A Decrdsa.c39 unsigned int digest_len; /* parameter (bytes) */ member
96 req->dst_len != ctx->digest_len || in ecrdsa_verify()
211 ctx->digest_len = 256 / 8; in ecrdsa_set_pub_key()
215 ctx->digest_len = 512 / 8; in ecrdsa_set_pub_key()
229 ctx->curve->g.ndigits * sizeof(u64) != ctx->digest_len) in ecrdsa_set_pub_key()
/linux-6.3-rc2/include/linux/
A Dima.h42 bool hash, u8 *digest, size_t digest_len);
138 size_t digest_len) in ima_measure_critical_data() argument
/linux-6.3-rc2/include/scsi/
A Dlibiscsi_tcp.h34 unsigned int digest_len; member
/linux-6.3-rc2/security/integrity/ima/
A Dima_main.c914 bool buf_hash, u8 *digest, size_t digest_len) in process_buffer_measurement() argument
932 if (digest && digest_len < digest_hash_len) in process_buffer_measurement()
1062 bool hash, u8 *digest, size_t digest_len) in ima_measure_critical_data() argument
1070 digest_len); in ima_measure_critical_data()
A Dima.h276 bool buf_hash, u8 *digest, size_t digest_len);
/linux-6.3-rc2/security/keys/trusted-keys/
A Dtrusted_tpm1.c742 unsigned int digest_len; in getoptions() local
844 digest_len = hash_digest_size[opt->hash]; in getoptions()
845 if (!tpm2 || strlen(args[0].from) != (2 * digest_len)) in getoptions()
848 digest_len); in getoptions()
851 opt->policydigest_len = digest_len; in getoptions()
/linux-6.3-rc2/drivers/crypto/
A Dixp4xx_crypto.c735 const u8 *key, int key_len, unsigned int digest_len) in setup_auth() argument
758 memcpy(cinfo, algo->icv, digest_len); in setup_auth()
759 cinfo += digest_len; in setup_auth()
763 otarget = itarget + digest_len; in setup_auth()
1203 unsigned int digest_len = crypto_aead_maxauthsize(tfm); in aead_setup() local
1221 ctx->authkey_len, digest_len); in aead_setup()
1225 ctx->authkey_len, digest_len); in aead_setup()
/linux-6.3-rc2/drivers/scsi/
A Dlibiscsi_tcp.c166 segment->digest_len = ISCSI_DIGEST_SIZE; in iscsi_tcp_segment_splice_digest()
329 if (!segment->digest_len) in iscsi_tcp_dgst_verify()
333 segment->digest_len)) { in iscsi_tcp_dgst_verify()
870 if (segment->digest_len == 0) { in iscsi_tcp_hdr_recv_done()
/linux-6.3-rc2/drivers/crypto/amcc/
A Dcrypto4xx_sa.h93 u32 digest_len:4; member
A Dcrypto4xx_alg.c458 sa->sa_command_0.bf.digest_len = crypto_aead_authsize(aead) >> 2; in crypto4xx_crypt_aes_ccm()
675 sa->sa_command_0.bf.digest_len = ds >> 2; in crypto4xx_hash_init()
/linux-6.3-rc2/drivers/crypto/ccp/
A Dccp-ops.c1542 unsigned int digest_len; in ccp_run_sha_cmd() local
1564 digest_len = SHA1_DIGEST_SIZE; in ccp_run_sha_cmd()
1568 digest_len = SHA224_DIGEST_SIZE; in ccp_run_sha_cmd()
1572 digest_len = SHA256_DIGEST_SIZE; in ccp_run_sha_cmd()
1579 digest_len, 1); in ccp_run_sha_cmd()
/linux-6.3-rc2/drivers/nvme/target/
A Dtcp.c286 u8 digest_len = nvmet_tcp_hdgst_len(queue); in nvmet_tcp_check_ddgst() local
290 (hdr->flags & NVME_TCP_F_HDGST ? digest_len : 0); in nvmet_tcp_check_ddgst()
/linux-6.3-rc2/drivers/nvme/host/
A Dtcp.c437 u8 digest_len = nvme_tcp_hdgst_len(queue); in nvme_tcp_check_ddgst() local
441 ((hdr->flags & NVME_TCP_F_HDGST) ? digest_len : 0); in nvme_tcp_check_ddgst()

Completed in 42 milliseconds