恍然大悟是什么意思| 来减一笔是什么字| 眼睛总是干涩是什么原因| 肉桂茶属于什么茶| 什么是非甾体抗炎药| 镪水池是什么| 叒怎么读音是什么意思| 疏肝理气吃什么药| 胸膜炎吃什么消炎药| 广藿香是什么味道| 什么食物养肝护肝最好| 兵解是什么意思| 尿隐血2十是什么原因| 双氧水是什么| hrp是什么意思| 小缺血灶是什么意思| 齐天大圣是什么级别| 支那人什么意思| bni是什么意思| 天麻治什么病| 什么是强直性脊柱炎| 禳是什么意思| 2月19是什么星座| 亨字五行属什么| 1989年是什么年| 保妇康栓是治疗什么的| 嘴麻是什么原因| 青云志是什么意思| 胸疼挂什么科室| 凉面配什么菜好吃| 白马怕青牛是什么意思| 八嘎呀路是什么意思| 打夜针是什么意思| 2007年属猪五行属什么| 女孩的英文是什么| 天体是什么| 马眼棒是什么| 长春新碱是什么药| 不时之需是什么意思| 五什么六什么的成语| 梅尼埃综合症是什么病| 肛裂用什么药膏| 清淡饮食吃什么| 过敏性鼻炎喷什么药| 拉尿分叉是什么原因| 梦见已故长辈什么预兆| 什么人不适合去高原| 农夫与蛇是什么故事| 喝什么水最好| 蜂胶是什么东西| 生物工程专业学什么| 子宫肌瘤什么不能吃| 杵状指见于什么病| 什么狗不如| 抚摸是什么意思| 食欲不振吃什么药| 麦乳精是什么东西| 不典型鳞状细胞是什么意思| 什么是功| 一丘之貉是什么意思| 疖肿是什么原因引起的| 欢喜是什么意思| 西布曲明是什么| 扁桃体发炎有什么症状| 皮下囊肿是什么原因引起的| 群体是什么意思| 四川大学校长什么级别| 人活着有什么意思| 李宁是什么牌子| 枕大神经痛吃什么药| 喉咙痛可以吃什么| 支原体和衣原体有什么区别| 水印相机是什么意思| 红枣为什么要去核煮| 偷什么不犯法| 乳铁蛋白是什么| 4五行属什么| 吃什么可以去湿气| 海参是补什么的| 疱疹用什么药| 胸骨突出是什么原因| 醋酸纤维是什么面料| 社畜什么意思| 八月二号是什么星座| 三文鱼和什么不能一起吃| 什么叫雷达| 西瓜什么时候传入中国| 五三年属什么生肖| 眼睛为什么会痛| 子宫内膜异位症有什么症状表现| 助产学是干什么的| 通讯地址填什么| 鸡炖什么补气血| 叶酸片什么时候吃| 子宫囊肿是什么原因引起的| 硬下疳是什么意思| 吃什么可以散结节| cm是什么意思| 吹空调头疼吃什么药| 风湿都有什么症状| 肉是什么结构的字| 脚臭用什么洗效果最好| 丈二和尚摸不着头脑是什么意思| 脚痒脱皮是什么原因| 书房字画写什么内容好| 什么虫子咬了会起水泡| 益生菌对人体有什么好处| 奥斯卡小金人什么意思| 身体发抖是什么病| 田螺吃什么食物| 吃什么长内膜最快最有效| 血小板低是什么症状| 为什么总是想睡觉| 掌心有痣代表什么| 米是什么结构| 车间管理人员工资计入什么科目| 手抖是什么原因| 百合和拉拉有什么区别| 10月24是什么星座| 上颌窦炎吃什么药| 肺气肿吃什么药最有效| 黄色衣服配什么颜色裤子好看| 尿偏红色是什么原因| 什么避孕套好用| 山药不能和什么一起吃| 经常犯困是什么原因| 肾水不足是什么意思| 低血糖的症状是什么| 救赎什么意思| 味精和鸡精有什么区别| pinky是什么意思| 颖五行属什么| 4月27日是什么星座| 95年猪五行属什么| 做梦搬家是什么意思| 牛油是什么油| 后会无期什么意思| 2006属什么生肖| 内分泌紊乱吃什么药| 吕布是什么生肖| 胸前长痘痘是什么原因| 一直耳鸣是什么原因引起的| 肛门塞什么东西最舒服| 小孩磨牙缺什么| 秀才相当于现在的什么学历| baleno是什么牌子| 狗狗肠胃不好吃什么药最好| 招字五行属什么| 1月13日什么星座| 小狗的尾巴有什么作用| 党参和丹参有什么区别| 知青是什么| 外科和内科有什么区别| 新白娘子传奇许仙为什么用女的演| 什么的秃鹫| 为什么250是骂人的话| 怀才不遇是什么意思| 认知是什么| a型和o型生的孩子是什么血型| c1和c2有什么区别| 天长地久是什么意思| 恻隐之心是什么意思| 夫妻少配无刑是什么意思| 吃什么吐什么| 湿热吃什么药| 口里发酸是什么原因| 吃什么可以让子宫内膜变薄| 小针刀是什么| 尿潜血是什么意思| 吊什么意思| 中央党校校长是什么级别| 血糯米是什么米| 什么是次数| 空调数显是什么意思| 椭圆形脸适合什么发型| 东南方五行属什么| 化疗期间吃什么水果好| 胰腺炎吃什么药好| 老年人脚肿是什么原因引起的| 又什么又什么的葡萄| 辅食是什么意思| 我低头向山沟是什么歌| 维生素b5又叫什么| 心性是什么意思| pn是什么意思| 学习是什么| 胃疼应该挂什么科| 胃痛吃什么| 阿司匹林肠溶片什么时候吃| 碧霄是什么意思| 球迷是什么意思| 坐飞机需要什么| 8月21日是什么星座| 梦到自己结婚什么意思| dm是什么病| 布洛芬治什么| 6月20号什么星座| 结膜出血是什么原因| 肺结核是什么原因引起的| 吃饭流汗是什么原因| 是什么字| 人为什么会失眠| 前列腺按摩什么感觉| 妇乐颗粒的功效能治什么病| 脸部爱出油是什么原因| 肚脐眼臭是什么原因| 什么水果糖分低| 孕妇缺碘对胎儿有什么影响| 孕晚期破水是什么症状| 摩羯座男生喜欢什么样的女生| 退行性病变是什么意思| 小孩脚麻是什么原因| 68岁属什么| 极乐是什么意思| 难以启齿是什么意思| 伸什么缩什么| 喝黑豆浆有什么好处| 妹妹你坐船头是什么歌| 迪奥什么意思| o和ab型生的孩子是什么血型| 雌二醇测定是什么检查| 隅读什么| 翼龙吃什么| 79年的羊是什么命| 血压偏低有什么症状| 胰岛素抵抗有什么症状| 雍土念什么| 月经推迟是什么原因导致的| 今年是什么年天干地支| 苹果不能和什么一起吃| 雾化是治疗什么的| 什么中药补气血效果最好| 幽门螺旋杆菌抗体阳性是什么意思| 立加羽读什么| 眼睛有眼屎用什么眼药水| 得五行属什么| 嵌体是什么| wing什么意思| 螃蟹吐泡泡是什么原因| 辣椒属于什么科植物| 什么叫情劫| c反应蛋白高是什么意思| 肾痛在什么位置痛| 狗怀孕有什么症状| 88属什么生肖| 吃什么能降低尿蛋白| 梦见抬棺材是什么意思| 依然如故的故是什么意思| 为什么大拇指只有两节| 跖疣用什么药| 沉沦什么意思| 长期熬夜有什么坏处| 出汗太多会对身体造成什么伤害| 过期的洗面奶可以用来做什么| 杜仲泡水喝有什么功效| 碧生源减肥茶有什么副作用| 中央党校什么级别| 什么叫肝功能不全| 为什么长痱子| 鬼畜什么意思| 正方形体积公式是什么| 血钾低会有什么症状| 三月二十是什么星座| 电商五行属什么| 百度Jump to content

Chine paysage printanier au Guangxi

From Wikipedia, the free encyclopedia
百度 (责编:龚霏菲、王珩)

An Advanced Encryption Standard instruction set (AES instruction set) is a set of instructions that are specifically designed to perform AES encryption and decryption operations efficiently. These instructions are typically found in modern processors and can greatly accelerate AES operations compared to software implementations. An AES instruction set includes instructions for key expansion, encryption, and decryption using various key sizes (128-bit, 192-bit, and 256-bit).

The instruction set is often implemented as a set of instructions that can perform a single round of AES along with a special version for the last round which has a slightly different method.

When AES is implemented as an instruction set instead of as software, it can have improved security, as its side channel attack surface is reduced.[1]

x86 architecture processors

[edit]

AES-NI (or the Intel Advanced Encryption Standard New Instructions; AES-NI) was the first major implementation. AES-NI is an extension to the x86 instruction set architecture for microprocessors from Intel and AMD proposed by Intel in March 2008.[2]

A wider version of AES-NI, AVX-512 Vector AES instructions (VAES), is found in AVX-512.[3]

Instructions

[edit]
Instruction Description[4]
AESENC Perform one round of an AES encryption flow
AESENCLAST Perform the last round of an AES encryption flow
AESDEC Perform one round of an AES decryption flow
AESDECLAST Perform the last round of an AES decryption flow
AESKEYGENASSIST Assist in AES round key generation[note 1]
AESIMC Assist in AES decryption round key generation. Applies Inverse Mix Columns to round keys.

Intel

[edit]

The following Intel processors support the AES-NI instruction set:[5]

  • Westmere based processors, specifically:
    • Westmere-EP (a.k.a. Gulftown Xeon 5600-series DP server model) processors
    • Clarkdale processors (except Core i3, Pentium and Celeron)
    • Arrandale processors (except Celeron, Pentium, Core i3, Core i5-4XXM)
  • Sandy Bridge processors:
    • Desktop: all except Pentium, Celeron, Core i3[6][7]
    • Mobile: all Core i7 and Core i5. Several vendors have shipped BIOS configurations with the extension disabled;[8] a BIOS update is required to enable them.[9]
  • Ivy Bridge processors
    • All i5, i7, Xeon and i3-2115C[10] only
  • Haswell processors (all except i3-4000m,[11] Pentium and Celeron)
  • Broadwell processors (all except Pentium and Celeron)
  • Silvermont/Airmont processors (all except Bay Trail-D and Bay Trail-M)
  • Goldmont (and later) processors
  • Skylake (and later) processors

AMD

[edit]

Several AMD processors support AES instructions:

Hardware acceleration in other architectures

[edit]

AES support with unprivileged processor instructions is also available in the latest SPARC processors (T3, T4, T5, M5, and forward) and in latest ARM processors. The SPARC T4 processor, introduced in 2011, has user-level instructions implementing AES rounds.[13] These instructions are in addition to higher level encryption commands. The ARMv8-A processor architecture, announced in 2011, including the ARM Cortex-A53 and A57 (but not previous v7 processors like the Cortex A5, 7, 8, 9, 11, 15 [citation needed]) also have user-level instructions which implement AES rounds.[14]

x86 CPUs offering non-AES-NI acceleration interfaces

[edit]

VIA x86 CPUs and AMD Geode use driver-based accelerated AES handling instead. (See Crypto API (Linux).)

The following chips, while supporting AES hardware acceleration, do not support AES-NI:

ARM architecture

[edit]

Programming information is available in ARM Architecture Reference Manual ARMv8, for ARMv8-A architecture profile (Section A2.3 "The Armv8 Cryptographic Extension").[20]

The Marvell Kirkwood was the embedded core of a range of SoC from Marvell Technology, these SoC CPUs (ARM, mv_cesa in Linux) use driver-based accelerated AES handling. (See Crypto API (Linux).)

  • ARMv8-A architecture
    • ARM cryptographic extensions are optionally supported on ARM Cortex-A30/50/70 cores
  • Cryptographic hardware accelerators/engines

RISC-V architecture

[edit]

The scalar and vector cryptographic instruction set extensions for the RISC-V architecture were ratified respectively on 2022 and 2023, which allowed RISC-V processors to implement hardware acceleration for AES, GHASH, SHA-256, SHA-512, SM3, and SM4.

Before the AES-specific instructions were available on RISC-V, a number of RISC-V chips included integrated AES co-processors. Examples include:

  • Dual-core RISC-V 64 bits Sipeed-M1 support AES and SHA256.[26]
  • RISC-V architecture based ESP32-C (as well as Xtensa-based ESP32[27]), support AES, SHA, RSA, RNG, HMAC, digital signature and XTS 128 for flash.[28]
  • Bouffalo Labs BL602/604 32-bit RISC-V supports various AES and SHA variants.[29]

POWER architecture

[edit]

Since the Power ISA v.2.07, the instructions vcipher and vcipherlast implement one round of AES directly.[30]

IBM z/Architecture

[edit]

IBM z9 or later mainframe processors support AES as single-opcode (KM, KMC) AES ECB/CBC instructions via IBM's CryptoExpress hardware.[31] These single-instruction AES versions are therefore easier to use than Intel NI ones, but may not be extended to implement other algorithms based on AES round functions (such as the Whirlpool and Gr?stl hash functions).

Other architectures

[edit]
  • Atmel XMEGA[32] (on-chip accelerator with parallel execution, not an instruction)
  • SPARC T3 and later processors have hardware support for several cryptographic algorithms, including AES.
  • Cavium Octeon MIPS[33] All Cavium Octeon MIPS-based processors have hardware support for several cryptographic algorithms, including AES using special coprocessor 3 instructions.

Performance

[edit]

In AES-NI Performance Analyzed, Patrick Schmid and Achim Roos found "impressive results from a handful of applications already optimized to take advantage of Intel's AES-NI capability".[34] A performance analysis using the Crypto++ security library showed an increase in throughput from approximately 28.0 cycles per byte to 3.5 cycles per byte with AES/GCM versus a Pentium 4 with no acceleration.[35][36][failed verification] [better source needed]

Supporting software

[edit]

Most modern compilers can emit AES instructions.

A lot of security and cryptography software supports the AES instruction set, including the following notable core infrastructure:

Application beyond AES

[edit]

A fringe use of the AES instruction set involves using it on block ciphers with a similarly-structured S-box, using affine transform to convert between the two. SM4, Camellia and ARIA have been accelerated using AES-NI.[52][53][54] The AVX-512 Galois Field New Instructions (GFNI) allows implementing these S-boxes in a more direct way.[55]

New cryptographic algorithms have been constructed to specifically use parts of the AES algorithm, so that the AES instruction set can be used for speedups. The AEGIS family, which offers authenticated encryption, runs with at least twice the speed of AES.[56] AEGIS is an "additional finalist for high-performance applications" in the CAESAR Competition.[57]

See also

[edit]

Notes

[edit]
  1. ^ The instruction computes 4 parallel subexpressions of AES key expansion on 4 32-bit words in a double quadword (aka SSE register) on bits X[127:96] for and X[63:32] for only. Two parallel AES S-box substitutions and are used in AES-256 and 2 subexpressions and are used in AES-128, AES-192, AES-256.

References

[edit]
  1. ^ "Securing the Enterprise with Intel AES-NI" (PDF). Intel Corporation. Archived (PDF) from the original on 2025-08-06. Retrieved 2025-08-06.
  2. ^ "Intel Software Network". Intel. Archived from the original on 7 April 2008. Retrieved 2025-08-06.
  3. ^ "Intel Architecture Instruction Set Extensions and Future Features Programming Reference". Intel. Retrieved October 16, 2017.
  4. ^ Shay Gueron (2010). "Intel Advanced Encryption Standard (AES) Instruction Set White Paper" (PDF). Intel. Retrieved 2025-08-06.
  5. ^ "Intel Product Specification Advanced Search". Intel ARK.
  6. ^ Shimpi, Anand Lal. "The Sandy Bridge Review: Intel Core i7-2600K, i5-2500K and Core i3-2100 Tested".
  7. ^ "Intel Product Specification Comparison".
  8. ^ "AES-NI support in TrueCrypt (Sandy Bridge problem)". 27 January 2022.
  9. ^ "Some products can support AES New Instructions with a Processor Configuration update, in particular, i7-2630QM/i7-2635QM, i7-2670QM/i7-2675QM, i5-2430M/i5-2435M, i5-2410M/i5-2415M. Please contact OEM for the BIOS that includes the latest Processor configuration update".
  10. ^ "Intel Core i3-2115C Processor (3M Cache, 2.00 GHz) Product Specifications".
  11. ^ "Intel Core i3-4000M Processor (3M Cache, 2.40 GHz) Product Specifications".
  12. ^ "Following Instructions". AMD. November 22, 2010. Archived from the original on November 26, 2010. Retrieved 2025-08-06.
  13. ^ Dan Anderson (2011). "SPARC T4 OpenSSL Engine". Oracle. Retrieved 2025-08-06.
  14. ^ Richard Grisenthwaite (2011). "ARMv8-A Technology Preview" (PDF). ARM. Archived from the original (PDF) on 2025-08-06. Retrieved 2025-08-06.
  15. ^ "AMD Geode LX Processor Family Technical Specifications". AMD.
  16. ^ "VIA Padlock Security Engine". VIA. Archived from the original on 2025-08-06. Retrieved 2025-08-06.
  17. ^ a b Cryptographic Hardware Accelerators on OpenWRT.org
  18. ^ "VIA Eden-N Processors". VIA. Archived from the original on 2025-08-06. Retrieved 2025-08-06.
  19. ^ "VIA C7 Processors". VIA. Archived from the original on 2025-08-06. Retrieved 2025-08-06.
  20. ^ "Arm Architecture Reference Manual Armv8, for Armv8-A architecture profile". ARM. 22 January 2021.
  21. ^ "Security System/Crypto Engine driver status". sunxi.montjoie.ovh.
  22. ^ "Linux Cryptographic Acceleration on an i.MX6" (PDF). Linux Foundation. February 2017. Archived from the original (PDF) on 2025-08-06. Retrieved 2025-08-06.
  23. ^ "Cryptographic module in Snapdragon 805 is FIPS 140-2 certified". Qualcomm.
  24. ^ "RK3128 - Rockchip Wiki". Rockchip wiki. Archived from the original on 2025-08-06. Retrieved 2025-08-06.
  25. ^ "The Samsung Exynos 7420 Deep Dive - Inside A Modern 14nm SoC". AnandTech.
  26. ^ "Sipeed M1 Datasheet v1.1" (PDF). kamami.pl. 2025-08-06. Retrieved 2025-08-06.
  27. ^ "ESP32 Series Datasheet" (PDF). www.espressif.com. 2025-08-06. Retrieved 2025-08-06.
  28. ^ "ESP32-C3 WiFi & BLE RISC-V processor is pin-to-pin compatible with ESP8266". CNX-Software. Retrieved 2025-08-06.
  29. ^ "BL602-Bouffalo Lab (Nanjing) Co., Ltd". www.bouffalolab.com. Archived from the original on 2025-08-06. Retrieved 2025-08-06.
  30. ^ "Power ISA Version 2.07 B". Retrieved 2025-08-06.
  31. ^ "IBM System z10 cryptography". IBM. Archived from the original on August 13, 2008. Retrieved 2025-08-06.
  32. ^ "Using the XMEGA built-in AES accelerator" (PDF). Retrieved 2025-08-06.
  33. ^ "Cavium Networks Launches Industry's Broadest Line of Single and Dual Core MIPS64-based OCTEON Processors Targeting Intelligent Next Generation Networks". Archived from the original on 2025-08-06. Retrieved 2025-08-06.
  34. ^ P. Schmid and A. Roos (2010). "AES-NI Performance Analyzed". Tom's Hardware. Retrieved 2025-08-06.
  35. ^ T. Krovetz, W. Dai (2010). "How to get fast AES calls?". Crypto++ user group. Retrieved 2025-08-06.
  36. ^ "Crypto++ 5.6.0 Pentium 4 Benchmarks". Crypto++ Website. 2009. Archived from the original on 19 September 2010. Retrieved 2025-08-06.
  37. ^ "NonStop SSH Reference Manual". Retrieved 2025-08-06.
  38. ^ "NonStop cF SSL Library Reference Manual". Retrieved 2025-08-06.
  39. ^ "BackBox H4.08Tape Encryption Option". Retrieved 2025-08-06.
  40. ^ "Intel Advanced Encryption Standard Instructions (AES-NI)". Intel. March 2, 2010. Archived from the original on 7 July 2010. Retrieved 2025-08-06.
  41. ^ "AES-NI enhancements to NSS on Sandy Bridge systems". 2025-08-06. Retrieved 2025-08-06.
  42. ^ "System Administration Guide: Security Services, Chapter 13 Solaris Cryptographic Framework (Overview)". Oracle. September 2010. Retrieved 2025-08-06.
  43. ^ "FreeBSD 8.2 Release Notes". FreeBSD.org. 2025-08-06. Archived from the original on 2025-08-06. Retrieved 2025-08-06.
  44. ^ OpenSSL: CVS Web Interface
  45. ^ "Cryptographic Backend (GnuTLS 3.6.14)". gnutls.org. Retrieved 2025-08-06.
  46. ^ "AES-GCM in libsodium". libsodium.org.
  47. ^ "Hardware Acceleration". www.veracrypt.fr.
  48. ^ "aes - The Go Programming Language". golang.org. Retrieved 2025-08-06.
  49. ^ Shimpi, Anand Lal. "The Clarkdale Review: Intel's Core i5 661, i3 540 & i3 530". www.anandtech.com. Retrieved 2025-08-06.
  50. ^ "Bloombase StoreSafe Intelligent Storage Firewall".
  51. ^ "Vormetric Encryption Adds Support for Intel AES-NI Acceleration Technology". 15 May 2012.
  52. ^ Saarinen, Markku-Juhani O. (17 April 2020). "mjosaarinen/sm4ni: Demonstration that AES-NI instructions can be used to implement the Chinese Encryption Standard SM4". GitHub.
  53. ^ Kivilinna, Jussi (2013). Block Ciphers: Fast Implementations on x86-64 Architecture (PDF) (M.Sc.). University of Oulu. pp. 33, 42. Retrieved 2025-08-06.
  54. ^ Yoo, Tae-Hee; Kivilinna, Jussi; Cho, Choong-Hee (2023). "AVX-Based Acceleration of ARIA Block Cipher Algorithm". IEEE Access. 11: 77403–77415. Bibcode:2023IEEEA..1177403Y. doi:10.1109/ACCESS.2023.3298026.
  55. ^ Kivilinna, Jussi (19 April 2023). "camellia-simd-aesni". GitHub. Newer x86-64 processors also support Galois Field New Instructions (GFNI) which allow implementing Camellia s-box more straightforward manner and yield even better performance.
  56. ^ Wu, Hongjun; Preneel, Bart. "AEGIS: A Fast Authenticated Encryption Algorithm (v1.1)" (PDF).
  57. ^ Denis, Frank. "The AEGIS Family of Authenticated Encryption Algorithms". cfrg.github.io.
[edit]
败火是什么意思 cpc是什么意思 秋葵吃多了有什么坏处 左手臂麻木是什么征兆 什么邮票最值钱
什么山什么水 河蚌吃什么食物 前降支中段心肌桥什么意思 女生是党员有什么好处 尿尿疼吃什么药
79年的羊是什么命 蜂王浆有什么好处 大宝贝是什么意思 肾结石发作有什么症状 阿昔洛韦乳膏治什么
丧门是什么意思 性有什么好处和坏处 生地黄是什么 10月是什么星座 肉鸽是什么意思
吃叶酸有什么副作用hcv9jop2ns1r.cn 天天喝牛奶有什么好处hcv8jop5ns3r.cn co2是什么hcv9jop4ns9r.cn 便便是绿色的是什么原因hcv8jop5ns0r.cn 玉溪烟属于什么档次hcv9jop2ns2r.cn
吃苹果有什么好处hcv8jop4ns4r.cn 02年的马是什么命hcv8jop2ns1r.cn 18年是什么婚520myf.com 5月23日是什么日子hcv7jop9ns8r.cn 子母环是什么形状图片hcv9jop0ns5r.cn
孕吐最早什么时候开始hcv7jop7ns2r.cn 脑子萎缩是什么原因造成的hcv8jop1ns3r.cn 着床出血是什么样子的hcv8jop7ns2r.cn 胃得宁又叫什么名字hcv8jop5ns4r.cn them什么意思hcv9jop6ns9r.cn
挽留是什么意思chuanglingweilai.com 为什么会长汗疱疹imcecn.com 夏末是什么时候hcv9jop4ns9r.cn 人体最大的消化腺是什么hcv9jop2ns1r.cn 2020年是属什么生肖hcv9jop0ns1r.cn
百度