Home
last modified time | relevance | path

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

/linux-3.3/fs/cifs/
Dsess.c367 static int decode_ntlmssp_challenge(char *bcc_ptr, int blob_len, in decode_ntlmssp_challenge() argument
375 if (blob_len < sizeof(CHALLENGE_MESSAGE)) { in decode_ntlmssp_challenge()
376 cERROR(1, "challenge blob len %d too small", blob_len); in decode_ntlmssp_challenge()
397 if (tioffset > blob_len || tioffset + tilen > blob_len) { in decode_ntlmssp_challenge()
576 u16 blob_len; in CIFS_SessSetup() local
833 &blob_len, ses, nls_cp); in CIFS_SessSetup()
836 iov[1].iov_len = blob_len; in CIFS_SessSetup()
838 pSMB->req.SecurityBlobLength = cpu_to_le16(blob_len); in CIFS_SessSetup()
908 blob_len = le16_to_cpu(pSMB->resp.SecurityBlobLength); in CIFS_SessSetup()
909 if (blob_len > bytes_remaining) { in CIFS_SessSetup()
[all …]
/linux-3.3/security/keys/
Dtrusted.h67 pr_info("trusted_key: bloblen %d\n", p->blob_len); in dump_payload()
69 16, 1, p->blob, p->blob_len, 0); in dump_payload()
Dtrusted.c707 p->key, p->key_len + 1, p->blob, &p->blob_len, in key_seal()
729 ret = tpm_unseal(tb, o->keyhandle, o->keyauth, p->blob, p->blob_len, in key_unseal()
869 p->blob_len = strlen(c) / 2; in datablob_parse()
870 if (p->blob_len > MAX_BLOB_SIZE) in datablob_parse()
872 ret = hex2bin(p->blob, c, p->blob_len); in datablob_parse()
1094 return 2 * p->blob_len; in trusted_read()
1095 ascii_buf = kmalloc(2 * p->blob_len, GFP_KERNEL); in trusted_read()
1100 for (i = 0; i < p->blob_len; i++) in trusted_read()
1102 if ((copy_to_user(buffer, ascii_buf, 2 * p->blob_len)) != 0) { in trusted_read()
1107 return 2 * p->blob_len; in trusted_read()
/linux-3.3/include/keys/
Dtrusted-type.h23 unsigned int blob_len; member
/linux-3.3/net/ceph/
Dauth_x_protocol.h12 __le32 blob_len; member
Dauth_x.c308 msg_a->ticket_blob.blob_len = cpu_to_le32(ticket_blob_len); in ceph_x_build_authorizer()