/openbmc/linux/security/keys/trusted-keys/ |
H A D | trusted_tpm2.c | 120 payload->blob_len); in tpm2_key_decode() 244 int blob_len = 0; in tpm2_seal_trusted() local 329 if (blob_len > MAX_BLOB_SIZE) { in tpm2_seal_trusted() 340 blob_len); in tpm2_seal_trusted() 351 if (blob_len < 0) in tpm2_seal_trusted() 352 rc = blob_len; in tpm2_seal_trusted() 354 payload->blob_len = blob_len; in tpm2_seal_trusted() 381 unsigned int blob_len; in tpm2_load_cmd() local 398 if (payload->blob_len < 4) in tpm2_load_cmd() 422 if (blob_len > payload->blob_len) in tpm2_load_cmd() [all …]
|
H A D | trusted_core.c | 103 p->blob_len = strlen(c) / 2; in datablob_parse() 104 if (p->blob_len > MAX_BLOB_SIZE) in datablob_parse() 106 ret = hex2bin(p->blob, c, p->blob_len); in datablob_parse() 297 if (buffer && buflen >= 2 * p->blob_len) { in trusted_read() 299 for (i = 0; i < p->blob_len; i++) in trusted_read() 302 return 2 * p->blob_len; in trusted_read()
|
H 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()
|
H A 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()
|
H 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()
|
/openbmc/linux/include/keys/ |
H 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()
|
/openbmc/linux/fs/smb/client/ |
H A D | sess.c | 978 if (tioffset > blob_len || tioffset + tilen > blob_len) { in decode_ntlmssp_challenge() 1575 u16 blob_len; in sess_auth_kerberos() local 1665 blob_len); in sess_auth_kerberos() 1669 bcc_ptr += blob_len; in sess_auth_kerberos() 1670 bytes_remaining -= blob_len; in sess_auth_kerberos() 1755 u16 blob_len; in sess_auth_rawntlmssp_negotiate() local 1823 blob_len); in sess_auth_rawntlmssp_negotiate() 1861 u16 blob_len; in sess_auth_rawntlmssp_authenticate() local 1874 &blob_len, ses, server, in sess_auth_rawntlmssp_authenticate() 1917 blob_len); in sess_auth_rawntlmssp_authenticate() [all …]
|
H A D | ntlmssp.h | 145 int decode_ntlmssp_challenge(char *bcc_ptr, int blob_len, struct cifs_ses *ses);
|
/openbmc/linux/fs/smb/server/ |
H A 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() 468 blob_len = blob_off + uni_len; in ksmbd_build_ntlmssp_challenge_blob() 504 blob_len += target_info_len; in ksmbd_build_ntlmssp_challenge_blob() [all …]
|
H A D | auth.h | 46 int blob_len, struct ksmbd_conn *conn, 49 int blob_len, struct ksmbd_conn *conn);
|
H A D | transport_ipc.h | 32 ksmbd_ipc_spnego_authen_request(const char *spnego_blob, int blob_len);
|
H A D | transport_ipc.c | 564 ksmbd_ipc_spnego_authen_request(const char *spnego_blob, int blob_len) in ksmbd_ipc_spnego_authen_request() argument 571 blob_len + 1); in ksmbd_ipc_spnego_authen_request() 578 req->spnego_blob_len = blob_len; in ksmbd_ipc_spnego_authen_request() 579 memcpy(req->spnego_blob, spnego_blob, blob_len); in ksmbd_ipc_spnego_authen_request()
|
/openbmc/linux/net/ceph/ |
H A D | auth_x_protocol.h | 13 __le32 blob_len; member
|
H 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()
|
H 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()
|