Latest update
This commit is contained in:
+17
-3
@@ -1,9 +1,22 @@
|
||||
IF[{- !$disabled{"engine"} -}]
|
||||
$PADLOCKASM=
|
||||
IF[{- !$disabled{asm} -}]
|
||||
$PADLOCKASM_x86=e_padlock-x86.s
|
||||
$PADLOCKASM_x86_64=e_padlock-x86_64.s
|
||||
|
||||
# Now that we have defined all the arch specific variables, use the
|
||||
# appropriate one, and define the appropriate macros
|
||||
IF[$PADLOCKASM_{- $target{asm_arch} -}]
|
||||
$PADLOCKASM=$PADLOCKASM_{- $target{asm_arch} -}
|
||||
$PADLOCKDEF=PADLOCK_ASM
|
||||
ENDIF
|
||||
ENDIF
|
||||
|
||||
IF[{- $disabled{"dynamic-engine"} -}]
|
||||
LIBS=../libcrypto
|
||||
IF[{- !$disabled{padlockeng} -}]
|
||||
SOURCE[../libcrypto]=\
|
||||
e_padlock.c {- $target{padlock_asm_src} -}
|
||||
SOURCE[../libcrypto]=e_padlock.c $PADLOCKASM
|
||||
DEFINE[../libcrypto]=$PADLOCKDEF
|
||||
ENDIF
|
||||
IF[{- !$disabled{capieng} -}]
|
||||
SOURCE[../libcrypto]=e_capi.c
|
||||
@@ -17,7 +30,8 @@ IF[{- !$disabled{"engine"} -}]
|
||||
ELSE
|
||||
IF[{- !$disabled{padlockeng} -}]
|
||||
MODULES{engine}=padlock
|
||||
SOURCE[padlock]=e_padlock.c {- $target{padlock_asm_src} -}
|
||||
SOURCE[padlock]=e_padlock.c $PADLOCKASM
|
||||
DEFINE[padlock]=$PADLOCKDEF
|
||||
DEPEND[padlock]=../libcrypto
|
||||
INCLUDE[padlock]=../include
|
||||
IF[{- defined $target{shared_defflag} -}]
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
/* #define ENGINE_DEVCRYPTO_DEBUG */
|
||||
|
||||
#ifdef CRYPTO_ALGORITHM_MIN
|
||||
#if CRYPTO_ALGORITHM_MIN < CRYPTO_ALGORITHM_MAX
|
||||
# define CHECK_BSD_STYLE_MACROS
|
||||
#endif
|
||||
|
||||
@@ -59,7 +59,7 @@ struct driver_info_st {
|
||||
|
||||
enum devcrypto_accelerated_t {
|
||||
DEVCRYPTO_NOT_ACCELERATED = -1, /* software implemented */
|
||||
DEVCRYPTO_ACCELERATION_UNKNOWN = 0, /* acceleration support unkown */
|
||||
DEVCRYPTO_ACCELERATION_UNKNOWN = 0, /* acceleration support unknown */
|
||||
DEVCRYPTO_ACCELERATED = 1 /* hardware accelerated */
|
||||
} accelerated;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user