Does iPhone support hardware-accelerated AES Encryption?

前端 未结 3 1168
囚心锁ツ
囚心锁ツ 2020-12-05 18:48

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 har

3条回答
  •  时光说笑
    2020-12-05 19:39

    The whole point of an API is that you don't need to care about the implementation details that back it. The implementor (Apple, in this case) will use whatever implementation gives the best performance and energy usage characteristics on whatever hardware is in use. That might be a hardware implementation, or it might be a software implementation, it might depend on the block size for which you are calling the function.

提交回复
热议问题