- md5
- sha1
- sha256
- aes [128, 192, 256]
- gf256mul
- entropium
-
Added a
common
folder for common sources and portable assembly files. -
Suppressed all DEBUG from the original implementation. Intent is to provide integration with the HAL's bc_iface in the future. Removed the following 'common' header files :
config.h
cli.h
debug.h
In their place, created a (currently blank) dummy holder for debug functions incommon/debug.h
.
-
Moved
avr_asm_macros.S
intocommon
. -
Renamed all used assembly sources from
*-asm.S
to*-avr.S
. CMakeLists designed to now use<name>-<toolchain-prefix>.S
instead when told to include<name>.c
, if- the assembly file is available.
- the CMake variable
USE_ASM_IF_AVAILABLE
is set. - where the build system is configured with a toolchain file that sets the CMake TOOLCHAIN_PREFIX variable. Note that this variable was intended to recognize toolchain binaries, such as "avr-gcc" (with a TOOLCHAIN_PREFIX of 'avr') and "msp430-elf-gcc" (with a TOOLCHAIN_PREFIX of 'msp430-elf'). Assembly files must therefore be named accordingly.
-
Moved tables from
PROGMEM
into the newly definedROMEM
ofcommon/romem.h
. This header should, in principle, be able to handle differences in how each platform handles read only memory. This has not yet been adequately tested.
-
Moved all the
aesXXX_enc.h/c
files intoaes_enc.h/c
. This makes it compatible with the structure ofaes_enc-avr.S
. -
Moved all the
aesXXX_dec.h/c
files intoaes_dec.h/c
. This makes it compatible with the structure ofaes_dec-avr.S
.