/openssl/crypto/perlasm/ |
H A D | x86masm.pl | 105 { my $func=shift; 106 my $global=($func !~ /^_/); 107 my $begin="${::lbdecor}_${func}_begin"; 109 &::LABEL($func,$global?"$begin":"$nmdecor$func"); 110 $func="ALIGN\t16\n".$nmdecor.$func."\tPROC"; 112 if ($global) { $func.=" PUBLIC\n${begin}::\n"; } 113 else { $func.=" PRIVATE\n"; } 114 push(@out,$func); 118 { my $func=shift; 120 push(@out,"$nmdecor$func ENDP\n");
|
H A D | x86gas.pl | 110 { my $func=shift; 111 my $global=($func !~ /^_/); 112 my $begin="${::lbdecor}_${func}_begin"; 114 &::LABEL($func,$global?"$begin":"$nmdecor$func"); 115 $func=$nmdecor.$func; 117 push(@out,".globl\t$func\n") if ($global); 119 { push(@out,".def\t$func;\t.scl\t".(3-$global).";\t.type\t32;\t.endef\n"); } 123 { push(@out,".type $func,\@function\n"); } 125 push(@out,"$func:\n"); 132 { my $func=shift; [all …]
|
H A D | x86nasm.pl | 104 { my $func=shift; 105 my $global=($func !~ /^_/); 106 my $begin="${::lbdecor}_${func}_begin"; 110 &::LABEL($func,$global?"$begin":"$nmdecor$func"); 111 $func=$nmdecor.$func; 113 push(@out,"${drdecor}global $func\n") if ($global); 115 push(@out,"$func:\n");
|
H A D | x86_64-xlate.pl | 510 $func .= "\n"; 511 $func .= " movq %rdi,8(%rsp)\n"; 512 $func .= " movq %rsi,16(%rsp)\n"; 513 $func .= " movq %rsp,%rax\n"; 517 $func .= " movq %rcx,%rdi\n" if ($narg>0); 518 $func .= " movq %rdx,%rsi\n" if ($narg>1); 524 $func; 535 $func .= " mov rax,rsp\n"; 537 $func .= ":" if ($masm); 538 $func .= "\n"; [all …]
|
/openssl/crypto/poly1305/ |
H A D | poly1305_ppc.c | 30 int poly1305_init(void *ctx, const unsigned char key[16], void *func[2]); 31 int poly1305_init(void *ctx, const unsigned char key[16], void *func[2]) in poly1305_init() 35 func[0] = (void*)(uintptr_t)poly1305_blocks_vsx; in poly1305_init() 36 func[1] = (void*)(uintptr_t)poly1305_emit; in poly1305_init() 39 func[0] = (void*)(uintptr_t)poly1305_blocks_fpu; in poly1305_init() 40 func[1] = (void*)(uintptr_t)poly1305_emit_fpu; in poly1305_init() 43 func[0] = (void*)(uintptr_t)poly1305_blocks; in poly1305_init() 44 func[1] = (void*)(uintptr_t)poly1305_emit; in poly1305_init()
|
H A D | poly1305.c | 426 int poly1305_init(void *ctx, const unsigned char key[16], void *func); 449 if (!poly1305_init(ctx->opaque, key, &ctx->func)) { in Poly1305_Init() 450 ctx->func.blocks = poly1305_blocks; in Poly1305_Init() 451 ctx->func.emit = poly1305_emit; in Poly1305_Init() 477 poly1305_blocks_f poly1305_blocks_p = ctx->func.blocks; in Poly1305_Update() 513 poly1305_blocks_f poly1305_blocks_p = ctx->func.blocks; in Poly1305_Final() 514 poly1305_emit_f poly1305_emit_p = ctx->func.emit; in Poly1305_Final()
|
/openssl/crypto/evp/ |
H A D | evp_utils.c | 27 #define PARAM_CHECK(obj, func, errfunc) \ argument 32 if (obj->func == NULL) { \ 37 #define PARAM_FUNC(name, func, type, err) \ argument 40 PARAM_CHECK(obj, func, err) \ 41 return obj->func(params); \ 44 #define PARAM_CTX_FUNC(name, func, type, err) \ argument 47 PARAM_CHECK(obj, func, err) \ 48 return obj->func(algctx, params); \
|
/openssl/util/ |
H A D | ck_errf.pl | 100 my $func = ""; 105 $func = $1; 106 $func =~ tr/A-Z/a-z/; 118 if ( $func eq "" ) { 132 print "$file:$.:$func:$n [${errlib}err]\n"; 138 if ( $n ne $func && $errlib ne "SYS" ) { 139 print "$file:$.:$func:$n\n";
|
/openssl/crypto/cmp/ |
H A D | cmp_util.c | 76 char **func, char **file, int *line) in ossl_cmp_log_parse_metadata() argument 84 *func = NULL; in ossl_cmp_log_parse_metadata() 99 *func = OPENSSL_strndup(p_func, p_file - 1 - p_func); in ossl_cmp_log_parse_metadata() 118 static const char *improve_location_name(const char *func, const char *fallback) in improve_location_name() argument 121 return func == NULL ? UNKNOWN_FUNC : func; in improve_location_name() 123 return func == NULL || *func == '\0' || strcmp(func, UNKNOWN_FUNC) == 0 in improve_location_name() 124 ? fallback : func; in improve_location_name() 155 const char *file = NULL, *func = NULL, *data = NULL; in OSSL_CMP_print_errors_cb() local 158 while ((err = ERR_get_error_all(&file, &line, &func, &data, &flags)) != 0) { in OSSL_CMP_print_errors_cb() 160 improve_location_name(func, ERR_lib_error_string(err)); in OSSL_CMP_print_errors_cb()
|
/openssl/test/ |
H A D | shlibloadtest.c | 67 void (*func)(void); in test_lib() member 114 myOPENSSL_init_crypto = (OPENSSL_init_crypto_t)symbols[0].func; in test_lib() 130 myTLS_method = (TLS_method_t)symbols[0].func; in test_lib() 131 mySSL_CTX_new = (SSL_CTX_new_t)symbols[1].func; in test_lib() 132 mySSL_CTX_free = (SSL_CTX_free_t)symbols[2].func; in test_lib() 149 myERR_get_error = (ERR_get_error_t)symbols[0].func; in test_lib() 156 myOPENSSL_version_major = (OPENSSL_version_major_t)symbols[1].func; in test_lib() 157 myOPENSSL_version_minor = (OPENSSL_version_minor_t)symbols[2].func; in test_lib() 166 myOPENSSL_atexit = (OPENSSL_atexit_t)symbols[4].func; in test_lib() 191 myDSO_dsobyaddr = (DSO_dsobyaddr_t)symbols[0].func; in test_lib() [all …]
|
/openssl/crypto/whrlpool/asm/ |
H A D | wp-x86_64.pl | 61 $func="whirlpool_block"; 67 .globl $func 68 .type $func,\@function,3 70 $func: 130 $func 7(%rbp,%rdi,8),@mm[1] 136 $func 6(%rbp,%rsi,8),@mm[2] 237 .size $func,.-$func 606 .rva .LSEH_begin_$func 607 .rva .LSEH_end_$func 608 .rva .LSEH_info_$func [all …]
|
H A D | wp-mmx.pl | 133 my $func = ($i==0)? \&movq : \&pxor; 140 &$func (@mm[1],&QWP(&row(1),$tbl,"edi",8)); 146 &$func (@mm[2],&QWP(&row(2),$tbl,"esi",8)); 147 &$func (@mm[3],&QWP(&row(3),$tbl,"edi",8)); 153 &$func (@mm[4],&QWP(&row(4),$tbl,"esi",8)); 154 &$func (@mm[5],&QWP(&row(5),$tbl,"edi",8)); 160 &$func (@mm[6],&QWP(&row(6),$tbl,"esi",8)); 161 &$func (@mm[7],&QWP(&row(7),$tbl,"edi",8));
|
/openssl/crypto/aes/asm/ |
H A D | aesni-sha256-x86_64.pl | 124 .globl $func 127 $func: 148 jnz ${func}_xop 169 .size $func,.-$func 350 ${func}_xop: 656 .size ${func}_xop,.-${func}_xop 666 ${func}_avx: 925 .size ${func}_avx,.-${func}_avx 980 ${func}_avx2: 1308 .size ${func}_avx2,.-${func}_avx2 [all …]
|
/openssl/crypto/err/ |
H A D | err_prn.c | 25 const char *file, *data, *func; in ERR_print_errors_cb() local 28 while ((l = ERR_get_error_all(&file, &line, &func, &data, &flags)) != 0) { in ERR_print_errors_cb() 39 ossl_err_string_int(l, func, buf + offset, sizeof(buf) - offset); in ERR_print_errors_cb() 50 static void put_error(int lib, const char *func, int reason, in put_error() argument 54 ERR_set_debug(file, line, func); in put_error() 64 const char *func = NULL; in ERR_add_error_txt() local 81 ERR_peek_last_error_all(&file, &line, &func, &data, &flags); in ERR_add_error_txt() 129 put_error(ERR_GET_LIB(err), func, err, file, line); in ERR_add_error_txt()
|
H A D | err.c | 355 const char **func, in ERR_get_error_all() argument 384 unsigned long ERR_peek_error_func(const char **func) in ERR_peek_error_func() argument 395 const char **func, in ERR_peek_error_all() argument 419 unsigned long ERR_peek_last_error_func(const char **func) in ERR_peek_last_error_func() argument 430 const char **func, in ERR_peek_last_error_all() argument 446 const char **func, in get_error_values() argument 499 if (func != NULL) { in get_error_values() 500 *func = es->err_func[i]; in get_error_values() 501 if (*func == NULL) in get_error_values() 502 *func = ""; in get_error_values() [all …]
|
/openssl/crypto/sha/asm/ |
H A D | sha512-ia64.pl | 89 $func="sha512_block_data_order"; 103 $func="sha256_block_data_order"; 142 // void $func (SHA_CTX *ctx, const void *in,size_t num[,int host]) 143 .global $func# 144 .proc $func# 147 $func: 609 .endp $func#
|
H A D | sha512-x86_64.pl | 272 .globl $func 275 $func: 416 .size $func,.-$func 790 ${func}_ssse3: 1140 .size ${func}_ssse3,.-${func}_ssse3 1152 ${func}_xop: 1535 .size ${func}_xop,.-${func}_xop 1546 ${func}_avx: 1861 .size ${func}_avx,.-${func}_avx 1915 ${func}_avx2: [all …]
|
/openssl/crypto/rc4/asm/ |
H A D | rc4-md5-x86_64.pl | 72 my ($dat,$in0,$out,$ctx,$inp,$len, $func,$nargs); 76 $func="RC4"; $nargs=4; 82 $func="rc4_md5_enc"; $nargs=6; 126 .globl $func 127 .type $func,\@function,$nargs 128 $func: 474 .size $func,.-$func 635 .rva .LSEH_begin_$func 636 .rva .LSEH_end_$func 637 .rva .LSEH_info_$func [all …]
|
/openssl/doc/internal/man3/ |
H A D | ossl_cmp_print_log.pod | 26 const char *func, const char *file, int line, 39 OSSL_CMP_severity *level, char **func, 51 In any case the B<level>, B<func>, B<file>, and B<line> parameters 54 The B<ctx>, B<func>, B<file>, and B<level_str> arguments may be NULL. 68 the variable pointed to by I<func> with the function name string or NULL, 71 Any string returned via I<*func> and I<*file> must be freed by the caller.
|
/openssl/doc/man3/ |
H A D | ERR_get_error.pod | 24 unsigned long ERR_peek_error_func(const char **func); 25 unsigned long ERR_peek_last_error_func(const char **func); 31 const char **func, 34 const char **func, 37 const char *func, 70 occurred in *I<file>, *I<line> and *I<func>, and also extra text and flags 89 store the name of the function where the error occurred in *I<func>, unless
|
/openssl/crypto/bn/asm/ |
H A D | via-mont.pl | 96 $func="bn_mul_mont_padlock"; 119 &function_begin($func); 244 &function_end($func);
|
/openssl/ms/ |
H A D | uplink.c | 39 void (*func) (void) = unimplemented; in OPENSSL_Uplink() local 96 func = p[index]; in OPENSSL_Uplink() 99 table[index] = func; in OPENSSL_Uplink()
|
/openssl/crypto/lhash/ |
H A D | lhash.c | 188 OPENSSL_LH_DOALL_FUNC func, in doall_util_fn() argument 210 wfunc(a->data, func); in doall_util_fn() 216 void OPENSSL_LH_doall(OPENSSL_LHASH *lh, OPENSSL_LH_DOALL_FUNC func) in OPENSSL_LH_doall() argument 221 doall_util_fn(lh, 0, lh->daw, func, (OPENSSL_LH_DOALL_FUNCARG)NULL, in OPENSSL_LH_doall() 226 OPENSSL_LH_DOALL_FUNCARG func, void *arg) in OPENSSL_LH_doall_arg() argument 232 (OPENSSL_LH_DOALL_FUNC)NULL, func, lh->daaw, arg); in OPENSSL_LH_doall_arg()
|
/openssl/test/helpers/ |
H A D | cmp_testlib.c | 77 int print_to_bio_out(const char *func, const char *file, int line, in print_to_bio_out() argument 80 return OSSL_CMP_print_to_bio(bio_out, func, file, line, level, msg); in print_to_bio_out()
|
/openssl/crypto/modes/ |
H A D | ctr128.c | 154 unsigned int *num, ctr128_f func) in CRYPTO_ctr128_encrypt_ctr32() argument 187 (*func) (in, out, blocks, key, ivec); in CRYPTO_ctr128_encrypt_ctr32() 200 (*func) (ecount_buf, ecount_buf, 1, key, ivec); in CRYPTO_ctr128_encrypt_ctr32()
|