Home
last modified time | relevance | path

Searched refs:hmac_algo (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/netinet/
H A Dsctp_auth.c811 sctp_get_auth_chunk_len(uint16_t hmac_algo) in sctp_get_auth_chunk_len() argument
815 size = sizeof(struct sctp_auth_chunk) + sctp_get_hmac_digest_len(hmac_algo); in sctp_get_auth_chunk_len()
820 sctp_get_hmac_digest_len(uint16_t hmac_algo) in sctp_get_hmac_digest_len() argument
822 switch (hmac_algo) { in sctp_get_hmac_digest_len()
834 sctp_get_hmac_block_len(uint16_t hmac_algo) in sctp_get_hmac_block_len() argument
836 switch (hmac_algo) { in sctp_get_hmac_block_len()
849 sctp_hmac_init(uint16_t hmac_algo, sctp_hash_context_t *ctx) in sctp_hmac_init() argument
851 switch (hmac_algo) { in sctp_hmac_init()
866 sctp_hmac_update(uint16_t hmac_algo, sctp_hash_context_t *ctx, in sctp_hmac_update() argument
869 switch (hmac_algo) { in sctp_hmac_update()
[all …]
H A Dsctp_auth.h170 extern uint32_t sctp_get_auth_chunk_len(uint16_t hmac_algo);
171 extern uint32_t sctp_get_hmac_digest_len(uint16_t hmac_algo);
173 sctp_hmac(uint16_t hmac_algo, uint8_t *key, uint32_t keylen,
176 sctp_compute_hmac(uint16_t hmac_algo, sctp_key_t *key,
182 sctp_hmac_m(uint16_t hmac_algo, uint8_t *key, uint32_t keylen,
185 sctp_compute_hmac_m(uint16_t hmac_algo, sctp_key_t *key,