/openssl/test/ |
H A D | quic_fifd_test.c | 106 static int test_generic(INFO *info, int kind) in test_generic() argument 321 INFO info = {0}; in test_fifd() local 324 cur_info = &info; in test_fifd() 336 || !TEST_true(ossl_quic_fifd_init(&info.fifd, info.cfq, info.ackm, in test_fifd() 351 if (!TEST_true(test_generic(&info, idx)) in test_fifd() 357 ossl_quic_fifd_cleanup(&info.fifd); in test_fifd() 358 ossl_quic_cfq_free(info.cfq); in test_fifd() 359 ossl_quic_txpim_free(info.txpim); in test_fifd() 360 ossl_ackm_free(info.ackm); in test_fifd() 361 ossl_statm_destroy(&info.statm); in test_fifd() [all …]
|
H A D | provider_pkey_test.c | 250 OSSL_STORE_INFO *info; in test_pkey_store() local 272 && (info = OSSL_STORE_load(ctx)) != NULL in test_pkey_store() 275 pkey = OSSL_STORE_INFO_get1_PKEY(info); in test_pkey_store() 276 OSSL_STORE_INFO_free(info); in test_pkey_store() 277 info = NULL; in test_pkey_store() 301 OSSL_STORE_INFO *info; in test_pkey_delete() local 323 && (info = OSSL_STORE_load(ctx)) != NULL in test_pkey_delete() 327 OSSL_STORE_INFO_free(info); in test_pkey_delete() 328 info = NULL; in test_pkey_delete() 348 info = OSSL_STORE_load(ctx); in test_pkey_delete() [all …]
|
H A D | pkey_meth_test.c | 41 const char *info; in test_asn1_meths() local 44 EVP_PKEY_asn1_get0_info(&pkey_id, NULL, NULL, &info, NULL, ameth); in test_asn1_meths() 45 if (info == NULL) in test_asn1_meths() 46 info = "<NO NAME>"; in test_asn1_meths() 47 TEST_note("%d : %s : %s", pkey_id, OBJ_nid2ln(pkey_id), info); in test_asn1_meths()
|
H A D | ossl_store_test.c | 76 OSSL_STORE_INFO *info; in get_params() local 84 && (info = OSSL_STORE_load(ctx)) != NULL in get_params() 86 if (OSSL_STORE_INFO_get_type(info) == OSSL_STORE_INFO_PARAMS) { in get_params() 87 pkey = OSSL_STORE_INFO_get1_PARAMS(info); in get_params() 89 OSSL_STORE_INFO_free(info); in get_params() 90 info = NULL; in get_params()
|
/openssl/crypto/store/ |
H A D | store_lib.c | 609 OSSL_STORE_INFO *info = OPENSSL_zalloc(sizeof(*info)); in OSSL_STORE_INFO_new() local 611 if (info == NULL) in OSSL_STORE_INFO_new() 616 return info; in OSSL_STORE_INFO_new() 631 return info; in OSSL_STORE_INFO_new_NAME() 649 if (info == NULL) in OSSL_STORE_INFO_new_PARAMS() 651 return info; in OSSL_STORE_INFO_new_PARAMS() 658 if (info == NULL) in OSSL_STORE_INFO_new_PUBKEY() 660 return info; in OSSL_STORE_INFO_new_PUBKEY() 669 return info; in OSSL_STORE_INFO_new_PKEY() 678 return info; in OSSL_STORE_INFO_new_CERT() [all …]
|
/openssl/test/recipes/30-test_evp_data/ |
H A D | evpkdf_hkdf.txt | 62 Ctrl.info = info: 70 Ctrl.info = info: 77 Ctrl.info = info: 128 Ctrl.info = info: 142 Ctrl.info = info: 149 Ctrl.info = info: 163 Ctrl.info = info: 169 Ctrl.info = info: 176 Ctrl.info = info: 183 Ctrl.info = info: [all …]
|
H A D | evppkey_kdf_hkdf.txt | 20 Ctrl.info = hexinfo:f0f1f2f3f4f5f6f7f8f9 62 Ctrl.info = info: 70 Ctrl.info = info: 77 Ctrl.info = info: 128 Ctrl.info = info: 142 Ctrl.info = info: 149 Ctrl.info = info: 163 Ctrl.info = info: 169 Ctrl.info = info: 176 Ctrl.info = info: [all …]
|
H A D | evpkdf_x942.txt | 35 Ctrl.hexpartyu-info = hexpartyu-info:0123456789abcdeffedcba98765432010123456789abcdeffedcba98765432… 42 Ctrl.hexpartyu-info = hexpartyu-info:0123456789abcdeffedcba98765432010123456789abcdeffedcba98765432… 50 Ctrl.hexpartyv-info = hexpartyv-info:0123456789abcdeffedcba98765432010123456789abcdeffedcba98765432… 72 Ctrl.hexpartyu-info = hexpartyu-info:0123456789abcdef 73 Ctrl.hexpartyv-info = hexpartyv-info:fedcba9876543210 86 Ctrl.hexacvp-info = hexacvp-info:a020299D468D60BC6A257E0B6523D691A3FC1602453B35F308C762FBBAC6069A88… 98 Ctrl.hexacvp-info = hexacvp-info:a020299D468D60BC6A257E0B6523D691A3FC1602453B35F308C762FBBAC6069A88… 110 Ctrl.hexacvp-info = hexacvp-info:a020299D468D60BC6A257E0B6523D691A3FC1602453B35F308C762FBBAC6069A88… 120 Ctrl.hexacvp-info = hexacvp-info:a020299D468D60BC6A257E0B6523D691A3FC1602453B35F308C762FBBAC6069A88… 131 Ctrl.hexacvp-info = hexacvp-info:a020299D468D60BC6A257E0B6523D691A3FC1602453B35F308C762FBBAC6069A88…
|
/openssl/ssl/quic/ |
H A D | qlog.c | 35 QLOG_TRACE_INFO info; member 62 qlog->info.odcid = info->odcid; in ossl_qlog_new() 63 qlog->info.is_server = info->is_server; in ossl_qlog_new() 64 qlog->info.now_cb = info->now_cb; in ossl_qlog_new() 65 qlog->info.now_cb_arg = info->now_cb_arg; in ossl_qlog_new() 66 qlog->info.override_process_id = info->override_process_id; in ossl_qlog_new() 68 if (info->title != NULL in ossl_qlog_new() 69 && (qlog->info.title = OPENSSL_strdup(info->title)) == NULL) in ossl_qlog_new() 73 && (qlog->info.description = OPENSSL_strdup(info->description)) == NULL) in ossl_qlog_new() 77 && (qlog->info.group_id = OPENSSL_strdup(info->group_id)) == NULL) in ossl_qlog_new() [all …]
|
H A D | cc_newreno.c | 340 const OSSL_CC_ACK_INFO *info) in newreno_on_data_acked() argument 348 nr->bytes_in_flight -= info->tx_size; in newreno_on_data_acked() 377 if (newreno_in_cong_recovery(nr, info->tx_time)) { in newreno_on_data_acked() 381 nr->cong_wnd += info->tx_size; in newreno_on_data_acked() 385 nr->bytes_acked += info->tx_size; in newreno_on_data_acked() 404 const OSSL_CC_LOSS_INFO *info) in newreno_on_data_lost() argument 408 if (info->tx_size > nr->bytes_in_flight) in newreno_on_data_lost() 411 nr->bytes_in_flight -= info->tx_size; in newreno_on_data_lost() 433 = ossl_time_max(nr->tx_time_of_last_loss, info->tx_time); in newreno_on_data_lost() 459 const OSSL_CC_ECN_INFO *info) in newreno_on_ecn() argument [all …]
|
/openssl/providers/implementations/kem/ |
H A D | ecx_kem.c | 58 const OSSL_HPKE_KEM_INFO *info; member 97 if (ctx->info == NULL) in recipient_key_set() 348 if (ikmlen < info->Nsk) { in ossl_ecx_dhkem_derive_private() 367 if (!ossl_hpke_labeled_expand(kdfctx, privout, info->Nsk, prk, info->Nsecret, in ossl_ecx_dhkem_derive_private() 395 const OSSL_HPKE_KEM_INFO *info = ctx->info; in derivekey() local 411 seedlen = info->Nsk; in derivekey() 483 const OSSL_HPKE_KEM_INFO *info = ctx->info; in derive_secret() local 552 const OSSL_HPKE_KEM_INFO *info = ctx->info; in dhkem_encap() local 568 if (*enclen < info->Nenc) { in dhkem_encap() 589 *enclen = info->Nenc; in dhkem_encap() [all …]
|
H A D | ec_kem.c | 49 const OSSL_HPKE_KEM_INFO *info; member 124 if (ctx->info == NULL) in recipient_key_set() 398 if (info == NULL) in ossl_ec_dhkem_derive_private() 408 if (ikmlen < info->Nsecret) { in ossl_ec_dhkem_derive_private() 573 const OSSL_HPKE_KEM_INFO *info = ctx->info; in derive_secret() local 606 memcpy(kemctx + info->Npk, recipient_pub, info->Npk); in derive_secret() 651 const OSSL_HPKE_KEM_INFO *info = ctx->info; in dhkem_encap() local 667 if (*enclen < info->Nenc) { in dhkem_encap() 697 *secretlen = info->Nsecret; in dhkem_encap() 726 const OSSL_HPKE_KEM_INFO *info = ctx->info; in dhkem_decap() local [all …]
|
/openssl/include/openssl/ |
H A D | store.h | 183 int OSSL_STORE_INFO_get_type(const OSSL_STORE_INFO *info); 185 const char *OSSL_STORE_INFO_get0_NAME(const OSSL_STORE_INFO *info); 186 char *OSSL_STORE_INFO_get1_NAME(const OSSL_STORE_INFO *info); 189 EVP_PKEY *OSSL_STORE_INFO_get0_PARAMS(const OSSL_STORE_INFO *info); 193 EVP_PKEY *OSSL_STORE_INFO_get0_PKEY(const OSSL_STORE_INFO *info); 194 EVP_PKEY *OSSL_STORE_INFO_get1_PKEY(const OSSL_STORE_INFO *info); 195 X509 *OSSL_STORE_INFO_get0_CERT(const OSSL_STORE_INFO *info); 196 X509 *OSSL_STORE_INFO_get1_CERT(const OSSL_STORE_INFO *info); 197 X509_CRL *OSSL_STORE_INFO_get0_CRL(const OSSL_STORE_INFO *info); 198 X509_CRL *OSSL_STORE_INFO_get1_CRL(const OSSL_STORE_INFO *info); [all …]
|
/openssl/apps/ |
H A D | storeutl.c | 387 OSSL_STORE_INFO *info = OSSL_STORE_load(store_ctx); in process() local 388 int type = info == NULL ? 0 : OSSL_STORE_INFO_get_type(info); in process() 390 info == NULL ? NULL : OSSL_STORE_INFO_type_string(type); in process() 392 if (info == NULL) { in process() 417 const char *name = OSSL_STORE_INFO_get0_NAME(info); in process() 418 const char *desc = OSSL_STORE_INFO_get0_NAME_description(info); in process() 442 const char *suburi = OSSL_STORE_INFO_get0_NAME(info); in process() 474 X509_print(out, OSSL_STORE_INFO_get0_CERT(info)); in process() 476 PEM_write_bio_X509(out, OSSL_STORE_INFO_get0_CERT(info)); in process() 480 X509_CRL_print(out, OSSL_STORE_INFO_get0_CRL(info)); in process() [all …]
|
/openssl/util/perl/OpenSSL/Config/ |
H A D | Query.pm | 74 info => 'HASH', 80 my $instance = { info => $opts{info} // {}, 108 my @sources = @{$self->{info}->{sources}->{$_} // []}; 110 grep { $_ =~ m|\.a$| } @{$self->{info}->{depends}->{$_} // []}; 117 ( ( $self->{info}->{generate}->{$_} // [] ) -> [0] // () );
|
/openssl/crypto/x509/ |
H A D | by_store.c | 50 OSSL_STORE_INFO *info = OSSL_STORE_load(ctx); in cache_objects() local 54 if (info == NULL) in cache_objects() 57 infotype = OSSL_STORE_INFO_get_type(info); in cache_objects() 66 ok = cache_objects(lctx, OSSL_STORE_INFO_get0_NAME(info), in cache_objects() 77 OSSL_STORE_INFO_get0_CERT(info)); in cache_objects() 81 OSSL_STORE_INFO_get0_CRL(info)); in cache_objects() 86 OSSL_STORE_INFO_free(info); in cache_objects()
|
H A D | v3_attrdesc.c | 93 OSSL_INFO_SYNTAX *info, in i2r_OSSL_INFO_SYNTAX() argument 96 switch (info->type) { in i2r_OSSL_INFO_SYNTAX() 100 if (BIO_printf(out, "%.*s", info->choice.content->length, info->choice.content->data) <= 0) in i2r_OSSL_INFO_SYNTAX() 108 return i2r_INFO_SYNTAX_POINTER(method, info->choice.pointer, out, indent + 4); in i2r_OSSL_INFO_SYNTAX()
|
/openssl/doc/man7/ |
H A D | EVP_KDF-X942-ASN1.pod | 11 a shared secret key and other info. The other info is DER encoded data that 12 contains a 32 bit counter as well as optional fields for "partyu-info", 13 "partyv-info", "supp-pubinfo" and "supp-privinfo". 39 =item "acvp-info" (B<OSSL_KDF_PARAM_X942_ACVPINFO>) <octet string> 43 of any of the optional fields related to "partyu-info", "partyv-info", 47 =item "partyu-info" (B<OSSL_KDF_PARAM_X942_PARTYUINFO>) <octet string> 49 An optional octet string containing public info contributed by the initiator. 53 An alias for "partyu-info". 56 =item "partyv-info" (B<OSSL_KDF_PARAM_X942_PARTYVINFO>) <octet string> 58 An optional octet string containing public info contributed by the responder.
|
/openssl/crypto/asn1/ |
H A D | ameth_lib.c | 209 *pinfo = ameth->info; in EVP_PKEY_asn1_get0_info() 221 const char *pem_str, const char *info) in EVP_PKEY_asn1_new() argument 232 if (info) { in EVP_PKEY_asn1_new() 233 ameth->info = OPENSSL_strdup(info); in EVP_PKEY_asn1_new() 234 if (ameth->info == NULL) in EVP_PKEY_asn1_new() 258 char *info = dst->info; in EVP_PKEY_asn1_copy() local 267 dst->info = info; in EVP_PKEY_asn1_copy() 274 OPENSSL_free(ameth->info); in EVP_PKEY_asn1_free()
|
/openssl/Configurations/ |
H A D | README-design.md | 10 section on `build.info` files below. 23 build.info files 57 # build.info 69 # apps/build.info 85 # crypto/build.info 114 # ssl/build.info 121 # engines/build.info 207 variables in build.info files. 214 variables in build.info files. 218 variables in build.info files. [all …]
|
H A D | gentemplate.pm | 20 foreach (@{$generator->{info}->{depends}->{""}}) { $generator->dogenerate($_); } 24 foreach (@{$generator->{info}->{targets}}) { $generator->dotarget($_); } 25 foreach (@{$generator->{info}->{libraries}}) { $generator->dolib($_); } 26 foreach (@{$generator->{info}->{modules}}) { $generator->domodule($_); } 27 foreach (@{$generator->{info}->{programs}}) { $generator->dobin($_); } 28 foreach (@{$generator->{info}->{scripts}}) { $generator->doscript($_); } 29 foreach (sort keys %{$generator->{info}->{htmldocs}}) { $generator->dodocs('html', $_); } 30 foreach (sort keys %{$generator->{info}->{mandocs}}) { $generator->dodocs('man', $_); } 31 foreach (sort keys %{$generator->{info}->{dirinfo}}) { $generator->dodir($_); } 46 info => $opts{unified_info} // {},
|
/openssl/ssl/ |
H A D | tls_srp.c | 37 OPENSSL_free(ctx->srp_ctx.info); in ssl_ctx_srp_ctx_free_intern() 65 OPENSSL_free(s->srp_ctx.info); in ssl_srp_ctx_free_intern() 137 if ((ctx->srp_ctx.info != NULL) && in ssl_srp_ctx_init_intern() 138 ((s->srp_ctx.info = OPENSSL_strdup(ctx->srp_ctx.info)) == NULL)) { in ssl_srp_ctx_init_intern() 147 OPENSSL_free(s->srp_ctx.info); in ssl_srp_ctx_init_intern() 312 if (info != NULL) { in SSL_set_srp_server_param() 313 if (sc->srp_ctx.info) in SSL_set_srp_server_param() 315 if ((sc->srp_ctx.info = OPENSSL_strdup(info)) == NULL) in SSL_set_srp_server_param() 516 if (sc->srp_ctx.info != NULL) in SSL_get_srp_userinfo() 517 return sc->srp_ctx.info; in SSL_get_srp_userinfo() [all …]
|
/openssl/apps/lib/ |
H A D | engine_loader.c | 119 OSSL_STORE_INFO *info = NULL; in engine_load() local 140 info = OSSL_STORE_INFO_new_PUBKEY(pubkey); in engine_load() 142 info = OSSL_STORE_INFO_new_PKEY(pkey); in engine_load() 143 if (info == NULL) { in engine_load() 147 return info; in engine_load()
|
/openssl/doc/man1/ |
H A D | openssl-kdf.pod.in | 110 =item B<info:>I<string> 112 Some KDF implementations, such as L<EVP_KDF-HKDF(7)>, take an 'info' parameter 115 Specifies the info, fixed info, other info or shared info argument 121 Alternative to the B<info:> option where 122 the info is specified in hexadecimal form (two hex digits per byte). 155 Use HKDF to create a hex-encoded derived key from a secret key, salt and info: 158 -kdfopt salt:salt -kdfopt info:label HKDF 160 Use SSKDF with KMAC to create a hex-encoded derived key from a secret key, salt and info: 166 Use SSKDF with HMAC to create a hex-encoded derived key from a secret key, salt and info: 172 Use SSKDF with Hash to create a hex-encoded derived key from a secret key, salt and info:
|
/openssl/include/internal/ |
H A D | quic_cc.h | 164 const OSSL_CC_ACK_INFO *info); 180 const OSSL_CC_LOSS_INFO *info); 210 const OSSL_CC_ECN_INFO *info);
|