Searched refs:hmac_st (Results 1 - 2 of 2) sorted by relevance

/netbsd-current/external/mpl/bind/dist/tests/isc/
H A Dhmac_test.c50 isc_hmac_t *hmac_st = isc_hmac_new(); local
51 if (hmac_st == NULL) {
54 *state = hmac_st;
81 isc_hmac_t *hmac_st = isc_hmac_new(); local
82 assert_non_null(hmac_st);
83 isc_hmac_free(hmac_st); /* Cleanup */
89 isc_hmac_t *hmac_st = isc_hmac_new(); local
90 assert_non_null(hmac_st);
91 isc_hmac_free(hmac_st); /* Test freeing valid message digest context */
96 isc_hmac_test(isc_hmac_t *hmac_st, cons argument
131 isc_hmac_t *hmac_st = *state; local
167 isc_hmac_t *hmac_st = *state; local
179 isc_hmac_t *hmac_st = *state; local
209 isc_hmac_t *hmac_st = *state; local
227 isc_hmac_t *hmac_st = *state; local
324 isc_hmac_t *hmac_st = *state; local
407 isc_hmac_t *hmac_st = *state; local
530 isc_hmac_t *hmac_st = *state; local
653 isc_hmac_t *hmac_st = *state; local
782 isc_hmac_t *hmac_st = *state; local
[all...]
/netbsd-current/external/mpl/bind/dist/lib/isc/
H A Dhmac.c32 EVP_MD_CTX *hmac_st = EVP_MD_CTX_new(); local
33 RUNTIME_CHECK(hmac_st != NULL);
34 return ((isc_hmac_t *)hmac_st);
38 isc_hmac_free(isc_hmac_t *hmac_st) { argument
39 if (hmac_st == NULL) {
43 EVP_MD_CTX_free((EVP_MD_CTX *)hmac_st);
47 isc_hmac_init(isc_hmac_t *hmac_st, const void *key, const size_t keylen, argument
51 REQUIRE(hmac_st != NULL);
65 if (EVP_DigestSignInit(hmac_st, NULL, md_type, NULL, pkey) != 1) {
77 isc_hmac_reset(isc_hmac_t *hmac_st) { argument
89 isc_hmac_update(isc_hmac_t *hmac_st, const unsigned char *buf, const size_t len) argument
106 isc_hmac_final(isc_hmac_t *hmac_st, unsigned char *digest, unsigned int *digestlen) argument
125 isc_hmac_get_md_type(isc_hmac_t *hmac_st) argument
132 isc_hmac_get_size(isc_hmac_t *hmac_st) argument
139 isc_hmac_get_block_size(isc_hmac_t *hmac_st) argument
150 isc_hmac_t *hmac_st = isc_hmac_new(); local
[all...]

Completed in 176 milliseconds