Home
last modified time | relevance | path

Searched refs:auth_hmacs (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/net/sctp/
H A 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()
1031 struct sctp_hmac_algo_param *auth_hmacs; sctp_auth_init() local
[all...]
H A 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 in sctp_make_init_ack() local
[all...]
H A Dassociola.c261 memcpy(asoc->c.auth_hmacs, ep->auth_hmacs_list, in sctp_association_init()
H A Dsocket.c9315 /* New ep's auth_hmacs should be set if old ep's is set, in case in sctp_sock_migrate()
9317 * new ep's auth_hmacs couldn't be set in sctp_endpoint_init(). in sctp_sock_migrate()
9319 if (oldsp->ep->auth_hmacs) { in sctp_sock_migrate()
/kernel/linux/linux-6.6/net/sctp/
H A 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()
1031 struct sctp_hmac_algo_param *auth_hmacs; sctp_auth_init() local
[all...]
H A 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 in sctp_make_init_ack() local
[all...]
H A Dassociola.c263 memcpy(asoc->c.auth_hmacs, ep->auth_hmacs_list, in sctp_association_init()
H A Dsocket.c9559 /* New ep's auth_hmacs should be set if old ep's is set, in case in sctp_sock_migrate()
9561 * new ep's auth_hmacs couldn't be set in sctp_endpoint_init(). in sctp_sock_migrate()
9563 if (oldsp->ep->auth_hmacs) { in sctp_sock_migrate()
/kernel/linux/linux-5.10/include/net/sctp/
H A Dauth.h81 void sctp_auth_destroy_hmacs(struct crypto_shash *auth_hmacs[]);
H A Dstructs.h321 __u8 auth_hmacs[SCTP_AUTH_NUM_HMACS * sizeof(__u16) + 2]; member
1313 struct crypto_shash **auth_hmacs; member
/kernel/linux/linux-6.6/include/net/sctp/
H A Dauth.h81 void sctp_auth_destroy_hmacs(struct crypto_shash *auth_hmacs[]);
H A Dstructs.h325 __u8 auth_hmacs[SCTP_AUTH_NUM_HMACS * sizeof(__u16) + 2]; member
1337 struct crypto_shash **auth_hmacs; member

Completed in 39 milliseconds