Home
last modified time | relevance | path

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

/external/curl/lib/
Dhmac.c52 Curl_HMAC_init(const struct HMAC_params *hashparams, in Curl_HMAC_init() argument
62 i = sizeof(*ctxt) + 2 * hashparams->hmac_ctxtsize + in Curl_HMAC_init()
63 hashparams->hmac_resultlen; in Curl_HMAC_init()
69 ctxt->hmac_hash = hashparams; in Curl_HMAC_init()
72 hashparams->hmac_ctxtsize); in Curl_HMAC_init()
75 if(keylen > hashparams->hmac_maxkeylen) { in Curl_HMAC_init()
76 (*hashparams->hmac_hinit)(ctxt->hmac_hashctxt1); in Curl_HMAC_init()
77 (*hashparams->hmac_hupdate)(ctxt->hmac_hashctxt1, key, keylen); in Curl_HMAC_init()
78 hkey = (unsigned char *) ctxt->hmac_hashctxt2 + hashparams->hmac_ctxtsize; in Curl_HMAC_init()
79 (*hashparams->hmac_hfinal)(hkey, ctxt->hmac_hashctxt1); in Curl_HMAC_init()
[all …]
Dcurl_hmac.h57 struct HMAC_context *Curl_HMAC_init(const struct HMAC_params *hashparams,
65 CURLcode Curl_hmacit(const struct HMAC_params *hashparams,