mirror of https://github.com/wolfSSL/wolfssl.git
Updated Rowley CrossWorks README.md for enabling FREESCALE_MMCAU. Added sample benchmark output with MMCAU enabled.
parent
fdab3943be
commit
32171997e7
|
@ -31,8 +31,8 @@ To enable Freescale MMCAU:
|
|||
|
||||
1. [Download the MMCAU library](http://www.freescale.com/products/arm-processors/kinetis-cortex-m/k-series/k7x-glcd-mcus/crypto-acceleration-unit-cau-and-mmcau-software-library:CAUAP).
|
||||
2. Copy the `lib_mmcau.a` and `cau_api.h` files into the project.
|
||||
3. Add `-L $(ProjectDir) -l lib_mmcau.a` to project "Additional Linker Options" OR goto "Build Configuration" and check "MMCAU".
|
||||
4. Enable the "FREESCALE_MMCAU" define in "user_settings.h" and make sure its value is 1.
|
||||
3. Enable the `FREESCALE_MMCAU` define in `user_settings.h` and make sure its value is `1`.
|
||||
4. Add the `lib_mmcau.a` file to `Source Files` in the application project.
|
||||
|
||||
# Project Files
|
||||
|
||||
|
|
|
@ -66,4 +66,19 @@ RSA 1024 decryption took 573.000 milliseconds, avg over 1 iterations
|
|||
DH 1024 key generation 253.000 milliseconds, avg over 1 iterations
|
||||
DH 1024 key agreement 311.000 milliseconds, avg over 1 iterations
|
||||
Benchmark Test 1: Return code 0
|
||||
|
||||
SAMPLE OUTPUT: Freescale K64 running at 96MHz with MMCAU enabled:
|
||||
Benchmark Test 1:
|
||||
AES 25 kB took 0.019 seconds, 1.285 MB/s
|
||||
ARC4 25 kB took 0.033 seconds, 0.740 MB/s
|
||||
RABBIT 25 kB took 0.028 seconds, 0.872 MB/s
|
||||
3DES 25 kB took 0.026 seconds, 0.939 MB/s
|
||||
MD5 25 kB took 0.005 seconds, 4.883 MB/s
|
||||
SHA 25 kB took 0.008 seconds, 3.052 MB/s
|
||||
SHA-256 25 kB took 0.013 seconds, 1.878 MB/s
|
||||
RSA 1024 encryption took 89.000 milliseconds, avg over 1 iterations
|
||||
RSA 1024 decryption took 573.000 milliseconds, avg over 1 iterations
|
||||
DH 1024 key generation 250.000 milliseconds, avg over 1 iterations
|
||||
DH 1024 key agreement 308.000 milliseconds, avg over 1 iterations
|
||||
Benchmark Test 1: Return code 0
|
||||
*/
|
||||
|
|
|
@ -306,10 +306,6 @@
|
|||
Name="ARM_Release"
|
||||
batch_build_configurations="V7EM THUMB * Release"
|
||||
inherited_configurations="ARM;V7EM;Release;Kineits;Flash;THUMB" />
|
||||
<configuration
|
||||
Name="MMCAU"
|
||||
hidden="Yes"
|
||||
linker_additional_options="-L $(ProjectDir) -l lib_mmcau.a" />
|
||||
<configuration
|
||||
Name="Common"
|
||||
build_intermediate_directory="$(ProjectName)_$(Configuration)"
|
||||
|
|
Loading…
Reference in New Issue