I could find references to "hardware-accelerated AES encryption" on an iPhone/iPad. But the APIs that I could find to do the AES encryption (CCCrypt) don't talk about hardware-acceleration at all.
Does anyone have any idea if these APIs are the ones that are hardware-accelerated or are there other ones?
Yes.
As of 4.3, if the message has >64 blocks (i.e. 1024 bytes), the CCCrypt function for AES will use the hardware-accelerated implementation. (This is done by ioctl
ing with /dev/aes_0
, BTW.)
Besides AES, SHA-1 is also hardware-accelerated when the input is > 4096 bytes.