Home
last modified time | relevance | path

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

/external/curl/lib/
Dhmac.c51 Curl_HMAC_init(const HMAC_params * hashparams, in Curl_HMAC_init() argument
61 i = sizeof(*ctxt) + 2 * hashparams->hmac_ctxtsize + in Curl_HMAC_init()
62 hashparams->hmac_resultlen; in Curl_HMAC_init()
68 ctxt->hmac_hash = hashparams; in Curl_HMAC_init()
71 hashparams->hmac_ctxtsize); in Curl_HMAC_init()
74 if(keylen > hashparams->hmac_maxkeylen) { in Curl_HMAC_init()
75 (*hashparams->hmac_hinit)(ctxt->hmac_hashctxt1); in Curl_HMAC_init()
76 (*hashparams->hmac_hupdate)(ctxt->hmac_hashctxt1, key, keylen); in Curl_HMAC_init()
77 hkey = (unsigned char *) ctxt->hmac_hashctxt2 + hashparams->hmac_ctxtsize; in Curl_HMAC_init()
78 (*hashparams->hmac_hfinal)(hkey, ctxt->hmac_hashctxt1); in Curl_HMAC_init()
[all …]
Dcurl_hmac.h57 HMAC_context * Curl_HMAC_init(const HMAC_params *hashparams,
/external/libmtp/src/
Dmtpz.c1650 uint32_t *hashparams = (unsigned int *)mch; in ptp_mtpz_opensecuresyncsession() local
1657 MTPZ_SWAP(hashparams[0]), MTPZ_SWAP(hashparams[1]), in ptp_mtpz_opensecuresyncsession()
1658 MTPZ_SWAP(hashparams[2]), MTPZ_SWAP(hashparams[3])); in ptp_mtpz_opensecuresyncsession()