/openssl/include/internal/ |
H A D | list.h | 28 OSSL_LIST_FOREACH_FROM(p, name, ossl_list_##name##_head(l)) 35 OSSL_LIST_FOREACH_FROM(p, name, ossl_list_##name##_tail(l)) 42 OSSL_LIST_FOREACH_DELSAFE_FROM(p, pn, name, ossl_list_##name##_head(l)) 49 OSSL_LIST_FOREACH_REV_DELSAFE_FROM(p, pn, name, ossl_list_##name##_tail(l)) 52 # define OSSL_LIST(name) OSSL_LIST_ ## name argument 59 } ossl_list_ ## name 62 typedef struct ossl_list_st_ ## name OSSL_LIST(name); \ 70 ossl_list_##name##_init(OSSL_LIST(name) *list) \ 81 ossl_list_##name##_is_empty(const OSSL_LIST(name) *list) \ 86 ossl_list_##name##_num(const OSSL_LIST(name) *list) \ [all …]
|
H A D | qlog.h | 24 # define QLOG_EVENT(cat, name) QLOG_EVENT_TYPE_##cat##_##name, argument 84 #cat, #name, #cat ":" #name)) { 109 void ossl_qlog_str_len(QLOG *qlog, const char *name, 114 void ossl_qlog_bin(QLOG *qlog, const char *name, 118 # define QLOG_STR(name, value) ossl_qlog_str(qlog_instance, (name), (value)) argument 121 # define QLOG_I64(name, value) ossl_qlog_i64(qlog_instance, (name), (value)) argument 122 # define QLOG_U64(name, value) ossl_qlog_u64(qlog_instance, (name), (value)) argument 123 # define QLOG_F64(name, value) ossl_qlog_f64(qlog_instance, (name), (value)) argument 124 # define QLOG_BOOL(name, value) ossl_qlog_bool(qlog_instance, (name), (value)) argument 125 # define QLOG_BIN(name, value, value_len) \ argument [all …]
|
H A D | hashtable.h | 89 #define HT_DEF_KEY_FIELD(name, type) type name; argument 95 #define HT_DEF_KEY_FIELD_CHAR_ARRAY(name, size) \ argument 96 HT_DEF_KEY_FIELD(name[size], char) 101 #define HT_DEF_KEY_FIELD_UINT8T_ARRAY(name, size) \ argument 102 HT_DEF_KEY_FIELD(name[size], uint8_t) 169 #define IMPLEMENT_HT_VALUE_TYPE_FNS(vtype, name, pfx) \ argument 170 static uintptr_t name##_##vtype##_id = 0; \ 171 pfx ossl_unused int ossl_ht_##name##_##vtype##_insert(HT *h, HT_KEY *key, \ 179 inval.type_id = &name##_##vtype##_id; \ 186 pfx ossl_unused vtype *ossl_ht_##name##_##vtype##_from_value(HT_VALUE *v) \ [all …]
|
/openssl/include/openssl/ |
H A D | pem.h | 315 # define DECLARE_PEM_write(name, type) \ argument 316 DECLARE_PEM_write_attr(extern, name, type) 317 # define DECLARE_PEM_write_ex(name, type) \ argument 343 DECLARE_PEM_read_attr(extern, name, type) 348 DECLARE_PEM_write_attr(attr, name, type) 352 # define DECLARE_PEM_rw(name, type) \ argument 353 DECLARE_PEM_rw_attr(extern, name, type) 354 # define DECLARE_PEM_rw_ex(name, type) \ argument 360 # define DECLARE_PEM_rw_const(name, type) \ argument 369 # define DECLARE_PEM_rw_cb(name, type) \ argument [all …]
|
/openssl/test/recipes/ |
H A D | 15-test_mp_rsa.t | 65 "genrsa $name"); 68 "rsa -check $name"); 71 '-out', "rsamptest-$name.enc" ])), 72 "rsa $name encrypt"); 76 "rsa $name decrypt"); 82 "rsa -check $name"); 87 "rsa $name encrypt"); 91 "rsa $name decrypt"); 96 "rsa $name encrypt"); 100 "rsa $name decrypt"); [all …]
|
/openssl/providers/implementations/include/prov/ |
H A D | digestcommon.h | 26 #define PROV_FUNC_DIGEST_GET_PARAM(name, blksize, dgstsize, flags) \ argument 27 static OSSL_FUNC_digest_get_params_fn name##_get_params; \ 28 static int name##_get_params(OSSL_PARAM params[]) \ 33 #define PROV_DISPATCH_FUNC_DIGEST_GET_PARAMS(name) \ argument 34 { OSSL_FUNC_DIGEST_GET_PARAMS, (void (*)(void))name##_get_params }, \ 38 # define PROV_FUNC_DIGEST_FINAL(name, dgstsize, fin) \ argument 39 static OSSL_FUNC_digest_final_fn name##_internal_final; \ 40 static int name##_internal_final(void *ctx, unsigned char *out, size_t *outl, \ 51 name, CTX, blksize, dgstsize, flags, upd, fin) \ argument 52 static OSSL_FUNC_digest_newctx_fn name##_newctx; \ [all …]
|
/openssl/.github/workflows/ |
H A D | ci.yml | 8 name: GitHub CI 38 - name: config 51 - name: config 71 - name: config 73 - name: make 90 - name: make 115 - name: make 142 - name: make 162 - name: make 184 - name: make [all …]
|
H A D | run-checker-daily.yml | 8 name: Run-checker daily 149 - name: make 184 - name: make 214 - name: make 236 - name: make 258 - name: make 281 - name: make 307 - name: make 333 - name: make 353 - name: make [all …]
|
H A D | prov-compat-label.yml | 63 - name: localegen 66 - name: config release 74 - name: make release 104 # `name' is the branch name used to checkout out. 109 name: '', 133 name: master, 146 - name: localegen 149 - name: config branch 157 - name: make branch 175 - name: get cpu info [all …]
|
/openssl/test/ |
H A D | v3nametest.c | 98 const char *name; in set_cn() local 103 name = va_arg(ap, const char *); in set_cn() 137 const char *name; in set_altname() local 141 name = va_arg(ap, const char *); in set_altname() 188 NID_commonName, name, 0); in set_cn2() 232 const char *name; member 271 fn->name, op, nameincert, in check_message() 291 if (!TEST_ptr(name)) in run_cert() 293 memcpy(name, *pname, namelen + 1); in run_cert() 336 OPENSSL_free(name); in run_cert() [all …]
|
H A D | x509aux.c | 24 char *name = 0; in test_certs() local 48 && strcmp(name, PEM_STRING_X509) != 0 in test_certs() 49 && strcmp(name, PEM_STRING_X509_OLD) != 0) { in test_certs() 50 TEST_error("unexpected PEM object: %s", name); in test_certs() 57 TEST_error("error parsing input %s", name); in test_certs() 66 enclen, name, len); in test_certs() 78 enclen, name, len); in test_certs() 96 TEST_error("second d2i call failed for %s", name); in test_certs() 113 enclen, name, len); in test_certs() 132 enclen, name, len); in test_certs() [all …]
|
H A D | ext_internal_test.c | 15 #define EXT_ENTRY(name) { TLSEXT_IDX_##name, TLSEXT_TYPE_##name, #name } argument 16 #define EXT_EXCEPTION(name) { TLSEXT_IDX_##name, TLSEXT_TYPE_invalid, #name } argument 17 #define EXT_END(name) { TLSEXT_IDX_##name, TLSEXT_TYPE_out_of_range, #name } argument 22 char *name; member 91 ext_list[i].name, ext_list[i].idx, i); in test_extension_list() 97 ext_list[i].name, ext_list[i].idx, ext_list[i].type, in test_extension_list()
|
/openssl/crypto/pem/ |
H A D | pem_local.h | 96 # define IMPLEMENT_PEM_provided_write_to(name, TYPE, type, str, asn1, \ argument 98 PEM_write_fnsig(name, TYPE, OUTTYPE, writename) \ 105 PEM_write_ex_fnsig(name, TYPE, OUTTYPE, writename) \ 116 PEM_write_cb_fnsig(name, TYPE, OUTTYPE, writename) \ 124 PEM_write_ex_cb_fnsig(name, TYPE, OUTTYPE, writename) \ 135 # define IMPLEMENT_PEM_provided_write_fp(name, TYPE, type, str, asn1) argument 136 # define IMPLEMENT_PEM_provided_write_cb_fp(name, TYPE, type, str, asn1) argument 154 IMPLEMENT_PEM_provided_write_fp(name, TYPE, type, str, asn1) 158 IMPLEMENT_PEM_provided_write_cb_fp(name, TYPE, type, str, asn1) 162 IMPLEMENT_PEM_provided_write(name, TYPE, type, str, asn1) [all …]
|
/openssl/crypto/conf/ |
H A D | conf_ssl.c | 24 char *name; member 49 OPENSSL_free(tname->name); in ssl_module_free() 100 ssl_name->name = OPENSSL_strdup(sect->name); in ssl_module_init() 109 const char *name; in ssl_module_init() local 114 name = strchr(cmd_conf->name, '.'); in ssl_module_init() 115 if (name != NULL) in ssl_module_init() 116 name++; in ssl_module_init() 118 name = cmd_conf->name; in ssl_module_init() 140 *name = ssl_names[idx].name; in conf_ssl_get() 155 if (name == NULL) in conf_ssl_name_find() [all …]
|
H A D | conf_api.c | 29 vv.name = NULL; in _CONF_get_section() 59 OPENSSL_free(v->name); in _CONF_add_string() 72 if (name == NULL) in _CONF_get_string() 79 vv.name = (char *)name; in _CONF_get_string() 91 vv.name = (char *)name; in _CONF_get_string() 113 if (a->name != NULL && b->name != NULL) in conf_value_cmp() 114 return strcmp(a->name, b->name); in conf_value_cmp() 115 if (a->name == b->name) in conf_value_cmp() 160 if (a->name != NULL) in value_free_hash() 170 if (a->name != NULL) in value_free_stack_doall() [all …]
|
/openssl/apps/lib/ |
H A D | opt.c | 174 for (; o->name != NULL && o->name != OPT_PARAM_STR; ++o) { in opt_init() 209 && strcmp(o->name, next->name) == 0; in opt_init() 244 unknown_name = name; in opt_set_unknown_name() 418 if (name == NULL) in opt_cipher_any() 431 if (name == NULL) in opt_cipher() 477 if (name == NULL) in opt_md() 487 if (opt_md(name, NULL)) in opt_check_md() 499 if (strcmp(pp->name, name) == 0) { in opt_pair() 553 char *name; in opt_number_error() member 1171 printlen = opt_printf_stderr("%s" , o->name[0] ? o->name : "*"); in opt_print() [all …]
|
/openssl/crypto/x509/ |
H A D | x509name.c | 50 int X509_NAME_entry_count(const X509_NAME *name) in X509_NAME_entry_count() argument 54 if (name == NULL) in X509_NAME_entry_count() 78 if (name == NULL) in X509_NAME_get_index_by_OBJ() 82 sk = name->entries; in X509_NAME_get_index_by_OBJ() 94 if (name == NULL || sk_X509_NAME_ENTRY_num(name->entries) <= loc in X509_NAME_get_entry() 107 if (name == NULL || sk_X509_NAME_ENTRY_num(name->entries) <= loc in X509_NAME_delete_entry() 111 sk = name->entries; in X509_NAME_delete_entry() 114 name->modified = 1; in X509_NAME_delete_entry() 195 if (name == NULL) in X509_NAME_add_entry() 197 sk = name->entries; in X509_NAME_add_entry() [all …]
|
/openssl/crypto/evp/ |
H A D | names.c | 38 const char *name; in EVP_add_digest() local 40 name = OBJ_nid2sn(md->type); in EVP_add_digest() 70 const EVP_CIPHER *EVP_get_cipherbyname(const char *name) in EVP_get_cipherbyname() argument 72 return evp_get_cipherbyname_ex(NULL, name); in EVP_get_cipherbyname() 99 id = ossl_namemap_name2num(namemap, name); in evp_get_cipherbyname_ex() 130 const EVP_MD *EVP_get_digestbyname(const char *name) in EVP_get_digestbyname() argument 132 return evp_get_digestbyname_ex(NULL, name); in EVP_get_digestbyname() 158 id = ossl_namemap_name2num(namemap, name); in evp_get_digestbyname_ex() 167 fetched_md = EVP_MD_fetch(libctx, name, NULL); in evp_get_digestbyname_ex() 207 dc->fn(NULL, nm->name, nm->data, dc->arg); in do_all_cipher_fn() [all …]
|
/openssl/crypto/ |
H A D | provider_conf.c | 58 static const char *skip_dot(const char *name) in skip_dot() argument 60 const char *p = strchr(name, '.'); in skip_dot() 64 return name; in skip_dot() 111 if (name != NULL) { in provider_conf_params_internal() 174 static int prov_already_activated(const char *name, in prov_already_activated() argument 227 prov = ossl_provider_find(libctx, name, 1); in provider_conf_activate() 322 name = skip_dot(name); in provider_conf_load() 346 name = confvalue; in provider_conf_load() 368 if (name != NULL) { in provider_conf_load() 369 entry.name = OPENSSL_strdup(name); in provider_conf_load() [all …]
|
/openssl/util/ |
H A D | fix-includes | 10 find -name ossl_typ.h -o \( \ 11 -name '*.h' -o \ 12 -name '*.h.in' -o \ 13 -name '*.c' -o \ 14 -name '*.ec' -o \ 15 -name 'README*' -o \ 16 -name '*.pod' -o \ 17 -name '*.cnf' -o -name '*.conf' \
|
/openssl/crypto/objects/ |
H A D | o_names.c | 128 a->type)->cmp_func(a->name, b->name); in obj_name_cmp() 130 ret = OPENSSL_strcasecmp(a->name, b->name); in obj_name_cmp() 157 if (name == NULL) in OBJ_NAME_get() 167 on.name = name; in OBJ_NAME_get() 203 onp->name = name; in OBJ_NAME_add() 254 on.name = name; in OBJ_NAME_remove() 285 if (name->type == d->type) in do_all_fn() 286 d->fn(name, d->arg); in do_all_fn() 313 if (name->type != d->type) in do_all_sorted_fn() 316 d->names[d->n++] = name; in do_all_sorted_fn() [all …]
|
/openssl/util/perl/OpenSSL/ |
H A D | Ordinals.pm | 344 $items[0]->name(), " and ", $items[1]->name(), ":", 351 if $items[0]->name() eq $items[1]->name() 378 $items[0]->name(), " and ", $items[1]->name(), "\n"; 454 my $name = shift; 479 name => $name, 530 croak "You're kidding me... $alias == $name" if $alias eq $name; 832 name => $opts{name}, 953 $self->name(), 987 return sub { $_[0]->name() cmp $_[1]->name() }; 1073 my $name = shift; [all …]
|
H A D | paramnames.pm | 596 foreach my $name (keys %params) { 597 my $val = $params{$name}; 619 foreach my $name (sort keys %params) { 620 my $val = $params{$name}; 628 foreach my $name (keys %params) { 629 my $val = $params{$name}; 647 foreach my $name (sort keys %params) { 648 my $val = $params{$name}; 667 $cursor->{'val'} = $name; 734 $trieref->{'name'} = $name; [all …]
|
/openssl/crypto/perlasm/ |
H A D | arm-xlate.pl | 46 my $name = @args[0]; 47 my $global = \$GLOBALS{$name}; 51 $ret = ".comm\t_$name,@args[1]\n"; 53 $ret .= "$name:\n"; 56 $name = "_$name"; 59 $$global = $name; 63 my $name = shift; 64 my $global = \$GLOBALS{$name}; 68 /ios/ && do { $name = "_$name"; 73 $ret = ".globl $name" if (!$ret); [all …]
|
H A D | ppc-xlate.pl | 25 $name =~ s|^\.||; 26 ".type $name,$type"; 33 my $name = shift; 38 $name =~ s|^\.||; 45 $name = ".$name"; 49 /osx/ && do { $name = "_$name"; 71 $name = ".$name"; 78 $$global = $name; 102 my $name = shift; 103 my $real = $GLOBALS{$name} ? \$GLOBALS{$name} : \$name; [all …]
|