• 请不要在回答技术问题时复制粘贴 AI 生成的内容
ljiaming19
V2EX  ›  程序员

x86 的 AES 指令只能用来加速 AES 加密算法吗

  •  1
     
  •   ljiaming19 · Sep 7, 2021 · 2711 views
    This topic created in 1769 days ago, the information mentioned may be changed or developed.

    除了加速 AES 还有没有可能可以加速其他的对称加密算法像 twofish 之类的 或者有没有其他的算法也能用这个指令来加速

    Corua
        1
    Corua  
       Sep 7, 2021 via Android
    指令集直接调用 cpu 中的专用电路才能实现 aes 功能,这部分是只针对 aes 进行的硬件优化。其他算法的加密结构、s 盒都不一样又如何通用?
    CatCode
        2
    CatCode  
       Sep 7, 2021
    楼上正解

    但是,对于其他加密算法,可能能用 SSE 或者 AVX 指令集优化。不过这得自己去找找有没有相关的实现。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2731 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 11:36 · PVG 19:36 · LAX 04:36 · JFK 07:36
    ♥ Do have faith in what you're doing.