Searched refs:hmac_id (Results 1 – 5 of 5) sorted by relevance
/linux-3.4.99/net/sctp/ |
D | auth.c | 47 .hmac_id = SCTP_AUTH_HMAC_ID_RESERVED_0, 50 .hmac_id = SCTP_AUTH_HMAC_ID_SHA1, 56 .hmac_id = SCTP_AUTH_HMAC_ID_RESERVED_2, 60 .hmac_id = SCTP_AUTH_HMAC_ID_SHA256, 515 struct sctp_hmac *sctp_auth_get_hmac(__u16 hmac_id) in sctp_auth_get_hmac() argument 517 return &sctp_hmac_list[hmac_id]; in sctp_auth_get_hmac() 570 static int __sctp_auth_find_hmacid(__be16 *hmacs, int n_elts, __be16 hmac_id) in __sctp_auth_find_hmacid() argument 576 if (hmac_id == hmacs[i]) { in __sctp_auth_find_hmacid() 587 __be16 hmac_id) in sctp_auth_asoc_verify_hmac_id() argument 598 return __sctp_auth_find_hmacid(hmacs->hmac_ids, n_elt, hmac_id); in sctp_auth_asoc_verify_hmac_id() [all …]
|
D | sm_statefuns.c | 3942 if (!sctp_auth_asoc_verify_hmac_id(asoc, auth_hdr->hmac_id)) in sctp_sf_authenticate() 3957 hmac = sctp_auth_get_hmac(ntohs(auth_hdr->hmac_id)); in sctp_sf_authenticate() 4030 &auth_hdr->hmac_id, in sctp_sf_eat_auth()
|
D | sm_make_chunk.c | 1219 auth_hdr.hmac_id = htons(hmac_desc->hmac_id); in sctp_make_auth()
|
/linux-3.4.99/include/net/sctp/ |
D | auth.h | 53 __u16 hmac_id; /* one of the above ids */ member 101 struct sctp_hmac *sctp_auth_get_hmac(__u16 hmac_id); 106 __be16 hmac_id);
|
/linux-3.4.99/include/linux/ |
D | sctp.h | 702 __be16 hmac_id; member
|