| /src/crypto/external/bsd/openssl/dist/test/helpers/ |
| predefined_dhparams.c | 24 EVP_PKEY *dhpkey = NULL; local 38 || EVP_PKEY_fromdata(pctx, &dhpkey, EVP_PKEY_KEY_PARAMETERS, params) <= 0) 45 return dhpkey; 53 EVP_PKEY *dhpkey = NULL; local 63 dhpkey = get_dh_from_pg_bn(libctx, type, p, g, q); 69 return dhpkey; 155 EVP_PKEY *dhpkey = NULL; local 165 dhpkey = get_dh_from_pg_bn(libctx, "DH", p, g, NULL); 170 return dhpkey; 176 EVP_PKEY *dhpkey = NULL local [all...] |
| /src/crypto/external/apache2/openssl/dist/test/helpers/ |
| predefined_dhparams.c | 24 EVP_PKEY *dhpkey = NULL; local 38 || EVP_PKEY_fromdata(pctx, &dhpkey, EVP_PKEY_KEY_PARAMETERS, params) <= 0) 45 return dhpkey; 53 EVP_PKEY *dhpkey = NULL; local 63 dhpkey = get_dh_from_pg_bn(libctx, type, p, g, q); 69 return dhpkey; 163 EVP_PKEY *dhpkey = NULL; local 173 dhpkey = get_dh_from_pg_bn(libctx, "DH", p, g, NULL); 178 return dhpkey; 184 EVP_PKEY *dhpkey = NULL local [all...] |
| /src/crypto/external/apache2/openssl/dist/ssl/ |
| ssl_conf.c | 612 EVP_PKEY *dhpkey = NULL; local 625 = OSSL_DECODER_CTX_new_for_pkey(&dhpkey, "PEM", NULL, "DH", 632 && dhpkey == NULL 637 if (dhpkey == NULL) { 647 if ((rv = SSL_CTX_set0_tmp_dh_pkey(cctx->ctx, dhpkey)) > 0) 648 dhpkey = NULL; 651 if ((rv = SSL_set0_tmp_dh_pkey(cctx->ssl, dhpkey)) > 0) 652 dhpkey = NULL; 655 EVP_PKEY_free(dhpkey);
|
| /src/crypto/external/bsd/openssl/dist/ssl/ |
| ssl_conf.c | 587 EVP_PKEY *dhpkey = NULL; local 600 = OSSL_DECODER_CTX_new_for_pkey(&dhpkey, "PEM", NULL, "DH", 607 && dhpkey == NULL 611 if (dhpkey == NULL) { 621 if ((rv = SSL_CTX_set0_tmp_dh_pkey(cctx->ctx, dhpkey)) > 0) 622 dhpkey = NULL; 625 if ((rv = SSL_set0_tmp_dh_pkey(cctx->ssl, dhpkey)) > 0) 626 dhpkey = NULL; 629 EVP_PKEY_free(dhpkey);
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| ssl_old_test.c | 915 EVP_PKEY *dhpkey; local 1515 dhpkey = get_dh1024dsa(libctx); 1517 dhpkey = get_dh512(libctx); 1519 dhpkey = get_dh4096(libctx); 1521 dhpkey = get_dh2048(libctx); 1523 if (dhpkey == NULL || !EVP_PKEY_up_ref(dhpkey)) { 1524 EVP_PKEY_free(dhpkey); 1529 if (!SSL_CTX_set0_tmp_dh_pkey(s_ctx, dhpkey)) 1530 EVP_PKEY_free(dhpkey); [all...] |
| sslapitest.c | 11027 EVP_PKEY *dhpkey = NULL; local 11050 || !TEST_int_eq(EVP_PKEY_fromdata(pctx, &dhpkey, 11056 tmp_dh_params = dhpkey; 11074 EVP_PKEY *dhpkey = get_tmp_dh_params(); local 11077 if (!TEST_ptr(dhpkey)) 11082 * after we free dhpkey, there will still be a reference to the owning 11086 ret = EVP_PKEY_get1_DH(dhpkey); 11089 EVP_PKEY_free(dhpkey); 11119 EVP_PKEY *dhpkey = NULL; local 11129 dhpkey = get_tmp_dh_params() [all...] |
| /src/crypto/external/bsd/openssl/dist/test/ |
| ssl_old_test.c | 905 EVP_PKEY *dhpkey; local 1515 dhpkey = get_dh1024dsa(libctx); 1517 dhpkey = get_dh512(libctx); 1519 dhpkey = get_dh4096(libctx); 1521 dhpkey = get_dh2048(libctx); 1523 if (dhpkey == NULL || !EVP_PKEY_up_ref(dhpkey)) { 1524 EVP_PKEY_free(dhpkey); 1529 if (!SSL_CTX_set0_tmp_dh_pkey(s_ctx, dhpkey)) 1530 EVP_PKEY_free(dhpkey); [all...] |
| sslapitest.c | 9571 EVP_PKEY *dhpkey = NULL; local 9594 || !TEST_int_eq(EVP_PKEY_fromdata(pctx, &dhpkey, 9599 tmp_dh_params = dhpkey; 9617 EVP_PKEY *dhpkey = get_tmp_dh_params(); local 9620 if (!TEST_ptr(dhpkey)) 9625 * after we free dhpkey, there will still be a reference to the owning 9629 ret = EVP_PKEY_get1_DH(dhpkey); 9632 EVP_PKEY_free(dhpkey); 9662 EVP_PKEY *dhpkey = NULL; local 9672 dhpkey = get_tmp_dh_params() [all...] |
| /src/crypto/external/apache2/openssl/dist/apps/ |
| s_server.c | 2218 EVP_PKEY *dhpkey = NULL; local 2221 dhpkey = load_keyparams(dhfile, FORMAT_UNDEF, 0, "DH", "DH parameters"); 2223 dhpkey = load_keyparams_suppress(s_cert_file, FORMAT_UNDEF, 0, "DH", 2226 if (dhpkey != NULL) { 2233 if (dhpkey == NULL) { 2240 if (!EVP_PKEY_up_ref(dhpkey)) { 2241 EVP_PKEY_free(dhpkey); 2244 if (!SSL_CTX_set0_tmp_dh_pkey(ctx, dhpkey)) { 2248 EVP_PKEY_free(dhpkey); 2249 EVP_PKEY_free(dhpkey); [all...] |
| /src/crypto/external/bsd/openssl/dist/apps/ |
| s_server.c | 2029 EVP_PKEY *dhpkey = NULL; local 2032 dhpkey = load_keyparams(dhfile, FORMAT_UNDEF, 0, "DH", "DH parameters"); 2034 dhpkey = load_keyparams_suppress(s_cert_file, FORMAT_UNDEF, 0, "DH", 2037 if (dhpkey != NULL) { 2044 if (dhpkey == NULL) { 2051 if (!EVP_PKEY_up_ref(dhpkey)) { 2052 EVP_PKEY_free(dhpkey); 2055 if (!SSL_CTX_set0_tmp_dh_pkey(ctx, dhpkey)) { 2059 EVP_PKEY_free(dhpkey); 2060 EVP_PKEY_free(dhpkey); [all...] |