Home
last modified time | relevance | path

Searched refs:func (Results 1 – 25 of 73) sorted by relevance

123

/openssl/crypto/poly1305/
H A Dpoly1305_ppc.c30 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()
/openssl/crypto/perlasm/
H A Dx86masm.pl105 { 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 Dx86gas.pl110 { 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 Dx86nasm.pl104 { 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 Dx86_64-xlate.pl446 $func .= "\n";
447 $func .= " movq %rdi,8(%rsp)\n";
448 $func .= " movq %rsi,16(%rsp)\n";
449 $func .= " movq %rsp,%rax\n";
453 $func .= " movq %rcx,%rdi\n" if ($narg>0);
454 $func .= " movq %rdx,%rsi\n" if ($narg>1);
460 $func;
471 $func .= " mov rax,rsp\n";
473 $func .= ":" if ($masm);
474 $func .= "\n";
[all …]
/openssl/crypto/evp/
H A Devp_utils.c27 #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 Dck_errf.pl100 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 Dcmp_util.c76 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()
H A Dcmp_ctx.c301 char *func = NULL; local
310 msg = ossl_cmp_log_parse_metadata(buf, &level, &func, &file, &line);
315 if (!ctx->log_cb(func != NULL ? func : "(no func)",
321 OPENSSL_free(func);
329 const char *func, const char *file, int line, in ossl_cmp_print_log() argument
347 if (func == NULL) in ossl_cmp_print_log()
348 func = "(unset function name)"; in ossl_cmp_print_log()
360 func, file, line, level_str); in ossl_cmp_print_log()
371 res = ctx->log_cb(func, file, line, level, hugebuf); in ossl_cmp_print_log()
/openssl/test/
H A Dshlibloadtest.c67 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 Dwp-x86_64.pl61 $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
605 .rva .LSEH_begin_$func
606 .rva .LSEH_end_$func
607 .rva .LSEH_info_$func
[all …]
H A Dwp-mmx.pl133 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/err/
H A Derr_prn.c25 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 Derr.c356 const char **func, in ERR_get_error_all() argument
385 unsigned long ERR_peek_error_func(const char **func) in ERR_peek_error_func() argument
396 const char **func, in ERR_peek_error_all() argument
420 unsigned long ERR_peek_last_error_func(const char **func) in ERR_peek_last_error_func() argument
431 const char **func, in ERR_peek_last_error_all() argument
447 const char **func, in get_error_values() argument
500 if (func != NULL) { in get_error_values()
501 *func = es->err_func[i]; in get_error_values()
502 if (*func == NULL) in get_error_values()
503 *func = ""; in get_error_values()
[all …]
/openssl/crypto/aes/asm/
H A Daesni-sha256-x86_64.pl124 .globl $func
127 $func:
148 jnz ${func}_xop
169 .size $func,.-$func
348 ${func}_xop:
654 .size ${func}_xop,.-${func}_xop
664 ${func}_avx:
923 .size ${func}_avx,.-${func}_avx
978 ${func}_avx2:
1306 .size ${func}_avx2,.-${func}_avx2
[all …]
/openssl/crypto/sha/asm/
H A Dsha512-ia64.pl89 $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 Dsha512-x86_64.pl272 .globl $func
275 $func:
416 .size $func,.-$func
786 ${func}_ssse3:
1136 .size ${func}_ssse3,.-${func}_ssse3
1148 ${func}_xop:
1531 .size ${func}_xop,.-${func}_xop
1542 ${func}_avx:
1857 .size ${func}_avx,.-${func}_avx
1911 ${func}_avx2:
[all …]
/openssl/crypto/rc4/asm/
H A Drc4-md5-x86_64.pl72 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 Dossl_cmp_print_log.pod26 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/crypto/bn/asm/
H A Dvia-mont.pl96 $func="bn_mul_mont_padlock";
119 &function_begin($func);
244 &function_end($func);
/openssl/doc/man3/
H A DERR_get_error.pod24 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/ms/
H A Duplink.c39 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 Dlhash.c177 OPENSSL_LH_DOALL_FUNC func, in doall_util_fn() argument
197 func(a->data); in doall_util_fn()
203 void OPENSSL_LH_doall(OPENSSL_LHASH *lh, OPENSSL_LH_DOALL_FUNC func) in OPENSSL_LH_doall() argument
205 doall_util_fn(lh, 0, func, (OPENSSL_LH_DOALL_FUNCARG)0, NULL); in OPENSSL_LH_doall()
208 void OPENSSL_LH_doall_arg(OPENSSL_LHASH *lh, OPENSSL_LH_DOALL_FUNCARG func, void *arg) in OPENSSL_LH_doall_arg() argument
210 doall_util_fn(lh, 1, (OPENSSL_LH_DOALL_FUNC)0, func, arg); in OPENSSL_LH_doall_arg()
/openssl/test/helpers/
H A Dcmp_testlib.c77 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 Dctr128.c154 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()

Completed in 78 milliseconds

123