Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
The K64F has a crypto-acceleration unit (CAU) that can speedup software DES/AES/SHA/MD5. Freescale has an assembler wrapper at http://www.freescale.com/products/arm-processors/kinetis-cortex-m/k-series/k7x-glcd-mcus/crypto-acceleration-unit-cau-and-mmcau-software-library:CAUAP The CAU speeds the time-critical crypto operations, and the library only accesses those basic operations, so you still need to add logic for padding hash input and doing CBC encryption. The Freescale library is in GNU C/assembler so it doesn't work with MBED on-line compiler. I exported the GNU GCC MBED build environment to test the CAU library on K64F @ 120MHz. Here are some preliminary results comparing CAU with C implementation:
Has anyone ported the CAU library to work with the MBED on-line compiler?