Home
last modified time | relevance | path

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

/linux/net/sctp/
H A Dauth.c188 struct sctp_hmac_algo_param *hmacs, in sctp_auth_make_key_vector() argument
197 hmacs_len = ntohs(hmacs->param_hdr.length); in sctp_auth_make_key_vector()
215 memcpy(new->data + offset, hmacs, hmacs_len); in sctp_auth_make_key_vector()
402 const struct sctp_hmac_algo_param *hmacs; in sctp_auth_verify_cookie_params() local
416 hmacs = (const struct sctp_hmac_algo_param *)cookie->auth_hmacs; in sctp_auth_verify_cookie_params()
417 hmacs_len = ntohs(hmacs->param_hdr.length); in sctp_auth_verify_cookie_params()
418 if (hmacs->param_hdr.type != SCTP_PARAM_HMAC_ALGO || in sctp_auth_verify_cookie_params()
420 sizeof(hmacs->hmac_ids[0]) || in sctp_auth_verify_cookie_params()
423 sizeof(hmacs->hmac_ids[0])) in sctp_auth_verify_cookie_params()
427 sizeof(hmacs->hmac_ids[0]); in sctp_auth_verify_cookie_params()
[all …]
H A Dsm_make_chunk.c2158 struct sctp_hmac_algo_param *hmacs; in sctp_verify_param() local
2251 hmacs = (struct sctp_hmac_algo_param *)param.p; in sctp_verify_param()
2260 id = ntohs(hmacs->hmac_ids[i]); in sctp_verify_param()
H A Dsocket.c3619 struct sctp_hmacalgo *hmacs, in sctp_setsockopt_hmac_ident()
3633 idents = hmacs->shmac_num_idents;
3638 return sctp_auth_ep_set_hmacs(ep, hmacs); in sctp_setsockopt_auth_key()
6974 struct sctp_hmac_algo_param *hmacs; in sctp_getsockopt_hmac_ident()
6982 hmacs = ep->auth_hmacs_list; in sctp_getsockopt_hmac_ident()
6983 data_len = ntohs(hmacs->param_hdr.length) - in sctp_getsockopt_hmac_ident()
6997 __u16 hmacid = ntohs(hmacs->hmac_ids[i]); in sctp_getsockopt_active_key()
3610 sctp_setsockopt_hmac_ident(struct sock * sk,struct sctp_hmacalgo * hmacs,unsigned int optlen) sctp_setsockopt_hmac_ident() argument
6965 struct sctp_hmac_algo_param *hmacs; sctp_getsockopt_hmac_ident() local
/linux/include/net/sctp/
H A Dauth.h82 struct sctp_hmac_algo_param *hmacs);
98 struct sctp_hmacalgo *hmacs);