Home
last modified time | relevance | path

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

/linux/net/sctp/
A Dauth.c25 .hmac_id = SCTP_AUTH_HMAC_ID_RESERVED_0,
28 .hmac_id = SCTP_AUTH_HMAC_ID_SHA1,
34 .hmac_id = SCTP_AUTH_HMAC_ID_RESERVED_2,
38 .hmac_id = SCTP_AUTH_HMAC_ID_SHA256,
516 struct sctp_hmac *sctp_auth_get_hmac(__u16 hmac_id) in sctp_auth_get_hmac() argument
518 return &sctp_hmac_list[hmac_id]; in sctp_auth_get_hmac()
574 if (hmac_id == hmacs[i]) { in __sctp_auth_find_hmacid()
585 __be16 hmac_id) in sctp_auth_asoc_verify_hmac_id() argument
713 __u16 key_id, hmac_id; in sctp_auth_calculate_hmac() local
723 hmac_id = ntohs(auth->auth_hdr.hmac_id); in sctp_auth_calculate_hmac()
[all …]
A Dsm_statefuns.c4366 if (!sctp_auth_asoc_verify_hmac_id(asoc, auth_hdr->hmac_id)) in sctp_sf_authenticate()
4384 hmac = sctp_auth_get_hmac(ntohs(auth_hdr->hmac_id)); in sctp_sf_authenticate()
4457 &auth_hdr->hmac_id, in sctp_sf_eat_auth()
A Dsm_make_chunk.c1344 auth_hdr.hmac_id = htons(hmac_desc->hmac_id); in sctp_make_auth()
/linux/include/net/sctp/
A Dauth.h32 __u16 hmac_id; /* one of the above ids */ member
82 struct sctp_hmac *sctp_auth_get_hmac(__u16 hmac_id);
87 __be16 hmac_id);
/linux/include/linux/
A Dsctp.h729 __be16 hmac_id; member

Completed in 24 milliseconds