/linux-6.3-rc2/security/keys/trusted-keys/ |
A D | trusted_tpm2.c | 107 payload->blob_len); in tpm2_key_decode() 231 int blob_len = 0; in tpm2_seal_trusted() local 316 if (blob_len > MAX_BLOB_SIZE) { 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() 368 unsigned int blob_len; in tpm2_load_cmd() local 385 if (payload->blob_len < 4) in tpm2_load_cmd() 409 if (blob_len > payload->blob_len) in tpm2_load_cmd() [all …]
|
A D | trusted_core.c | 104 p->blob_len = strlen(c) / 2; in datablob_parse() 105 if (p->blob_len > MAX_BLOB_SIZE) in datablob_parse() 107 ret = hex2bin(p->blob, c, p->blob_len); in datablob_parse() 298 if (buffer && buflen >= 2 * p->blob_len) { in trusted_read() 300 for (i = 0; i < p->blob_len; i++) in trusted_read() 303 return 2 * p->blob_len; in trusted_read()
|
A 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()
|
A D | trusted_tee.c | 107 p->blob_len = param[1].u.memref.size; in trusted_tee_seal() 133 p->blob_len); in trusted_tee_unseal() 153 param[0].u.memref.size = p->blob_len; in trusted_tee_unseal()
|
A 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-6.3-rc2/include/keys/ |
A 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.3-rc2/fs/cifs/ |
A D | sess.c | 811 if (tioffset > blob_len || tioffset + tilen > blob_len) { in decode_ntlmssp_challenge() 1400 u16 blob_len; in sess_auth_kerberos() local 1490 blob_len); in sess_auth_kerberos() 1494 bcc_ptr += blob_len; in sess_auth_kerberos() 1495 bytes_remaining -= blob_len; in sess_auth_kerberos() 1580 u16 blob_len; in sess_auth_rawntlmssp_negotiate() local 1648 blob_len); in sess_auth_rawntlmssp_negotiate() 1686 u16 blob_len; in sess_auth_rawntlmssp_authenticate() local 1699 &blob_len, ses, server, in sess_auth_rawntlmssp_authenticate() 1742 blob_len); in sess_auth_rawntlmssp_authenticate() [all …]
|
A D | ntlmssp.h | 145 int decode_ntlmssp_challenge(char *bcc_ptr, int blob_len, struct cifs_ses *ses);
|
/linux-6.3-rc2/fs/ksmbd/ |
A D | auth.c | 300 int blob_len, struct ksmbd_conn *conn, in ksmbd_decode_ntlmssp_auth_blob() argument 308 if (blob_len < sizeof(struct authenticate_message)) { in ksmbd_decode_ntlmssp_auth_blob() 310 blob_len); in ksmbd_decode_ntlmssp_auth_blob() 325 if (blob_len < (u64)dn_off + dn_len || blob_len < (u64)nt_off + nt_len || in ksmbd_decode_ntlmssp_auth_blob() 352 if (blob_len < (u64)sess_key_off + sess_key_len) in ksmbd_decode_ntlmssp_auth_blob() 378 int blob_len, struct ksmbd_conn *conn) in ksmbd_decode_ntlmssp_neg_blob() argument 380 if (blob_len < sizeof(struct negotiate_message)) { in ksmbd_decode_ntlmssp_neg_blob() 382 blob_len); in ksmbd_decode_ntlmssp_neg_blob() 460 blob_len = blob_off + uni_len; in ksmbd_build_ntlmssp_challenge_blob() 496 blob_len += target_info_len; in ksmbd_build_ntlmssp_challenge_blob() [all …]
|
A D | auth.h | 46 int blob_len, struct ksmbd_conn *conn, 49 int blob_len, struct ksmbd_conn *conn);
|
A D | transport_ipc.h | 32 ksmbd_ipc_spnego_authen_request(const char *spnego_blob, int blob_len);
|
A D | transport_ipc.c | 527 ksmbd_ipc_spnego_authen_request(const char *spnego_blob, int blob_len) in ksmbd_ipc_spnego_authen_request() argument 534 blob_len + 1); in ksmbd_ipc_spnego_authen_request() 541 req->spnego_blob_len = blob_len; in ksmbd_ipc_spnego_authen_request() 542 memcpy(req->spnego_blob, spnego_blob, blob_len); in ksmbd_ipc_spnego_authen_request()
|
/linux-6.3-rc2/net/ceph/ |
A D | auth_x_protocol.h | 13 __le32 blob_len; member
|
A 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()
|
A 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()
|