Lines Matching defs:hash
992 * find if there's a session in the hash table that would conflict with
3300 * NB: If this function (or indeed the hash function which uses a sort of
4927 EVP_MD_CTX *ssl_replace_hash(EVP_MD_CTX **hash, const EVP_MD *md)
4929 ssl_clear_hash_ctx(hash);
4930 *hash = EVP_MD_CTX_new();
4931 if (*hash == NULL || (md && EVP_DigestInit_ex(*hash, md, NULL) <= 0)) {
4932 EVP_MD_CTX_free(*hash);
4933 *hash = NULL;
4936 return *hash;
4939 void ssl_clear_hash_ctx(EVP_MD_CTX **hash)
4942 EVP_MD_CTX_free(*hash);
4943 *hash = NULL;