Home
last modified time | relevance | path

Searched refs:p_random (Results 1 – 2 of 2) sorted by relevance

/external/usrsctp/usrsctplib/netinet/
Dsctp_auth.c1403 struct sctp_auth_random *p_random = NULL; local
1435 p_random = (struct sctp_auth_random *)phdr;
1436 random_len = plen - sizeof(*p_random);
1489 keylen = sizeof(*p_random) + random_len + sizeof(*hmacs) + hmacs_len;
1496 if (p_random != NULL) {
1497 keylen = sizeof(*p_random) + random_len;
1498 memcpy(new_key->key, p_random, keylen);
Dsctp_pcb.c7094 struct sctp_auth_random *p_random = NULL; local
7551 p_random = (struct sctp_auth_random *)phdr;
7552 random_len = plen - sizeof(*p_random);
7717 keylen = sizeof(*p_random) + random_len + sizeof(*hmacs) + hmacs_len;
7724 if (p_random != NULL) {
7725 keylen = sizeof(*p_random) + random_len;
7726 memcpy(new_key->key, p_random, keylen);