Searched refs:hmac_id (Results 1 – 5 of 5) sorted by relevance
653 sctp_auth_add_hmacid(sctp_hmaclist_t *list, uint16_t hmac_id) in sctp_auth_add_hmacid() argument661 "SCTP: HMAC id list full, ignoring add %u\n", hmac_id); in sctp_auth_add_hmacid()664 if ((hmac_id != SCTP_AUTH_HMAC_ID_SHA1) && in sctp_auth_add_hmacid()665 (hmac_id != SCTP_AUTH_HMAC_ID_SHA256)) { in sctp_auth_add_hmacid()670 if (list->hmac[i] == hmac_id) { in sctp_auth_add_hmacid()675 SCTPDBG(SCTP_DEBUG_AUTH1, "SCTP: add HMAC id %u to list\n", hmac_id); in sctp_auth_add_hmacid()676 list->hmac[list->num_algo++] = hmac_id; in sctp_auth_add_hmacid()749 uint16_t hmac_id; in sctp_serialize_hmaclist() local755 hmac_id = htons(list->hmac[i]); in sctp_serialize_hmaclist()756 memcpy(ptr, &hmac_id, sizeof(hmac_id)); in sctp_serialize_hmaclist()[all …]
155 extern int sctp_auth_add_hmacid(sctp_hmaclist_t *list, uint16_t hmac_id);
434 uint16_t hmac_id; member
516 uint16_t hmac_id; member
13828 auth->hmac_id = htons(stcb->asoc.peer_hmac_id); in sctp_add_auth_chunk()