Lines Matching defs:hashctx
585 static const uint8_t *dohash(EVP_MD_CTX *hashctx, const uint8_t *msg,
590 if (!EVP_DigestInit_ex(hashctx, EVP_shake256(), NULL)
591 || !EVP_DigestUpdate(hashctx, msg, msglen)
592 || !EVP_DigestFinalXOF(hashctx, hashout, sizeof(hashout)))
601 EVP_MD_CTX *hashctx = EVP_MD_CTX_new();
603 if (!TEST_ptr(hashctx)
633 dohash(hashctx, phmsg1,
638 dohash(hashctx, phmsg2,
643 EVP_MD_CTX_free(hashctx);
647 EVP_MD_CTX_free(hashctx);