hmacs              85 include/net/sctp/auth.h 				     struct sctp_hmac_algo_param *hmacs);
hmacs             101 include/net/sctp/auth.h 			    struct sctp_hmacalgo *hmacs);
hmacs             187 net/sctp/auth.c 			struct sctp_hmac_algo_param *hmacs,
hmacs             196 net/sctp/auth.c 	hmacs_len = ntohs(hmacs->param_hdr.length);
hmacs             214 net/sctp/auth.c 	memcpy(new->data + offset, hmacs, hmacs_len);
hmacs             525 net/sctp/auth.c 	struct sctp_hmac_algo_param *hmacs;
hmacs             537 net/sctp/auth.c 	hmacs = asoc->peer.peer_hmacs;
hmacs             538 net/sctp/auth.c 	if (!hmacs)
hmacs             541 net/sctp/auth.c 	n_elt = (ntohs(hmacs->param_hdr.length) -
hmacs             544 net/sctp/auth.c 		id = ntohs(hmacs->hmac_ids[i]);
hmacs             567 net/sctp/auth.c static int __sctp_auth_find_hmacid(__be16 *hmacs, int n_elts, __be16 hmac_id)
hmacs             573 net/sctp/auth.c 		if (hmac_id == hmacs[i]) {
hmacs             586 net/sctp/auth.c 	struct sctp_hmac_algo_param *hmacs;
hmacs             592 net/sctp/auth.c 	hmacs = (struct sctp_hmac_algo_param *)asoc->c.auth_hmacs;
hmacs             593 net/sctp/auth.c 	n_elt = (ntohs(hmacs->param_hdr.length) -
hmacs             596 net/sctp/auth.c 	return __sctp_auth_find_hmacid(hmacs->hmac_ids, n_elt, hmac_id);
hmacs             606 net/sctp/auth.c 				     struct sctp_hmac_algo_param *hmacs)
hmacs             617 net/sctp/auth.c 	n_params = (ntohs(hmacs->param_hdr.length) -
hmacs             621 net/sctp/auth.c 		id = ntohs(hmacs->hmac_ids[i]);
hmacs             784 net/sctp/auth.c 			   struct sctp_hmacalgo *hmacs)
hmacs             793 net/sctp/auth.c 	for (i = 0; i < hmacs->shmac_num_idents; i++) {
hmacs             794 net/sctp/auth.c 		id = hmacs->shmac_idents[i];
hmacs             809 net/sctp/auth.c 	for (i = 0; i < hmacs->shmac_num_idents; i++)
hmacs             811 net/sctp/auth.c 				htons(hmacs->shmac_idents[i]);
hmacs             814 net/sctp/auth.c 			hmacs->shmac_num_idents * sizeof(__u16));
hmacs            2132 net/sctp/sm_make_chunk.c 	struct sctp_hmac_algo_param *hmacs;
hmacs            2212 net/sctp/sm_make_chunk.c 		hmacs = (struct sctp_hmac_algo_param *)param.p;
hmacs            2221 net/sctp/sm_make_chunk.c 			id = ntohs(hmacs->hmac_ids[i]);
hmacs            3662 net/sctp/socket.c 	struct sctp_hmacalgo *hmacs;
hmacs            3674 net/sctp/socket.c 	hmacs = memdup_user(optval, optlen);
hmacs            3675 net/sctp/socket.c 	if (IS_ERR(hmacs))
hmacs            3676 net/sctp/socket.c 		return PTR_ERR(hmacs);
hmacs            3678 net/sctp/socket.c 	idents = hmacs->shmac_num_idents;
hmacs            3685 net/sctp/socket.c 	err = sctp_auth_ep_set_hmacs(ep, hmacs);
hmacs            3687 net/sctp/socket.c 	kfree(hmacs);
hmacs            6915 net/sctp/socket.c 	struct sctp_hmac_algo_param *hmacs;
hmacs            6923 net/sctp/socket.c 	hmacs = ep->auth_hmacs_list;
hmacs            6924 net/sctp/socket.c 	data_len = ntohs(hmacs->param_hdr.length) -
hmacs            6938 net/sctp/socket.c 		__u16 hmacid = ntohs(hmacs->hmac_ids[i]);