/Linux-v5.15/security/keys/trusted-keys/ |
D | trusted_tpm2.c | 107 payload->blob_len); in tpm2_key_decode() 231 int blob_len = 0; in tpm2_seal_trusted() local 315 blob_len = be32_to_cpup((__be32 *) &buf.data[TPM_HEADER_SIZE]); in tpm2_seal_trusted() 316 if (blob_len > MAX_BLOB_SIZE) { in tpm2_seal_trusted() 320 if (tpm_buf_length(&buf) < TPM_HEADER_SIZE + 4 + blob_len) { in tpm2_seal_trusted() 325 blob_len = tpm2_key_encode(payload, options, in tpm2_seal_trusted() 327 blob_len); in tpm2_seal_trusted() 338 if (blob_len < 0) in tpm2_seal_trusted() 339 rc = blob_len; in tpm2_seal_trusted() 341 payload->blob_len = blob_len; in tpm2_seal_trusted() [all …]
|
D | trusted_core.c | 95 p->blob_len = strlen(c) / 2; in datablob_parse() 96 if (p->blob_len > MAX_BLOB_SIZE) in datablob_parse() 98 ret = hex2bin(p->blob, c, p->blob_len); in datablob_parse() 289 if (buffer && buflen >= 2 * p->blob_len) { in trusted_read() 291 for (i = 0; i < p->blob_len; i++) in trusted_read() 294 return 2 * p->blob_len; in trusted_read()
|
D | trusted_tee.c | 109 p->blob_len = param[1].u.memref.size; in trusted_tee_seal() 135 p->blob_len, TEE_SHM_DMA_BUF | in trusted_tee_unseal() 157 param[0].u.memref.size = p->blob_len; in trusted_tee_unseal()
|
D | trusted_tpm1.c | 675 p->key, p->key_len + 1, p->blob, &p->blob_len, in key_seal() 697 ret = tpm_unseal(&tb, o->keyhandle, o->keyauth, p->blob, p->blob_len, in key_unseal()
|
/Linux-v5.15/fs/cifs/ |
D | sess.c | 552 int decode_ntlmssp_challenge(char *bcc_ptr, int blob_len, in decode_ntlmssp_challenge() argument 560 if (blob_len < sizeof(CHALLENGE_MESSAGE)) { in decode_ntlmssp_challenge() 561 cifs_dbg(VFS, "challenge blob len %d too small\n", blob_len); in decode_ntlmssp_challenge() 584 if (tioffset > blob_len || tioffset + tilen > blob_len) { in decode_ntlmssp_challenge() 1056 u16 blob_len; in sess_auth_kerberos() local 1143 blob_len = le16_to_cpu(pSMB->resp.SecurityBlobLength); in sess_auth_kerberos() 1144 if (blob_len > bytes_remaining) { in sess_auth_kerberos() 1146 blob_len); in sess_auth_kerberos() 1150 bcc_ptr += blob_len; in sess_auth_kerberos() 1151 bytes_remaining -= blob_len; in sess_auth_kerberos() [all …]
|
D | ntlmssp.h | 121 int decode_ntlmssp_challenge(char *bcc_ptr, int blob_len, struct cifs_ses *ses);
|
/Linux-v5.15/include/keys/ |
D | trusted-type.h | 29 unsigned int blob_len; member 89 pr_info("bloblen %d\n", p->blob_len); in dump_payload() 91 16, 1, p->blob, p->blob_len, 0); in dump_payload()
|
/Linux-v5.15/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()
|
/Linux-v5.15/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);
|
/Linux-v5.15/fs/ksmbd/ |
D | auth.c | 298 int blob_len, struct ksmbd_session *sess) in ksmbd_decode_ntlmssp_auth_blob() argument 305 if (blob_len < sizeof(struct authenticate_message)) { in ksmbd_decode_ntlmssp_auth_blob() 307 blob_len); in ksmbd_decode_ntlmssp_auth_blob() 322 if (blob_len < (u64)dn_off + dn_len || blob_len < (u64)nt_off + nt_len) in ksmbd_decode_ntlmssp_auth_blob() 350 int blob_len, struct ksmbd_session *sess) in ksmbd_decode_ntlmssp_neg_blob() argument 352 if (blob_len < sizeof(struct negotiate_message)) { in ksmbd_decode_ntlmssp_neg_blob() 354 blob_len); in ksmbd_decode_ntlmssp_neg_blob() 383 unsigned int flags, blob_off, blob_len, type, target_info_len = 0; in ksmbd_build_ntlmssp_challenge_blob() local 426 blob_len = blob_off + uni_len; in ksmbd_build_ntlmssp_challenge_blob() 438 chgblob->TargetInfoArray.BufferOffset = cpu_to_le32(blob_len); in ksmbd_build_ntlmssp_challenge_blob() [all …]
|
D | auth.h | 45 int blob_len, struct ksmbd_session *sess); 47 int blob_len, struct ksmbd_session *sess);
|
D | transport_ipc.h | 32 ksmbd_ipc_spnego_authen_request(const char *spnego_blob, int blob_len);
|
D | transport_ipc.c | 518 ksmbd_ipc_spnego_authen_request(const char *spnego_blob, int blob_len) in ksmbd_ipc_spnego_authen_request() argument 525 blob_len + 1); in ksmbd_ipc_spnego_authen_request() 532 req->spnego_blob_len = blob_len; in ksmbd_ipc_spnego_authen_request() 533 memcpy(req->spnego_blob, spnego_blob, blob_len); in ksmbd_ipc_spnego_authen_request()
|
/Linux-v5.15/net/ceph/ |
D | auth_x_protocol.h | 13 __le32 blob_len; member
|
D | mon_client.c | 75 int blob_len; in ceph_monmap_decode() local 82 ceph_decode_32_safe(p, end, blob_len, e_inval); in ceph_monmap_decode() 83 ceph_decode_need(p, end, blob_len, e_inval); in ceph_monmap_decode()
|
D | auth_x.c | 312 p = (void *)(msg_a + 1) + le32_to_cpu(msg_a->ticket_blob.blob_len); in encrypt_authorizer() 394 msg_a->ticket_blob.blob_len = cpu_to_le32(ticket_blob_len); in ceph_x_build_authorizer()
|