Home
last modified time | relevance | path

Searched refs:hmacs (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/net/sctp/
Dauth.c187 struct sctp_hmac_algo_param *hmacs, in sctp_auth_make_key_vector() argument
196 hmacs_len = ntohs(hmacs->param_hdr.length); in sctp_auth_make_key_vector()
214 memcpy(new->data + offset, hmacs, hmacs_len); in sctp_auth_make_key_vector()
526 struct sctp_hmac_algo_param *hmacs; in sctp_auth_asoc_get_hmac() local
538 hmacs = asoc->peer.peer_hmacs; in sctp_auth_asoc_get_hmac()
539 if (!hmacs) in sctp_auth_asoc_get_hmac()
542 n_elt = (ntohs(hmacs->param_hdr.length) - in sctp_auth_asoc_get_hmac()
545 id = ntohs(hmacs->hmac_ids[i]); in sctp_auth_asoc_get_hmac()
568 static int __sctp_auth_find_hmacid(__be16 *hmacs, int n_elts, __be16 hmac_id) in __sctp_auth_find_hmacid() argument
574 if (hmac_id == hmacs[i]) { in __sctp_auth_find_hmacid()
[all …]
Dsm_make_chunk.c2170 struct sctp_hmac_algo_param *hmacs; in sctp_verify_param() local
2257 hmacs = (struct sctp_hmac_algo_param *)param.p; in sctp_verify_param()
2266 id = ntohs(hmacs->hmac_ids[i]); in sctp_verify_param()
Dsocket.c3601 struct sctp_hmacalgo *hmacs, in sctp_setsockopt_hmac_ident() argument
3615 idents = hmacs->shmac_num_idents; in sctp_setsockopt_hmac_ident()
3620 return sctp_auth_ep_set_hmacs(ep, hmacs); in sctp_setsockopt_hmac_ident()
6892 struct sctp_hmac_algo_param *hmacs; in sctp_getsockopt_hmac_ident() local
6900 hmacs = ep->auth_hmacs_list; in sctp_getsockopt_hmac_ident()
6901 data_len = ntohs(hmacs->param_hdr.length) - in sctp_getsockopt_hmac_ident()
6915 __u16 hmacid = ntohs(hmacs->hmac_ids[i]); in sctp_getsockopt_hmac_ident()
/linux-6.6.21/include/net/sctp/
Dauth.h85 struct sctp_hmac_algo_param *hmacs);
101 struct sctp_hmacalgo *hmacs);