Home
last modified time | relevance | path

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

/linux-6.6.21/net/sctp/
Dauth.c228 (struct sctp_hmac_algo_param *)asoc->c.auth_hmacs, gfp); in sctp_auth_make_local_vector()
460 if (ep->auth_hmacs) in sctp_auth_init_hmacs()
464 ep->auth_hmacs = kcalloc(SCTP_AUTH_NUM_HMACS, in sctp_auth_init_hmacs()
467 if (!ep->auth_hmacs) in sctp_auth_init_hmacs()
481 if (ep->auth_hmacs[id]) in sctp_auth_init_hmacs()
489 ep->auth_hmacs[id] = tfm; in sctp_auth_init_hmacs()
496 sctp_auth_destroy_hmacs(ep->auth_hmacs); in sctp_auth_init_hmacs()
497 ep->auth_hmacs = NULL; in sctp_auth_init_hmacs()
502 void sctp_auth_destroy_hmacs(struct crypto_shash *auth_hmacs[]) in sctp_auth_destroy_hmacs() argument
506 if (!auth_hmacs) in sctp_auth_destroy_hmacs()
[all …]
Dsm_make_chunk.c213 struct sctp_paramhdr *auth_hmacs = NULL; in sctp_make_init() local
286 auth_hmacs = (struct sctp_paramhdr *)asoc->c.auth_hmacs; in sctp_make_init()
287 if (auth_hmacs->length) in sctp_make_init()
288 chunksize += SCTP_PAD4(ntohs(auth_hmacs->length)); in sctp_make_init()
290 auth_hmacs = NULL; in sctp_make_init()
367 if (auth_hmacs) in sctp_make_init()
368 sctp_addto_chunk(retval, ntohs(auth_hmacs->length), in sctp_make_init()
369 auth_hmacs); in sctp_make_init()
387 struct sctp_paramhdr *auth_hmacs = NULL; in sctp_make_init_ack() local
452 auth_hmacs = (struct sctp_paramhdr *)asoc->c.auth_hmacs; in sctp_make_init_ack()
[all …]
Dassociola.c263 memcpy(asoc->c.auth_hmacs, ep->auth_hmacs_list, in sctp_association_init()
Dsocket.c9563 if (oldsp->ep->auth_hmacs) { in sctp_sock_migrate()
/linux-6.6.21/include/net/sctp/
Dauth.h81 void sctp_auth_destroy_hmacs(struct crypto_shash *auth_hmacs[]);
Dstructs.h325 __u8 auth_hmacs[SCTP_AUTH_NUM_HMACS * sizeof(__u16) + 2]; member
1337 struct crypto_shash **auth_hmacs; member