Searched refs:hmac_id (Results 1 - 5 of 5) sorted by relevance

/freebsd-11-stable/sys/netinet/
H A Dsctp_auth.c663 sctp_auth_add_hmacid(sctp_hmaclist_t *list, uint16_t hmac_id) argument
671 "SCTP: HMAC id list full, ignoring add %u\n", hmac_id);
674 if ((hmac_id != SCTP_AUTH_HMAC_ID_SHA1) &&
675 (hmac_id != SCTP_AUTH_HMAC_ID_SHA256)) {
680 if (list->hmac[i] == hmac_id) {
685 SCTPDBG(SCTP_DEBUG_AUTH1, "SCTP: add HMAC id %u to list\n", hmac_id);
686 list->hmac[list->num_algo++] = hmac_id;
759 uint16_t hmac_id; local
765 hmac_id = htons(list->hmac[i]);
766 memcpy(ptr, &hmac_id, sizeo
1639 uint16_t hmac_id; local
[all...]
H A Dsctp_auth.h159 extern int sctp_auth_add_hmacid(sctp_hmaclist_t *list, uint16_t hmac_id);
H A Dsctp_header.h530 uint16_t hmac_id; member in struct:sctp_auth_chunk
H A Dsctp.h430 uint16_t hmac_id; member in struct:sctp_error_auth_invalid_hmac
H A Dsctp_output.c13830 auth->hmac_id = htons(stcb->asoc.peer_hmac_id);

Completed in 196 milliseconds