/linux-6.12.1/security/keys/trusted-keys/ |
D | trusted_tpm2.c | 120 payload->blob_len); in tpm2_key_decode() 246 int blob_len = 0; in tpm2_seal_trusted() local 340 blob_len = tpm_buf_read_u32(&buf, &offset); in tpm2_seal_trusted() 341 if (blob_len > MAX_BLOB_SIZE || buf.flags & TPM_BUF_BOUNDARY_ERROR) { in tpm2_seal_trusted() 345 if (buf.length - offset < blob_len) { in tpm2_seal_trusted() 350 blob_len = tpm2_key_encode(payload, options, &buf.data[offset], blob_len); in tpm2_seal_trusted() 362 if (blob_len < 0) in tpm2_seal_trusted() 363 rc = blob_len; in tpm2_seal_trusted() 365 payload->blob_len = blob_len; in tpm2_seal_trusted() 393 unsigned int blob_len; in tpm2_load_cmd() local [all …]
|
D | trusted_core.c | 107 p->blob_len = strlen(c) / 2; in datablob_parse() 108 if (p->blob_len > MAX_BLOB_SIZE) in datablob_parse() 110 ret = hex2bin(p->blob, c, p->blob_len); in datablob_parse() 301 if (buffer && buflen >= 2 * p->blob_len) { in trusted_read() 303 for (i = 0; i < p->blob_len; i++) in trusted_read() 306 return 2 * p->blob_len; in trusted_read()
|
D | trusted_caam.c | 32 p->blob_len = info.output_len; in trusted_caam_seal() 40 .input = p->blob, .input_len = p->blob_len, in trusted_caam_unseal()
|
D | trusted_dcp.c | 228 p->blob_len = blen; in trusted_dcp_seal() 252 if (blen != p->blob_len) { in trusted_dcp_unseal() 254 p->blob_len); in trusted_dcp_unseal()
|
D | trusted_tee.c | 99 p->blob_len = param[1].u.memref.size; in trusted_tee_seal() 133 param[0].u.memref.size = p->blob_len; in trusted_tee_unseal()
|
D | trusted_tpm1.c | 686 p->key, p->key_len + 1, p->blob, &p->blob_len, in key_seal() 708 ret = tpm_unseal(&tb, o->keyhandle, o->keyauth, p->blob, p->blob_len, in key_unseal()
|
/linux-6.12.1/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-6.12.1/fs/smb/client/ |
D | sess.c | 886 int decode_ntlmssp_challenge(char *bcc_ptr, int blob_len, in decode_ntlmssp_challenge() argument 894 if (blob_len < sizeof(CHALLENGE_MESSAGE)) { in decode_ntlmssp_challenge() 895 cifs_dbg(VFS, "challenge blob len %d too small\n", blob_len); in decode_ntlmssp_challenge() 946 if (tioffset > blob_len || tioffset + tilen > blob_len) { in decode_ntlmssp_challenge() 1543 u16 blob_len; in sess_auth_kerberos() local 1630 blob_len = le16_to_cpu(pSMB->resp.SecurityBlobLength); in sess_auth_kerberos() 1631 if (blob_len > bytes_remaining) { in sess_auth_kerberos() 1633 blob_len); in sess_auth_kerberos() 1637 bcc_ptr += blob_len; in sess_auth_kerberos() 1638 bytes_remaining -= blob_len; in sess_auth_kerberos() [all …]
|
D | ntlmssp.h | 145 int decode_ntlmssp_challenge(char *bcc_ptr, int blob_len, struct cifs_ses *ses);
|
/linux-6.12.1/fs/smb/server/ |
D | auth.c | 306 int blob_len, struct ksmbd_conn *conn, in ksmbd_decode_ntlmssp_auth_blob() argument 314 if (blob_len < sizeof(struct authenticate_message)) { in ksmbd_decode_ntlmssp_auth_blob() 316 blob_len); in ksmbd_decode_ntlmssp_auth_blob() 331 if (blob_len < (u64)dn_off + dn_len || blob_len < (u64)nt_off + nt_len || in ksmbd_decode_ntlmssp_auth_blob() 358 if (blob_len < (u64)sess_key_off + sess_key_len) in ksmbd_decode_ntlmssp_auth_blob() 387 int blob_len, struct ksmbd_conn *conn) in ksmbd_decode_ntlmssp_neg_blob() argument 389 if (blob_len < sizeof(struct negotiate_message)) { in ksmbd_decode_ntlmssp_neg_blob() 391 blob_len); in ksmbd_decode_ntlmssp_neg_blob() 419 unsigned int flags, blob_off, blob_len, type, target_info_len = 0; in ksmbd_build_ntlmssp_challenge_blob() local 468 blob_len = blob_off + uni_len; in ksmbd_build_ntlmssp_challenge_blob() [all …]
|
D | auth.h | 46 int blob_len, struct ksmbd_conn *conn, 49 int blob_len, struct ksmbd_conn *conn);
|
D | transport_ipc.h | 34 ksmbd_ipc_spnego_authen_request(const char *spnego_blob, int blob_len);
|
D | transport_ipc.c | 620 ksmbd_ipc_spnego_authen_request(const char *spnego_blob, int blob_len) in ksmbd_ipc_spnego_authen_request() argument 627 blob_len + 1); in ksmbd_ipc_spnego_authen_request() 634 req->spnego_blob_len = blob_len; in ksmbd_ipc_spnego_authen_request() 635 memcpy(req->spnego_blob, spnego_blob, blob_len); in ksmbd_ipc_spnego_authen_request()
|
/linux-6.12.1/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()
|