Lines Matching defs:hash
928 * find if there's a session in the hash table that would conflict with
3200 * NB: If this function (or indeed the hash function which uses a sort of
4808 EVP_MD_CTX *ssl_replace_hash(EVP_MD_CTX **hash, const EVP_MD *md)
4810 ssl_clear_hash_ctx(hash);
4811 *hash = EVP_MD_CTX_new();
4812 if (*hash == NULL || (md && EVP_DigestInit_ex(*hash, md, NULL) <= 0)) {
4813 EVP_MD_CTX_free(*hash);
4814 *hash = NULL;
4817 return *hash;
4820 void ssl_clear_hash_ctx(EVP_MD_CTX **hash)
4823 EVP_MD_CTX_free(*hash);
4824 *hash = NULL;