Searched refs:hmacs (Results 1 – 4 of 4) sorted by relevance
187 struct sctp_hmac_algo_param *hmacs, in sctp_auth_make_key_vector() argument196 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() local538 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() argument574 if (hmac_id == hmacs[i]) { in __sctp_auth_find_hmacid()[all …]
2170 struct sctp_hmac_algo_param *hmacs; in sctp_verify_param() local2257 hmacs = (struct sctp_hmac_algo_param *)param.p; in sctp_verify_param()2266 id = ntohs(hmacs->hmac_ids[i]); in sctp_verify_param()
3601 struct sctp_hmacalgo *hmacs, in sctp_setsockopt_hmac_ident() argument3615 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() local6900 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()
85 struct sctp_hmac_algo_param *hmacs);101 struct sctp_hmacalgo *hmacs);