Lines Matching defs:tmphd
339 hmac256_context_t tmphd;
341 tmphd = _gcry_hmac256_new (NULL, 0);
342 if (!tmphd)
347 _gcry_hmac256_update (tmphd, key, keylen);
348 finalize (tmphd);
349 memcpy (ipad, tmphd->buf, 32);
350 memcpy (hd->opad, tmphd->buf, 32);
351 _gcry_hmac256_release (tmphd);
434 hmac256_context_t tmphd;
436 tmphd = _gcry_hmac256_new (NULL, 0);
437 if (!tmphd)
442 _gcry_hmac256_update (tmphd, hd->opad, 64);
443 _gcry_hmac256_update (tmphd, hd->buf, 32);
444 finalize (tmphd);
445 memcpy (hd->buf, tmphd->buf, 32);
446 _gcry_hmac256_release (tmphd);