Home
last modified time | relevance | path

Searched refs:blob_len (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/security/keys/trusted-keys/
H A Dtrusted_tpm2.c120 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 Dtrusted_core.c103 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 Dtrusted_caam.c32 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 Dtrusted_tee.c99 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 Dtrusted_tpm1.c675 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 Dtrusted-type.h29 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 Dsess.c978 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 Dntlmssp.h145 int decode_ntlmssp_challenge(char *bcc_ptr, int blob_len, struct cifs_ses *ses);
/openbmc/linux/fs/smb/server/
H A Dauth.c306 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 Dauth.h46 int blob_len, struct ksmbd_conn *conn,
49 int blob_len, struct ksmbd_conn *conn);
H A Dtransport_ipc.h32 ksmbd_ipc_spnego_authen_request(const char *spnego_blob, int blob_len);
H A Dtransport_ipc.c564 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 Dauth_x_protocol.h13 __le32 blob_len; member
H A Dmon_client.c75 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 Dauth_x.c312 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()