Lines Matching refs:mdctx
727 EVP_MD_CTX *mdctx; local
773 mdctx = EVP_MD_CTX_create();
774 if (!mdctx)
777 if (EVP_DigestInit_ex(mdctx, EVP_sha256(), NULL) != 1) {
778 EVP_MD_CTX_destroy(mdctx);
784 EVP_DigestUpdate(mdctx, &info->ssl_client_options_set,
789 EVP_DigestUpdate(mdctx, &info->ssl_client_options_clear,
794 EVP_DigestUpdate(mdctx, cipher_list, strlen(cipher_list));
798 EVP_DigestUpdate(mdctx, info->client_tls_1_3_plus_cipher_list,
804 EVP_DigestUpdate(mdctx, &c, 1);
808 EVP_DigestUpdate(mdctx, ca_filepath, strlen(ca_filepath));
811 EVP_DigestUpdate(mdctx, cert_filepath, strlen(cert_filepath));
814 EVP_DigestUpdate(mdctx, private_key_filepath,
817 EVP_DigestUpdate(mdctx, ca_mem, ca_mem_len);
820 EVP_DigestUpdate(mdctx, cert_mem, cert_mem_len);
823 EVP_DigestFinal_ex(mdctx, hash, &len);
824 EVP_MD_CTX_destroy(mdctx);