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

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/sctp/
H A Dendpointola.c68 struct sctp_hmac_algo_param *auth_hmacs = NULL; local
82 auth_hmacs = kzalloc(sizeof(sctp_hmac_algo_param_t) +
84 if (!auth_hmacs)
97 auth_hmacs->param_hdr.type = SCTP_PARAM_HMAC_ALGO;
98 auth_hmacs->param_hdr.length =
100 auth_hmacs->hmac_ids[0] = htons(SCTP_AUTH_HMAC_ID_SHA1);
173 ep->auth_hmacs_list = auth_hmacs;
182 kfree(auth_hmacs);
267 sctp_auth_destroy_hmacs(ep->auth_hmacs);
H A Dauth.c237 (sctp_hmac_algo_param_t*)asoc->c.auth_hmacs,
453 ep->auth_hmacs = NULL;
457 if (ep->auth_hmacs)
461 ep->auth_hmacs = kzalloc(
464 if (!ep->auth_hmacs)
478 if (ep->auth_hmacs[id])
487 ep->auth_hmacs[id] = tfm;
494 sctp_auth_destroy_hmacs(ep->auth_hmacs);
499 void sctp_auth_destroy_hmacs(struct crypto_hash *auth_hmacs[]) argument
503 if (!auth_hmacs)
[all...]
H A Dsm_make_chunk.c212 *auth_hmacs = NULL; local
263 auth_hmacs = (sctp_paramhdr_t *)asoc->c.auth_hmacs;
264 if (auth_hmacs->length)
265 chunksize += WORD_ROUND(ntohs(auth_hmacs->length));
267 auth_hmacs = NULL;
335 if (auth_hmacs)
336 sctp_addto_chunk(retval, ntohs(auth_hmacs->length),
337 auth_hmacs);
364 *auth_hmacs local
[all...]
H A Dassociola.c326 memcpy(asoc->c.auth_hmacs, ep->auth_hmacs_list,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/sctp/
H A Dendpointola.c68 struct sctp_hmac_algo_param *auth_hmacs = NULL; local
82 auth_hmacs = kzalloc(sizeof(sctp_hmac_algo_param_t) +
84 if (!auth_hmacs)
97 auth_hmacs->param_hdr.type = SCTP_PARAM_HMAC_ALGO;
98 auth_hmacs->param_hdr.length =
100 auth_hmacs->hmac_ids[0] = htons(SCTP_AUTH_HMAC_ID_SHA1);
173 ep->auth_hmacs_list = auth_hmacs;
182 kfree(auth_hmacs);
267 sctp_auth_destroy_hmacs(ep->auth_hmacs);
H A Dauth.c237 (sctp_hmac_algo_param_t*)asoc->c.auth_hmacs,
453 ep->auth_hmacs = NULL;
457 if (ep->auth_hmacs)
461 ep->auth_hmacs = kzalloc(
464 if (!ep->auth_hmacs)
478 if (ep->auth_hmacs[id])
487 ep->auth_hmacs[id] = tfm;
494 sctp_auth_destroy_hmacs(ep->auth_hmacs);
499 void sctp_auth_destroy_hmacs(struct crypto_hash *auth_hmacs[]) argument
503 if (!auth_hmacs)
[all...]
H A Dsm_make_chunk.c212 *auth_hmacs = NULL; local
263 auth_hmacs = (sctp_paramhdr_t *)asoc->c.auth_hmacs;
264 if (auth_hmacs->length)
265 chunksize += WORD_ROUND(ntohs(auth_hmacs->length));
267 auth_hmacs = NULL;
335 if (auth_hmacs)
336 sctp_addto_chunk(retval, ntohs(auth_hmacs->length),
337 auth_hmacs);
364 *auth_hmacs local
[all...]
H A Dassociola.c326 memcpy(asoc->c.auth_hmacs, ep->auth_hmacs_list,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/net/sctp/
H A Dauth.h100 void sctp_auth_destroy_hmacs(struct crypto_hash *auth_hmacs[]);
H A Dstructs.h427 __u8 auth_hmacs[SCTP_AUTH_NUM_HMACS + 2]; member in struct:sctp_cookie
1363 struct crypto_hash **auth_hmacs; member in struct:sctp_endpoint
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/net/sctp/
H A Dauth.h100 void sctp_auth_destroy_hmacs(struct crypto_hash *auth_hmacs[]);
H A Dstructs.h427 __u8 auth_hmacs[SCTP_AUTH_NUM_HMACS + 2]; member in struct:sctp_cookie
1363 struct crypto_hash **auth_hmacs; member in struct:sctp_endpoint

Completed in 319 milliseconds