Does this support AES-NI instructions? - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85) +--- Forum: General Discussion on ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=86) +--- Thread: Does this support AES-NI instructions? (/showthread.php?tid=6083) |
Does this support AES-NI instructions? - oealias - 05-21-2018 Is there any version of linux that has the following modules? module : aesni_intel module : aes_x86_64 RE: Does this support AES-NI instructions? - wirr - 06-08-2018 The Rock64 is not using an Intel CPU or the x86_64 architecture and does therefore not understand the Intel AES-NI instructions. The rockchip rk3328 SoC is an aarch64 architecture, often also called arm64 or armv8. Luckily the armv8 instruction set contains an equivalent offloading mechanism called "Cryptography extensions" (http://infocenter.arm.com/help/topic/com.arm.doc.ddi0500e/CJHDEBAF.html). So whatever you are trying to accomplish, you will have to use the offloading mechanisms your hardware actually supports. In ayufans latest kernel the relevant options seem to be enabled: CONFIG_CRYPTO_HW=y CONFIG_ARM64_CRYPTO=y CONFIG_CRYPTO_SHA1_ARM64_CE=y CONFIG_CRYPTO_SHA2_ARM64_CE=y CONFIG_CRYPTO_GHASH_ARM64_CE=y CONFIG_CRYPTO_AES_ARM64_CE=y CONFIG_CRYPTO_AES_ARM64_CE_CCM=y CONFIG_CRYPTO_AES_ARM64_CE_BLK=y |