Commit 1190d3f4 authored by Andy Polyakov's avatar Andy Polyakov
Browse files

Add RSAX builtin engine [from HEAD].

parent 0e4f5cfb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -127,7 +127,7 @@ my $x86_asm="x86cpuid.o:bn-586.o co-586.o x86-mont.o:des-586.o crypt586.o:aes-58

my $x86_elf_asm="$x86_asm:elf";

my $x86_64_asm="x86_64cpuid.o:x86_64-gcc.o x86_64-mont.o::aes-x86_64.o aesni-x86_64.o::md5-x86_64.o:sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o::rc4-x86_64.o:::wp-x86_64.o:cmll-x86_64.o cmll_misc.o";
my $x86_64_asm="x86_64cpuid.o:x86_64-gcc.o x86_64-mont.o modexp512-x86_64.o::aes-x86_64.o aesni-x86_64.o::md5-x86_64.o:sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o::rc4-x86_64.o:::wp-x86_64.o:cmll-x86_64.o cmll_misc.o";
my $ia64_asm="ia64cpuid.o:bn-ia64.o::aes_core.o aes_cbc.o aes-ia64.o::md5-ia64.o:sha1-ia64.o sha256-ia64.o sha512-ia64.o::rc4-ia64.o rc4_skey.o:::::void";
my $sparcv9_asm="sparcv9cap.o sparccpuid.o:bn-sparcv9.o sparcv9-mont.o sparcv9a-mont.o:des_enc-sparc.o fcrypt_b.o:aes_core.o aes_cbc.o aes-sparcv9.o:::sha1-sparcv9.o sha256-sparcv9.o sha512-sparcv9.o:::::::void";
my $sparcv8_asm=":sparcv8.o:des_enc-sparc.o fcrypt_b.o:::::::::::void";
+9 −9
Original line number Diff line number Diff line
@@ -288,7 +288,7 @@ $sys_id =
$lflags       = 
$bn_ops       = SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL
$cpuid_obj    = x86_64cpuid.o
$bn_obj       = x86_64-gcc.o x86_64-mont.o
$bn_obj       = x86_64-gcc.o x86_64-mont.o modexp512-x86_64.o
$des_obj      = 
$aes_obj      = aes-x86_64.o aesni-x86_64.o
$bf_obj       = 
@@ -1342,7 +1342,7 @@ $sys_id = MACOSX
$lflags       = -Wl,-search_paths_first%
$bn_ops       = SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL
$cpuid_obj    = x86_64cpuid.o
$bn_obj       = x86_64-gcc.o x86_64-mont.o
$bn_obj       = x86_64-gcc.o x86_64-mont.o modexp512-x86_64.o
$des_obj      = 
$aes_obj      = aes-x86_64.o aesni-x86_64.o
$bf_obj       = 
@@ -2241,7 +2241,7 @@ $sys_id =
$lflags       = -ldl
$bn_ops       = SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL
$cpuid_obj    = x86_64cpuid.o
$bn_obj       = x86_64-gcc.o x86_64-mont.o
$bn_obj       = x86_64-gcc.o x86_64-mont.o modexp512-x86_64.o
$des_obj      = 
$aes_obj      = aes-x86_64.o aesni-x86_64.o
$bf_obj       = 
@@ -2427,7 +2427,7 @@ $sys_id =
$lflags       = -ldl
$bn_ops       = SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL
$cpuid_obj    = x86_64cpuid.o
$bn_obj       = x86_64-gcc.o x86_64-mont.o
$bn_obj       = x86_64-gcc.o x86_64-mont.o modexp512-x86_64.o
$des_obj      = 
$aes_obj      = aes-x86_64.o aesni-x86_64.o
$bf_obj       = 
@@ -2489,7 +2489,7 @@ $sys_id =
$lflags       = -ldl
$bn_ops       = SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL
$cpuid_obj    = x86_64cpuid.o
$bn_obj       = x86_64-gcc.o x86_64-mont.o
$bn_obj       = x86_64-gcc.o x86_64-mont.o modexp512-x86_64.o
$des_obj      = 
$aes_obj      = aes-x86_64.o aesni-x86_64.o
$bf_obj       = 
@@ -3946,7 +3946,7 @@ $sys_id =
$lflags       = -ldl
$bn_ops       = SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL
$cpuid_obj    = x86_64cpuid.o
$bn_obj       = x86_64-gcc.o x86_64-mont.o
$bn_obj       = x86_64-gcc.o x86_64-mont.o modexp512-x86_64.o
$des_obj      = 
$aes_obj      = aes-x86_64.o aesni-x86_64.o
$bf_obj       = 
@@ -4039,7 +4039,7 @@ $sys_id = MINGW64
$lflags       = -lws2_32 -lgdi32 -lcrypt32
$bn_ops       = SIXTY_FOUR_BIT RC4_CHUNK_LL DES_INT EXPORT_VAR_AS_FN
$cpuid_obj    = x86_64cpuid.o
$bn_obj       = x86_64-gcc.o x86_64-mont.o
$bn_obj       = x86_64-gcc.o x86_64-mont.o modexp512-x86_64.o
$des_obj      = 
$aes_obj      = aes-x86_64.o aesni-x86_64.o
$bf_obj       = 
@@ -4969,7 +4969,7 @@ $sys_id =
$lflags       = -lsocket -lnsl -ldl
$bn_ops       = SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL
$cpuid_obj    = x86_64cpuid.o
$bn_obj       = x86_64-gcc.o x86_64-mont.o
$bn_obj       = x86_64-gcc.o x86_64-mont.o modexp512-x86_64.o
$des_obj      = 
$aes_obj      = aes-x86_64.o aesni-x86_64.o
$bf_obj       = 
@@ -5000,7 +5000,7 @@ $sys_id =
$lflags       = -lsocket -lnsl -ldl
$bn_ops       = SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL
$cpuid_obj    = x86_64cpuid.o
$bn_obj       = x86_64-gcc.o x86_64-mont.o
$bn_obj       = x86_64-gcc.o x86_64-mont.o modexp512-x86_64.o
$des_obj      = 
$aes_obj      = aes-x86_64.o aesni-x86_64.o
$bf_obj       = 
+2 −0
Original line number Diff line number Diff line
@@ -89,6 +89,8 @@ x86_64-gcc.o: asm/x86_64-gcc.c
	$(CC) $(CFLAGS) -c -o $@ asm/x86_64-gcc.c
x86_64-mont.s:	asm/x86_64-mont.pl
	$(PERL) asm/x86_64-mont.pl $(PERLASM_SCHEME) > $@
modexp512-x86_64.s:	asm/modexp512-x86_64.pl
	$(PERL) asm/modexp512-x86_64.pl $(PERLASM_SCHEME) > $@

bn-ia64.s:	asm/ia64.S
	$(CC) $(CFLAGS) -E asm/ia64.S > $@
+1496 −0

File added.

Preview size limit exceeded, changes collapsed.

+2 −2
Original line number Diff line number Diff line
@@ -21,12 +21,12 @@ LIBSRC= eng_err.c eng_lib.c eng_list.c eng_init.c eng_ctrl.c \
	eng_table.c eng_pkey.c eng_fat.c eng_all.c \
	tb_rsa.c tb_dsa.c tb_ecdsa.c tb_dh.c tb_ecdh.c tb_rand.c tb_store.c \
	tb_cipher.c tb_digest.c tb_pkmeth.c tb_asnmth.c \
	eng_openssl.c eng_cnf.c eng_dyn.c eng_cryptodev.c
	eng_openssl.c eng_cnf.c eng_dyn.c eng_cryptodev.c eng_rsax.c
LIBOBJ= eng_err.o eng_lib.o eng_list.o eng_init.o eng_ctrl.o \
	eng_table.o eng_pkey.o eng_fat.o eng_all.o \
	tb_rsa.o tb_dsa.o tb_ecdsa.o tb_dh.o tb_ecdh.o tb_rand.o tb_store.o \
	tb_cipher.o tb_digest.o tb_pkmeth.o tb_asnmth.o \
	eng_openssl.o eng_cnf.o eng_dyn.o eng_cryptodev.o
	eng_openssl.o eng_cnf.o eng_dyn.o eng_cryptodev.o eng_rsax.o

SRC= $(LIBSRC)

Loading