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.c3610 struct sctp_hmacalgo *hmacs, in sctp_setsockopt_hmac_ident() argument
3624 idents = hmacs->shmac_num_idents; in sctp_setsockopt_hmac_ident()
3629 return sctp_auth_ep_set_hmacs(ep, hmacs); in sctp_setsockopt_hmac_ident()
6965 struct sctp_hmac_algo_param *hmacs; in sctp_getsockopt_hmac_ident() local
6973 hmacs = ep->auth_hmacs_list; in sctp_getsockopt_hmac_ident()
6974 data_len = ntohs(hmacs->param_hdr.length) - in sctp_getsockopt_hmac_ident()
6988 __u16 hmacid = ntohs(hmacs->hmac_ids[i]); in sctp_getsockopt_hmac_ident()
/linux/include/net/sctp/
H A Dauth.h82 struct sctp_hmac_algo_param *hmacs);
98 struct sctp_hmacalgo *hmacs);