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.
Resulting performance is amazing: on m
Weiterlesen...