/kernel/linux/linux-5.10/security/keys/trusted-keys/ |
D | trusted_tpm2.c | 66 unsigned int blob_len; in tpm2_seal_trusted() local 145 blob_len = be32_to_cpup((__be32 *) &buf.data[TPM_HEADER_SIZE]); in tpm2_seal_trusted() 146 if (blob_len > MAX_BLOB_SIZE) { in tpm2_seal_trusted() 150 if (tpm_buf_length(&buf) < TPM_HEADER_SIZE + 4 + blob_len) { in tpm2_seal_trusted() 155 memcpy(payload->blob, &buf.data[TPM_HEADER_SIZE + 4], blob_len); in tpm2_seal_trusted() 156 payload->blob_len = blob_len; in tpm2_seal_trusted() 193 unsigned int blob_len; in tpm2_load_cmd() local 197 if (private_len > (payload->blob_len - 2)) in tpm2_load_cmd() 201 blob_len = private_len + public_len + 4; in tpm2_load_cmd() 202 if (blob_len > payload->blob_len) in tpm2_load_cmd() [all …]
|
D | trusted_tpm1.c | 682 p->key, p->key_len + 1, p->blob, &p->blob_len, in key_seal() 704 ret = tpm_unseal(&tb, o->keyhandle, o->keyauth, p->blob, p->blob_len, in key_unseal() 916 p->blob_len = strlen(c) / 2; in datablob_parse() 917 if (p->blob_len > MAX_BLOB_SIZE) in datablob_parse() 919 ret = hex2bin(p->blob, c, p->blob_len); in datablob_parse() 1180 if (buffer && buflen >= 2 * p->blob_len) { in trusted_read() 1182 for (i = 0; i < p->blob_len; i++) in trusted_read() 1185 return 2 * p->blob_len; in trusted_read()
|
/kernel/linux/linux-5.10/crypto/asymmetric_keys/ |
D | tpm_parser.c | 15 u32 blob_len; member 28 ctx->blob_len = vlen; in tpm_note_key() 48 return tpm_key_create(ctx.blob, ctx.blob_len); in tpm_parse()
|
D | asym_tpm.c | 303 tk->blob_len = 0; in asym_tpm_destroy() 529 tk->blob, tk->blob_len, &keyhandle); in tpm_key_decrypt() 677 tk->blob, tk->blob_len, &keyhandle); in tpm_key_sign() 816 uint32_t len = tk->blob_len; in extract_key_parameters() 898 struct tpm_key *tpm_key_create(const void *blob, uint32_t blob_len) in tpm_key_create() argument 918 tk->blob = kmemdup(blob, blob_len, GFP_KERNEL); in tpm_key_create() 922 tk->blob_len = blob_len; in tpm_key_create() 932 tk->blob_len = 0; in tpm_key_create()
|
/kernel/linux/linux-5.10/include/crypto/ |
D | asym_tpm_subtype.h | 9 u32 blob_len; member 15 struct tpm_key *tpm_key_create(const void *blob, uint32_t blob_len);
|
/kernel/linux/linux-5.10/fs/cifs/ |
D | sess.c | 565 int decode_ntlmssp_challenge(char *bcc_ptr, int blob_len, in decode_ntlmssp_challenge() argument 573 if (blob_len < sizeof(CHALLENGE_MESSAGE)) { in decode_ntlmssp_challenge() 574 cifs_dbg(VFS, "challenge blob len %d too small\n", blob_len); in decode_ntlmssp_challenge() 597 if (tioffset > blob_len || tioffset + tilen > blob_len) { in decode_ntlmssp_challenge() 1306 u16 blob_len; in sess_auth_kerberos() local 1393 blob_len = le16_to_cpu(pSMB->resp.SecurityBlobLength); in sess_auth_kerberos() 1394 if (blob_len > bytes_remaining) { in sess_auth_kerberos() 1396 blob_len); in sess_auth_kerberos() 1400 bcc_ptr += blob_len; in sess_auth_kerberos() 1401 bytes_remaining -= blob_len; in sess_auth_kerberos() [all …]
|
D | ntlmssp.h | 134 int decode_ntlmssp_challenge(char *bcc_ptr, int blob_len, struct cifs_ses *ses);
|
/kernel/linux/linux-5.10/include/keys/ |
D | trusted_tpm.h | 68 pr_info("trusted_key: bloblen %d\n", p->blob_len); in dump_payload() 70 16, 1, p->blob, p->blob_len, 0); in dump_payload()
|
D | trusted-type.h | 23 unsigned int blob_len; member
|
/kernel/linux/linux-5.10/net/ceph/ |
D | auth_x_protocol.h | 13 __le32 blob_len; member
|
D | auth_x.c | 309 p = (void *)(msg_a + 1) + le32_to_cpu(msg_a->ticket_blob.blob_len); in encrypt_authorizer() 390 msg_a->ticket_blob.blob_len = cpu_to_le32(ticket_blob_len); in ceph_x_build_authorizer()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0016_linux_drivers_crypto.patch | 2484 + dev_dbg(dev, "blob: %p (%zu)]\n", blob, info->blob_len); 2501 + if (info->blob_len < (blob_req_len + BLOB_OVERHEAD)) 2505 + info->blob_len = blob_req_len + BLOB_OVERHEAD; 2513 + dev_dbg(dev, "blob: %p (%zu)]\n", blob, info->blob_len); 2531 + if (map_read_data(dev, info->blob_len, &blob_dma, &tmp_blob)) { 2546 + blob_dma, info->blob_len); 2563 + read_map_data(dev, blob, blob_dma, tmp_blob, info->blob_len); 2567 + info->blob_len, 1); 2574 + info->blob_len, DMA_FROM_DEVICE); 2630 + __func__, blob, info->blob_len, mem_type, color); [all …]
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/ |
D | 0005_linux_include.patch | 3073 + unsigned int blob_len; 15263 + * @blob_len : Length of the blob that encapsulates the black key 15279 + __u32 blob_len;
|