/openssl/crypto/store/ |
H A D | store_lib.c | 550 OSSL_STORE_INFO *info = OPENSSL_zalloc(sizeof(*info)); in OSSL_STORE_INFO_new() local 552 if (info == NULL) in OSSL_STORE_INFO_new() 557 return info; in OSSL_STORE_INFO_new() 572 return info; in OSSL_STORE_INFO_new_NAME() 590 if (info == NULL) in OSSL_STORE_INFO_new_PARAMS() 592 return info; in OSSL_STORE_INFO_new_PARAMS() 599 if (info == NULL) in OSSL_STORE_INFO_new_PUBKEY() 601 return info; in OSSL_STORE_INFO_new_PUBKEY() 610 return info; in OSSL_STORE_INFO_new_PKEY() 619 return info; in OSSL_STORE_INFO_new_CERT() [all …]
|
/openssl/test/recipes/30-test_evp_data/ |
H A D | evppkey_kdf_hkdf.txt | 20 Ctrl.info = hexinfo:f0f1f2f3f4f5f6f7f8f9 62 Ctrl.info = info: 70 Ctrl.info = info: 77 Ctrl.info = info: 126 Ctrl.info = info: 140 Ctrl.info = info: 147 Ctrl.info = info: 161 Ctrl.info = info: 167 Ctrl.info = info: 174 Ctrl.info = info: [all …]
|
H A D | evpkdf_hkdf.txt | 20 Ctrl.info = hexinfo:f0f1f2f3f4f5f6f7f8f9 62 Ctrl.info = info: 70 Ctrl.info = info: 77 Ctrl.info = info: 126 Ctrl.info = info: 140 Ctrl.info = info: 147 Ctrl.info = info: 161 Ctrl.info = info: 167 Ctrl.info = info: 174 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 85 Ctrl.hexacvp-info = hexacvp-info:a020299D468D60BC6A257E0B6523D691A3FC1602453B35F308C762FBBAC6069A88… 96 Ctrl.hexacvp-info = hexacvp-info:a020299D468D60BC6A257E0B6523D691A3FC1602453B35F308C762FBBAC6069A88…
|
/openssl/include/openssl/ |
H A D | store.h | 175 int OSSL_STORE_INFO_get_type(const OSSL_STORE_INFO *info); 177 const char *OSSL_STORE_INFO_get0_NAME(const OSSL_STORE_INFO *info); 178 char *OSSL_STORE_INFO_get1_NAME(const OSSL_STORE_INFO *info); 181 EVP_PKEY *OSSL_STORE_INFO_get0_PARAMS(const OSSL_STORE_INFO *info); 185 EVP_PKEY *OSSL_STORE_INFO_get0_PKEY(const OSSL_STORE_INFO *info); 186 EVP_PKEY *OSSL_STORE_INFO_get1_PKEY(const OSSL_STORE_INFO *info); 187 X509 *OSSL_STORE_INFO_get0_CERT(const OSSL_STORE_INFO *info); 188 X509 *OSSL_STORE_INFO_get1_CERT(const OSSL_STORE_INFO *info); 189 X509_CRL *OSSL_STORE_INFO_get0_CRL(const OSSL_STORE_INFO *info); 190 X509_CRL *OSSL_STORE_INFO_get1_CRL(const OSSL_STORE_INFO *info); [all …]
|
/openssl/apps/ |
H A D | storeutl.c | 392 OSSL_STORE_INFO *info = OSSL_STORE_load(store_ctx); in process() local 393 int type = info == NULL ? 0 : OSSL_STORE_INFO_get_type(info); in process() 395 info == NULL ? NULL : OSSL_STORE_INFO_type_string(type); in process() 397 if (info == NULL) { in process() 422 const char *name = OSSL_STORE_INFO_get0_NAME(info); in process() 423 const char *desc = OSSL_STORE_INFO_get0_NAME_description(info); in process() 440 const char *suburi = OSSL_STORE_INFO_get0_NAME(info); in process() 472 X509_print(out, OSSL_STORE_INFO_get0_CERT(info)); in process() 474 PEM_write_bio_X509(out, OSSL_STORE_INFO_get0_CERT(info)); in process() 478 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/test/ |
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()
|
H A D | provider_pkey_test.c | 187 OSSL_STORE_INFO *info; in test_pkey_store() local 209 && (info = OSSL_STORE_load(ctx)) != NULL in test_pkey_store() 211 if (OSSL_STORE_INFO_get_type(info) == OSSL_STORE_INFO_PKEY) in test_pkey_store() 212 pkey = OSSL_STORE_INFO_get1_PKEY(info); in test_pkey_store() 213 OSSL_STORE_INFO_free(info); in test_pkey_store() 214 info = NULL; in test_pkey_store()
|
/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". 37 =item "acvp-info" (B<OSSL_KDF_PARAM_X942_ACVPINFO>) <octet string> 41 of any of the optional fields related to "partyu-info", "partyv-info", 45 =item "partyu-info" (B<OSSL_KDF_PARAM_X942_PARTYUINFO>) <octet string> 47 An optional octet string containing public info contributed by the initiator. 51 An alias for "partyu-info". 54 =item "partyv-info" (B<OSSL_KDF_PARAM_X942_PARTYVINFO>) <octet string> 56 An optional octet string containing public info contributed by the responder.
|
H A D | ossl_store.pod | 54 OSSL_STORE_INFO *info = OSSL_STORE_load(ctx); 60 switch (OSSL_STORE_INFO_get_type(info)) { 63 X509_print_fp(stdout, OSSL_STORE_INFO_get0_CERT(info)); 65 PEM_write_X509(stdout, OSSL_STORE_INFO_get0_CERT(info));
|
H A D | EVP_KDF-HKDF.pod | 39 =item "info" (B<OSSL_KDF_PARAM_INFO>) <octet string> 41 This parameter sets the info value. 42 The length of the context info buffer cannot exceed 1024 bytes; 59 In this mode the digest, key, salt and info values must be set before a key is 78 The digest, key and info values must be set before a key is derived otherwise 102 salt value "salt" and info value "label":
|
/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()
|
/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 234 if (info) { in EVP_PKEY_asn1_new() 235 ameth->info = OPENSSL_strdup(info); in EVP_PKEY_asn1_new() 236 if (ameth->info == NULL) in EVP_PKEY_asn1_new() 261 char *info = dst->info; in EVP_PKEY_asn1_copy() local 270 dst->info = info; in EVP_PKEY_asn1_copy() 277 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 | 118 OSSL_STORE_INFO *info = NULL; in engine_load() local 139 info = OSSL_STORE_INFO_new_PUBKEY(pubkey); in engine_load() 141 info = OSSL_STORE_INFO_new_PKEY(pkey); in engine_load() 142 if (info == NULL) { in engine_load() 146 return info; in engine_load()
|
H A D | s_socket.c | 227 union BIO_sock_info_u info; in get_sock_info_address() local 234 if ((info.addr = BIO_ADDR_new()) != NULL in get_sock_info_address() 235 && BIO_sock_info(asock, BIO_SOCK_INFO_ADDRESS, &info)) { in get_sock_info_address() 237 *hostname = BIO_ADDR_hostname_string(info.addr, 1); in get_sock_info_address() 239 *service = BIO_ADDR_service_string(info.addr, 1); in get_sock_info_address() 241 BIO_ADDR_free(info.addr); in get_sock_info_address()
|
/openssl/providers/implementations/kdfs/ |
H A D | sskdf.c | 60 unsigned char *info; member 96 const unsigned char *info, size_t info_len, in SSKDF_hash_kdm() argument 135 && EVP_DigestUpdate(ctx, info, info_len))) in SSKDF_hash_kdm() 217 const unsigned char *info, size_t info_len, in SSKDF_mac_kdm() argument 257 && EVP_MAC_update(ctx, info, info_len))) in SSKDF_mac_kdm() 307 OPENSSL_clear_free(ctx->info, ctx->info_len); in sskdf_reset() 335 if (!ossl_prov_memdup(src->info, src->info_len, in sskdf_dup() 336 &dest->info, &dest->info_len) in sskdf_dup() 432 ctx->info, ctx->info_len, key, keylen); in sskdf_derive() 472 ctx->info, ctx->info_len, 1, key, keylen); in x963kdf_derive() [all …]
|
H A D | hkdf.c | 52 const unsigned char *info, size_t info_len, 60 const unsigned char *info, size_t info_len, 86 unsigned char info[HKDF_MAXBUF]; member 125 OPENSSL_cleanse(ctx->info, ctx->info_len); in kdf_hkdf_reset() 149 memcpy(dest->info, src->info, sizeof(dest->info)); in kdf_hkdf_dup() 214 return HKDF_Expand(md, ctx->key, ctx->key_len, ctx->info, in kdf_hkdf_derive() 294 const void *q = ctx->info + ctx->info_len; in kdf_hkdf_set_ctx_params() 388 const unsigned char *info, size_t info_len, in HKDF() argument 406 ret = HKDF_Expand(evp_md, prk, prk_len, info, info_len, okm, okm_len); in HKDF() 497 const unsigned char *info, size_t info_len, in HKDF_Expand() argument [all …]
|
/openssl/doc/man3/ |
H A D | EVP_PKEY_CTX_set_hkdf_md.pod | 24 int EVP_PKEY_CTX_add1_hkdf_info(EVP_PKEY_CTX *pctx, unsigned char *info, 48 In this mode the digest, key, salt and info values must be set before a key is 66 The digest, key and info values must be set before a key is derived or an 79 EVP_PKEY_CTX_add1_hkdf_info() sets the info value to B<infolen> bytes of the 80 buffer B<info>. If a value is already set, it is appended to the existing 91 The B<type> parameters "salt", "key" and "info" use the supplied B<value> 92 parameter as a B<seed>, B<key> or B<info> value. 102 The total length of the info buffer cannot exceed 1024 bytes in length: this 125 salt value "salt" and info value "label":
|
H A D | ASN1_item_sign.pod | 59 See EVP_PKEY_CTX_set1_id() for further info. The output parameters <algor1> and 75 See EVP_PKEY_CTX_set1_id() for further info. 116 MySignInfoObject info; 134 ASN1_EMBED(MyObject, info, MySignInfoObject), 156 if (!ASN1_INTEGER_set(obj->info.version, version)) 167 * obj->info is the 'MySignInfoObject' object that will be 171 * obj->info.sig_alg is another copy of the signing algorithm id that sits 174 len = ASN1_item_sign_ctx(it, &obj->sig_alg, &obj->info.sig_alg, 175 obj->signature, &obj->info, sctx); 177 || X509_ALGOR_cmp(&obj->sig_alg, &obj->info.sig_alg) != 0) [all …]
|
/openssl/ssl/record/methods/ |
H A D | ktls_meth.c | 303 crypto_info->gcm128.info.cipher_type = TLS_CIPHER_AES_GCM_128; 304 crypto_info->gcm128.info.version = version; 320 crypto_info->gcm256.info.cipher_type = TLS_CIPHER_AES_GCM_256; 321 crypto_info->gcm256.info.version = version; 338 crypto_info->ccm128.info.cipher_type = TLS_CIPHER_AES_CCM_128; 339 crypto_info->ccm128.info.version = version; 352 crypto_info->chacha20poly1305.info.cipher_type 354 crypto_info->chacha20poly1305.info.version = version;
|