Lines Matching defs:hmac_id
25 .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)
518 return &sctp_hmac_list[hmac_id];
568 static int __sctp_auth_find_hmacid(__be16 *hmacs, int n_elts, __be16 hmac_id)
574 if (hmac_id == hmacs[i]) {
585 __be16 hmac_id)
597 return __sctp_auth_find_hmacid(hmacs->hmac_ids, n_elt, hmac_id);
713 __u16 key_id, hmac_id;
723 hmac_id = ntohs(auth->auth_hdr.hmac_id);
739 tfm = asoc->ep->auth_hmacs[hmac_id];