Home
last modified time | relevance | path

Searched refs:auth_hmacs (Results 1 – 4 of 4) sorted by relevance

/net/sctp/
Dauth.c236 (sctp_hmac_algo_param_t*)asoc->c.auth_hmacs, in sctp_auth_make_local_vector()
452 ep->auth_hmacs = NULL; in sctp_auth_init_hmacs()
456 if (ep->auth_hmacs) in sctp_auth_init_hmacs()
460 ep->auth_hmacs = kzalloc( in sctp_auth_init_hmacs()
463 if (!ep->auth_hmacs) in sctp_auth_init_hmacs()
477 if (ep->auth_hmacs[id]) in sctp_auth_init_hmacs()
486 ep->auth_hmacs[id] = tfm; in sctp_auth_init_hmacs()
493 sctp_auth_destroy_hmacs(ep->auth_hmacs); in sctp_auth_init_hmacs()
498 void sctp_auth_destroy_hmacs(struct crypto_hash *auth_hmacs[]) in sctp_auth_destroy_hmacs() argument
502 if (!auth_hmacs) in sctp_auth_destroy_hmacs()
[all …]
Dendpointola.c68 struct sctp_hmac_algo_param *auth_hmacs = NULL; in sctp_endpoint_init() local
84 auth_hmacs = kzalloc(sizeof(sctp_hmac_algo_param_t) + in sctp_endpoint_init()
86 if (!auth_hmacs) in sctp_endpoint_init()
99 auth_hmacs->param_hdr.type = SCTP_PARAM_HMAC_ALGO; in sctp_endpoint_init()
100 auth_hmacs->param_hdr.length = in sctp_endpoint_init()
102 auth_hmacs->hmac_ids[0] = htons(SCTP_AUTH_HMAC_ID_SHA1); in sctp_endpoint_init()
174 ep->auth_hmacs_list = auth_hmacs; in sctp_endpoint_init()
183 kfree(auth_hmacs); in sctp_endpoint_init()
268 sctp_auth_destroy_hmacs(ep->auth_hmacs); in sctp_endpoint_destroy()
Dsm_make_chunk.c188 *auth_hmacs = NULL; in sctp_make_init() local
236 auth_hmacs = (sctp_paramhdr_t *)asoc->c.auth_hmacs; in sctp_make_init()
237 if (auth_hmacs->length) in sctp_make_init()
238 chunksize += ntohs(auth_hmacs->length); in sctp_make_init()
240 auth_hmacs = NULL; in sctp_make_init()
316 if (auth_hmacs) in sctp_make_init()
317 sctp_addto_chunk(retval, ntohs(auth_hmacs->length), in sctp_make_init()
318 auth_hmacs); in sctp_make_init()
344 *auth_hmacs = NULL, in sctp_make_init_ack() local
390 auth_hmacs = (sctp_paramhdr_t *)asoc->c.auth_hmacs; in sctp_make_init_ack()
[all …]
Dassociola.c320 memcpy(asoc->c.auth_hmacs, ep->auth_hmacs_list, in sctp_association_init()