Searched refs:auth_hmacs (Results 1 – 6 of 6) sorted by relevance
228 (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() argument506 if (!auth_hmacs) in sctp_auth_destroy_hmacs()[all …]
213 struct sctp_paramhdr *auth_hmacs = NULL; in sctp_make_init() local286 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() local452 auth_hmacs = (struct sctp_paramhdr *)asoc->c.auth_hmacs; in sctp_make_init_ack()[all …]
263 memcpy(asoc->c.auth_hmacs, ep->auth_hmacs_list, in sctp_association_init()
9563 if (oldsp->ep->auth_hmacs) { in sctp_sock_migrate()
81 void sctp_auth_destroy_hmacs(struct crypto_shash *auth_hmacs[]);
325 __u8 auth_hmacs[SCTP_AUTH_NUM_HMACS * sizeof(__u16) + 2]; member1337 struct crypto_shash **auth_hmacs; member