HomeSort by: relevance | last modified time | path
    Searched refs:dhpkey (Results 1 - 14 of 14) sorted by relevancy

  /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;
584 EVP_PKEY *dhpkey = NULL; local
594 dhpkey = get_dh_from_pg_bn(libctx, "DH", p, g, NULL);
599 return dhpkey;
605 EVP_PKEY *dhpkey = NULL local
    [all...]
  /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/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);
ssl_lib.c 7541 int SSL_set0_tmp_dh_pkey(SSL *s, EVP_PKEY *dhpkey)
7549 EVP_PKEY_get_security_bits(dhpkey), 0, dhpkey)) {
7554 sc->cert->dh_tmp = dhpkey;
7558 int SSL_CTX_set0_tmp_dh_pkey(SSL_CTX *ctx, EVP_PKEY *dhpkey)
7561 EVP_PKEY_get_security_bits(dhpkey), 0, dhpkey)) {
7566 ctx->cert->dh_tmp = 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);
ssl_lib.c 6056 int SSL_set0_tmp_dh_pkey(SSL *s, EVP_PKEY *dhpkey)
6059 EVP_PKEY_get_security_bits(dhpkey), 0, dhpkey)) {
6064 s->cert->dh_tmp = dhpkey;
6068 int SSL_CTX_set0_tmp_dh_pkey(SSL_CTX *ctx, EVP_PKEY *dhpkey)
6071 EVP_PKEY_get_security_bits(dhpkey), 0, dhpkey)) {
6076 ctx->cert->dh_tmp = dhpkey;
  /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...]
  /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 10648 EVP_PKEY *dhpkey = NULL; local
10671 || !TEST_int_eq(EVP_PKEY_fromdata(pctx, &dhpkey,
10677 tmp_dh_params = dhpkey;
10695 EVP_PKEY *dhpkey = get_tmp_dh_params(); local
10698 if (!TEST_ptr(dhpkey))
10703 * after we free dhpkey, there will still be a reference to the owning
10707 ret = EVP_PKEY_get1_DH(dhpkey);
10710 EVP_PKEY_free(dhpkey);
10740 EVP_PKEY *dhpkey = NULL; local
10750 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/apache2/openssl/dist/include/openssl/
ssl.h.in 1530 int SSL_set0_tmp_dh_pkey(SSL *s, EVP_PKEY *dhpkey);
1531 int SSL_CTX_set0_tmp_dh_pkey(SSL_CTX *ctx, EVP_PKEY *dhpkey);
  /src/crypto/external/bsd/openssl/dist/include/openssl/
ssl.h.in 1488 int SSL_set0_tmp_dh_pkey(SSL *s, EVP_PKEY *dhpkey);
1489 int SSL_CTX_set0_tmp_dh_pkey(SSL_CTX *ctx, EVP_PKEY *dhpkey);

Completed in 61 milliseconds