Searched defs:hmacs (Results 1 - 3 of 3) sorted by relevance

/net/sctp/
H A Dauth.c190 sctp_hmac_algo_param_t *hmacs,
199 hmacs_len = ntohs(hmacs->param_hdr.length);
217 memcpy(new->data + offset, hmacs, hmacs_len);
519 struct sctp_hmac_algo_param *hmacs; local
531 hmacs = asoc->peer.peer_hmacs;
532 if (!hmacs)
535 n_elt = (ntohs(hmacs->param_hdr.length) - sizeof(sctp_paramhdr_t)) >> 1;
537 id = ntohs(hmacs->hmac_ids[i]);
560 static int __sctp_auth_find_hmacid(__be16 *hmacs, int n_elts, __be16 hmac_id) argument
566 if (hmac_id == hmacs[
187 sctp_auth_make_key_vector( sctp_random_param_t *random, sctp_chunks_param_t *chunks, sctp_hmac_algo_param_t *hmacs, gfp_t gfp) argument
579 struct sctp_hmac_algo_param *hmacs; local
597 sctp_auth_asoc_set_default_hmac(struct sctp_association *asoc, struct sctp_hmac_algo_param *hmacs) argument
777 sctp_auth_ep_set_hmacs(struct sctp_endpoint *ep, struct sctp_hmacalgo *hmacs) argument
[all...]
H A Dsm_make_chunk.c2113 struct sctp_hmac_algo_param *hmacs; local
2193 hmacs = (struct sctp_hmac_algo_param *)param.p;
2201 id = ntohs(hmacs->hmac_ids[i]);
H A Dsocket.c3428 struct sctp_hmacalgo *hmacs; local
3438 hmacs = memdup_user(optval, optlen);
3439 if (IS_ERR(hmacs))
3440 return PTR_ERR(hmacs);
3442 idents = hmacs->shmac_num_idents;
3449 err = sctp_auth_ep_set_hmacs(ep, hmacs);
3451 kfree(hmacs);
5543 struct sctp_hmac_algo_param *hmacs; local
5550 hmacs = ep->auth_hmacs_list;
5551 data_len = ntohs(hmacs
[all...]

Completed in 40 milliseconds