Searched refs:hashparams (Results 1 – 3 of 3) sorted by relevance
51 Curl_HMAC_init(const HMAC_params * hashparams, in Curl_HMAC_init() argument61 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 …]
57 HMAC_context * Curl_HMAC_init(const HMAC_params *hashparams,
1650 uint32_t *hashparams = (unsigned int *)mch; in ptp_mtpz_opensecuresyncsession() local1657 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()