Searched refs:auth_hmacs (Results 1 – 6 of 6) sorted by relevance
237 (sctp_hmac_algo_param_t*)asoc->c.auth_hmacs, in sctp_auth_make_local_vector()453 ep->auth_hmacs = NULL; in sctp_auth_init_hmacs()457 if (ep->auth_hmacs) in sctp_auth_init_hmacs()461 ep->auth_hmacs = kzalloc( in sctp_auth_init_hmacs()464 if (!ep->auth_hmacs) in sctp_auth_init_hmacs()478 if (ep->auth_hmacs[id]) in sctp_auth_init_hmacs()487 ep->auth_hmacs[id] = tfm; in sctp_auth_init_hmacs()494 sctp_auth_destroy_hmacs(ep->auth_hmacs); in sctp_auth_init_hmacs()499 void sctp_auth_destroy_hmacs(struct crypto_hash *auth_hmacs[]) in sctp_auth_destroy_hmacs() argument503 if (!auth_hmacs) in sctp_auth_destroy_hmacs()[all …]
68 struct sctp_hmac_algo_param *auth_hmacs = NULL; in sctp_endpoint_init() local82 auth_hmacs = kzalloc(sizeof(sctp_hmac_algo_param_t) + in sctp_endpoint_init()84 if (!auth_hmacs) in sctp_endpoint_init()97 auth_hmacs->param_hdr.type = SCTP_PARAM_HMAC_ALGO; in sctp_endpoint_init()98 auth_hmacs->param_hdr.length = in sctp_endpoint_init()100 auth_hmacs->hmac_ids[0] = htons(SCTP_AUTH_HMAC_ID_SHA1); in sctp_endpoint_init()173 ep->auth_hmacs_list = auth_hmacs; in sctp_endpoint_init()182 kfree(auth_hmacs); in sctp_endpoint_init()269 sctp_auth_destroy_hmacs(ep->auth_hmacs); in sctp_endpoint_destroy()
214 *auth_hmacs = NULL; in sctp_make_init() local265 auth_hmacs = (sctp_paramhdr_t *)asoc->c.auth_hmacs; in sctp_make_init()266 if (auth_hmacs->length) in sctp_make_init()267 chunksize += WORD_ROUND(ntohs(auth_hmacs->length)); in sctp_make_init()269 auth_hmacs = NULL; in sctp_make_init()348 if (auth_hmacs) in sctp_make_init()349 sctp_addto_chunk(retval, ntohs(auth_hmacs->length), in sctp_make_init()350 auth_hmacs); in sctp_make_init()377 *auth_hmacs = NULL, in sctp_make_init_ack() local425 auth_hmacs = (sctp_paramhdr_t *)asoc->c.auth_hmacs; in sctp_make_init_ack()[all …]
332 memcpy(asoc->c.auth_hmacs, ep->auth_hmacs_list, in sctp_association_init()
100 void sctp_auth_destroy_hmacs(struct crypto_hash *auth_hmacs[]);
441 __u8 auth_hmacs[SCTP_AUTH_NUM_HMACS * sizeof(__u16) + 2]; member1378 struct crypto_hash **auth_hmacs; member