/openssl/test/ |
H A D | shlibloadtest.c | 68 SD_SYM sym; in test_lib() member 110 if (!sd_sym(cryptolib, "OPENSSL_init_crypto", &symbols[0].sym)) { in test_lib() 124 if (!sd_sym(ssllib, "TLS_method", &symbols[0].sym) in test_lib() 125 || !sd_sym(ssllib, "SSL_CTX_new", &symbols[1].sym) in test_lib() 126 || !sd_sym(ssllib, "SSL_CTX_free", &symbols[2].sym)) { in test_lib() 141 if (!sd_sym(cryptolib, "ERR_get_error", &symbols[0].sym) in test_lib() 142 || !sd_sym(cryptolib, "OPENSSL_version_major", &symbols[1].sym) in test_lib() 143 || !sd_sym(cryptolib, "OPENSSL_version_minor", &symbols[2].sym) in test_lib() 145 || !sd_sym(cryptolib, "OPENSSL_atexit", &symbols[4].sym)) { in test_lib() 185 if (!sd_sym(cryptolib, "DSO_dsobyaddr", &symbols[0].sym) in test_lib() [all …]
|
H A D | simpledynamic.c | 29 int sd_sym(SD lib, const char *symname, SD_SYM *sym) in sd_sym() argument 31 *sym = dlsym(lib, symname); in sd_sym() 32 return *sym != NULL; in sd_sym() 53 int sd_sym(SD lib, const char *symname, SD_SYM *sym) in sd_sym() argument 55 *sym = (SD_SYM)GetProcAddress(lib, symname); in sd_sym() 56 return *sym != NULL; in sd_sym()
|
H A D | moduleloadtest.c | 25 SD_SYM sym; in test_load() local 30 ret = symbol == NULL || sd_sym(sd, symbol, &sym); in test_load()
|
H A D | simpledynamic.h | 46 int sd_sym(SD sd, const char *symname, SD_SYM *sym);
|
/openssl/crypto/perlasm/ |
H A D | x86gas.pl | 212 { my($dst,$sym,$base,$reflabel)=@_; 223 { my $indirect=&::static_label("$nmdecor$sym\$non_lazy_ptr"); 225 $non_lazy_ptr{"$nmdecor$sym"}=$indirect; 227 elsif ($sym eq "OPENSSL_ia32cap_P" && $::elf>0) 228 { &::lea($dst,&::DWP("$sym-$reflabel",$base)); } 232 &::mov($dst,&::DWP("$sym\@GOT",$dst)); 236 { &::lea($dst,&::DWP($sym)); }
|
H A D | x86masm.pl | 181 { my($dst,$sym)=@_; 182 &::lea($dst,&::DWP($sym));
|
H A D | x86nasm.pl | 159 { my($dst,$sym)=@_; 160 &::lea($dst,&::DWP($sym));
|
H A D | x86_64-xlate.pl | 856 /\.type/ && do { my ($sym,$type,$narg) = split(',',$$line); 859 $current_function->{name} = $sym; 862 $current_function->{scope} = defined($globals{$sym})?"PUBLIC":"PRIVATE"; 865 $current_function->{name} = $sym; 866 $current_function->{scope} = defined($globals{$sym})?"PUBLIC":"PRIVATE";
|
/openssl/crypto/dso/ |
H A D | dso_vms.c | 261 struct dsc$descriptor_s *symname_dsc, void **sym, in do_find_symbol() argument 273 symname_dsc, sym, in do_find_symbol() 277 symname_dsc, sym, 0, flags); in do_find_symbol() 283 void vms_bind_sym(DSO *dso, const char *symname, void **sym) in vms_bind_sym() argument 301 *sym = NULL; in vms_bind_sym() 329 status = do_find_symbol(ptr, &symname_dsc, sym, LIB$M_FIS_MIXEDCASE); in vms_bind_sym() 332 status = do_find_symbol(ptr, &symname_dsc, sym, 0); in vms_bind_sym() 344 *sym = NULL; in vms_bind_sym() 370 DSO_FUNC_TYPE sym = 0; in vms_bind_func() local 371 vms_bind_sym(dso, symname, (void **)&sym); in vms_bind_func() [all …]
|
H A D | dso_dl.c | 125 void *sym; in dl_bind_func() local 140 if (shl_findsym(&ptr, symname, TYPE_UNDEFINED, &sym) < 0) { in dl_bind_func() 151 return (DSO_FUNC_TYPE)sym; in dl_bind_func()
|
H A D | dso_win32.c | 165 } sym; in win32_bind_func() local 180 sym.f = GetProcAddress(*ptr, symname); in win32_bind_func() 181 if (sym.p == NULL) { in win32_bind_func() 185 return (DSO_FUNC_TYPE)sym.f; in win32_bind_func()
|
H A D | dso_dlfcn.c | 169 DSO_FUNC_TYPE sym; in dlfcn_bind_func() member 192 return u.sym; in dlfcn_bind_func()
|
/openssl/util/ |
H A D | find-doc-nits | 355 my $sym; 377 $sym = $1; 381 $sym = $1; 384 $sym = $1; 388 $sym = $1; 391 $sym = $1; 394 $sym = $1; 397 $sym = $1; 400 $sym = $1; 409 unless defined $names{$sym}; [all …]
|
/openssl/crypto/ |
H A D | init.c | 679 void *sym; in OPENSSL_atexit() member 691 handlersym.sym, &handle); in OPENSSL_atexit() 704 void *sym; in OPENSSL_atexit() 711 dso = DSO_dsobyaddr(handlersym.sym, DSO_FLAG_NO_UNLOAD_ON_FREE); in OPENSSL_atexit()
|
/openssl/apps/ |
H A D | speed.c | 106 int sym; member 2170 seconds.sym = seconds.rsa = seconds.dsa = seconds.ecdsa in speed_main() 2621 print_message(names[D_MD2], lengths[testnum], seconds.sym); in speed_main() 2633 print_message(names[D_MDC2], lengths[testnum], seconds.sym); in speed_main() 2645 print_message(names[D_MD4], lengths[testnum], seconds.sym); in speed_main() 2657 print_message(names[D_MD5], lengths[testnum], seconds.sym); in speed_main() 2669 print_message(names[D_SHA1], lengths[testnum], seconds.sym); in speed_main() 2750 print_message(names[D_HMAC], lengths[testnum], seconds.sym); in speed_main() 2906 print_message(names[D_GHASH], lengths[testnum], seconds.sym); in speed_main() 2919 print_message(names[D_RAND], lengths[testnum], seconds.sym); in speed_main() [all …]
|