Searched refs:hmac_id (Results 1 - 5 of 5) sorted by relevance
/linux-4.4.14/include/net/sctp/ |
H A D | auth.h | 46 __u16 hmac_id; /* one of the above ids */ member in struct:sctp_hmac 94 struct sctp_hmac *sctp_auth_get_hmac(__u16 hmac_id); 99 __be16 hmac_id);
|
/linux-4.4.14/net/sctp/ |
H A D | auth.c | 40 .hmac_id = SCTP_AUTH_HMAC_ID_RESERVED_0, 43 .hmac_id = SCTP_AUTH_HMAC_ID_SHA1, 49 .hmac_id = SCTP_AUTH_HMAC_ID_RESERVED_2, 53 .hmac_id = SCTP_AUTH_HMAC_ID_SHA256, 518 struct sctp_hmac *sctp_auth_get_hmac(__u16 hmac_id) sctp_auth_get_hmac() argument 520 return &sctp_hmac_list[hmac_id]; sctp_auth_get_hmac() 569 static int __sctp_auth_find_hmacid(__be16 *hmacs, int n_elts, __be16 hmac_id) __sctp_auth_find_hmacid() argument 575 if (hmac_id == hmacs[i]) { __sctp_auth_find_hmacid() 586 __be16 hmac_id) sctp_auth_asoc_verify_hmac_id() 597 return __sctp_auth_find_hmacid(hmacs->hmac_ids, n_elt, hmac_id); sctp_auth_asoc_verify_hmac_id() 715 __u16 key_id, hmac_id; sctp_auth_calculate_hmac() local 725 hmac_id = ntohs(auth->auth_hdr.hmac_id); sctp_auth_calculate_hmac() 747 desc.tfm = asoc->ep->auth_hmacs[hmac_id]; sctp_auth_calculate_hmac() 585 sctp_auth_asoc_verify_hmac_id(const struct sctp_association *asoc, __be16 hmac_id) sctp_auth_asoc_verify_hmac_id() argument
|
H A D | sm_make_chunk.c | 1278 auth_hdr.hmac_id = htons(hmac_desc->hmac_id); sctp_make_auth()
|
H A D | sm_statefuns.c | 4009 if (!sctp_auth_asoc_verify_hmac_id(asoc, auth_hdr->hmac_id)) sctp_sf_authenticate() 4024 hmac = sctp_auth_get_hmac(ntohs(auth_hdr->hmac_id)); sctp_sf_authenticate() 4098 &auth_hdr->hmac_id, sctp_sf_eat_auth()
|
/linux-4.4.14/include/linux/ |
H A D | sctp.h | 699 __be16 hmac_id; member in struct:sctp_authhdr
|
Completed in 120 milliseconds