Searched refs:hmacs (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/net/sctp/ |
H A D | auth.c | 187 struct sctp_hmac_algo_param *hmacs, in sctp_auth_make_key_vector() 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[ in __sctp_auth_find_hmacid() 184 sctp_auth_make_key_vector( struct sctp_random_param *random, struct sctp_chunks_param *chunks, struct sctp_hmac_algo_param *hmacs, gfp_t gfp) sctp_auth_make_key_vector() argument 587 struct sctp_hmac_algo_param *hmacs; sctp_auth_asoc_verify_hmac_id() local 606 sctp_auth_asoc_set_default_hmac(struct sctp_association *asoc, struct sctp_hmac_algo_param *hmacs) sctp_auth_asoc_set_default_hmac() argument 778 sctp_auth_ep_set_hmacs(struct sctp_endpoint *ep, struct sctp_hmacalgo *hmacs) sctp_auth_ep_set_hmacs() argument [all...] |
H A D | sm_make_chunk.c | 2125 struct sctp_hmac_algo_param *hmacs; in sctp_verify_param() local 2212 hmacs = (struct sctp_hmac_algo_param *)param.p; in sctp_verify_param() 2221 id = ntohs(hmacs->hmac_ids[i]); in sctp_verify_param()
|
H A D | socket.c | 3595 struct sctp_hmacalgo *hmacs, in sctp_setsockopt_hmac_ident() 3609 idents = hmacs->shmac_num_idents; in sctp_setsockopt_hmac_ident() 3614 return sctp_auth_ep_set_hmacs(ep, hmacs); in sctp_setsockopt_hmac_ident() 6768 struct sctp_hmac_algo_param *hmacs; in sctp_getsockopt_hmac_ident() local 6776 hmacs = ep->auth_hmacs_list; in sctp_getsockopt_hmac_ident() 6777 data_len = ntohs(hmacs->param_hdr.length) - in sctp_getsockopt_hmac_ident() 6791 __u16 hmacid = ntohs(hmacs->hmac_ids[i]); in sctp_getsockopt_hmac_ident() 3594 sctp_setsockopt_hmac_ident(struct sock *sk, struct sctp_hmacalgo *hmacs, unsigned int optlen) sctp_setsockopt_hmac_ident() argument
|
/kernel/linux/linux-6.6/net/sctp/ |
H A D | auth.c | 187 struct sctp_hmac_algo_param *hmacs, in sctp_auth_make_key_vector() 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[ in __sctp_auth_find_hmacid() 184 sctp_auth_make_key_vector( struct sctp_random_param *random, struct sctp_chunks_param *chunks, struct sctp_hmac_algo_param *hmacs, gfp_t gfp) sctp_auth_make_key_vector() argument 587 struct sctp_hmac_algo_param *hmacs; sctp_auth_asoc_verify_hmac_id() local 606 sctp_auth_asoc_set_default_hmac(struct sctp_association *asoc, struct sctp_hmac_algo_param *hmacs) sctp_auth_asoc_set_default_hmac() argument 778 sctp_auth_ep_set_hmacs(struct sctp_endpoint *ep, struct sctp_hmacalgo *hmacs) sctp_auth_ep_set_hmacs() argument [all...] |
H A D | sm_make_chunk.c | 2170 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()
|
H A D | socket.c | 3601 struct sctp_hmacalgo *hmacs, in sctp_setsockopt_hmac_ident() 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() 3600 sctp_setsockopt_hmac_ident(struct sock *sk, struct sctp_hmacalgo *hmacs, unsigned int optlen) sctp_setsockopt_hmac_ident() argument
|
/kernel/linux/linux-5.10/include/net/sctp/ |
H A D | auth.h | 85 struct sctp_hmac_algo_param *hmacs); 101 struct sctp_hmacalgo *hmacs);
|
/kernel/linux/linux-6.6/include/net/sctp/ |
H A D | auth.h | 85 struct sctp_hmac_algo_param *hmacs); 101 struct sctp_hmacalgo *hmacs);
|
Completed in 32 milliseconds