Home
last modified time | relevance | path

Searched refs:oid_len (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/fs/smb/server/
Dasn1.c99 int oid_len = 4 + compute_asn_hdr_len_bytes(NTLMSSP_OID_LEN) * 2 + in build_spnego_ntlmssp_neg_blob() local
104 oid_len + ntlmssp_len) * 2 + in build_spnego_ntlmssp_neg_blob()
105 neg_result_len + oid_len + ntlmssp_len; in build_spnego_ntlmssp_neg_blob()
112 encode_asn_tag(buf, &ofs, 0xa1, 0x30, neg_result_len + oid_len + in build_spnego_ntlmssp_neg_blob()
/linux-6.6.21/lib/
Dasn1_encoder.c142 u32 oid[], int oid_len) in asn1_encode_oid() argument
148 if (WARN(oid_len < 2, "OID must have at least two elements")) in asn1_encode_oid()
151 if (WARN(oid_len > 32, "OID is too large")) in asn1_encode_oid()
167 for (i = 2; i < oid_len; i++) { in asn1_encode_oid()
/linux-6.6.21/include/linux/
Dasn1_encoder.h17 u32 oid[], int oid_len);
/linux-6.6.21/net/ceph/
Dosd_client.c1776 *pkey_len = hoid->oid_len; in hoid_get_effective_key()
1829 ret = compare_names(lhs->oid, lhs->oid_len, rhs->oid, rhs->oid_len); in hoid_compare()
1871 hoid->oid = ceph_extract_encoded_string(p, end, &hoid->oid_len, in decode_hoid()
1903 4 + hoid->key_len + 4 + hoid->oid_len + 4 + hoid->nspace_len; in hoid_encoding_size()
1910 ceph_encode_string(p, end, hoid->oid, hoid->oid_len); in encode_hoid()
2018 hoid->oid_len = t->target_oid.name_len; in hoid_fill_from_target()
2263 int oloc_len, oid_len, tail_len; in encode_request_finish() local
2286 oid_len = p - oid; in encode_request_finish()
2309 memmove(p, oid, oid_len); in encode_request_finish()
2310 p += oid_len; in encode_request_finish()
Ddebugfs.c316 dump_name_escaped(s, hoid->oid, hoid->oid_len); in dump_hoid()
/linux-6.6.21/include/linux/ceph/
Dosd_client.h372 size_t oid_len; member
/linux-6.6.21/fs/nfs/
Dnfs4xdr.c5553 u32 oid_len; in decode_secinfo_gss() local
5559 oid_len = be32_to_cpup(p); in decode_secinfo_gss()
5560 if (oid_len > GSS_OID_MAX_LEN) in decode_secinfo_gss()
5563 p = xdr_inline_decode(xdr, oid_len); in decode_secinfo_gss()
5566 memcpy(flavor->flavor_info.oid.data, p, oid_len); in decode_secinfo_gss()
5567 flavor->flavor_info.oid.len = oid_len; in decode_secinfo_gss()