Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   Fastest AES-PRNG, AES-CTR and AES-GCM Delphi implementation (https://www.delphipraxis.net/206968-fastest-aes-prng-aes-ctr-aes-gcm-delphi-implementation.html)

DP News-Robot 13. Feb 2021 09:30

Fastest AES-PRNG, AES-CTR and AES-GCM Delphi implementation
 
Last week, I committed new ASM implementations of our AES-PRNG, AES-CTR and AES-GCM for mORMot 2.
They handle eight 128-bit at once in an interleaved fashion, as permitted by the CTR chaining mode. The aes-ni opcodes (aesenc aesenclast) are used for AES process, and the GMAC of the AES-GCM mode is computed using the pclmulqdq opcode.

https://blog.synopse.info?post/public/blog/aesalgo.png


Resulting performance is amazing: on m

Weiterlesen...


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:20 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz