Home
last modified time | relevance | path

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

/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_auth.c831 sctp_get_auth_chunk_len(uint16_t hmac_algo) argument
835 size = sizeof(struct sctp_auth_chunk) + sctp_get_hmac_digest_len(hmac_algo);
840 sctp_get_hmac_digest_len(uint16_t hmac_algo) argument
842 switch (hmac_algo) {
856 sctp_get_hmac_block_len(uint16_t hmac_algo) argument
858 switch (hmac_algo) {
876 sctp_hmac_init(uint16_t hmac_algo, sctp_hash_context_t *ctx) argument
878 switch (hmac_algo) {
895 sctp_hmac_update(uint16_t hmac_algo, sctp_hash_context_t *ctx, argument
898 switch (hmac_algo) {
[all …]
Dsctp_auth.h167 extern uint32_t sctp_get_auth_chunk_len(uint16_t hmac_algo);
168 extern uint32_t sctp_get_hmac_digest_len(uint16_t hmac_algo);
169 extern uint32_t sctp_hmac(uint16_t hmac_algo, uint8_t *key, uint32_t keylen,
171 extern int sctp_verify_hmac(uint16_t hmac_algo, uint8_t *key, uint32_t keylen,
173 extern uint32_t sctp_compute_hmac(uint16_t hmac_algo, sctp_key_t *key,
178 extern uint32_t sctp_hmac_m(uint16_t hmac_algo, uint8_t *key, uint32_t keylen,
180 extern uint32_t sctp_compute_hmac_m(uint16_t hmac_algo, sctp_key_t *key,