Skip to content

Instantly share code, notes, and snippets.

View atorr0's full-sized avatar
๐Ÿค“
I may be slow to respond.

Alejandro Torras atorr0

๐Ÿค“
I may be slow to respond.
  • Barcelona, Catalonia, Spain, Europe
View GitHub Profile
@voluntas
voluntas / openssl_speed_aes_gcm_chacha20_poly1305.md
Last active November 3, 2026 07:04
$ openssl speed -evp aes-gcm | chacha20-poly1305 ใฎ็ตๆžœใ‚’้›†ใ‚ใ‚‹ใ‚นใƒฌ

OpenSSL ใ‹ใ‚‰ AWS-LC ใซๅค‰ๆ›ดใ—ใŸใŸใ‚ใ“ใฎ Gist ใฎๆ›ดๆ–ฐใ‚’็ต‚ไบ†ใ—ใพใ™ใ€‚

$ openssl speed -evp aes-128-gcm | chacha20-poly1305 ใฎ็ตๆžœใ‚’้›†ใ‚ใ‚‹ใ‚นใƒฌ

AES-CBC ใŒๆ—ฉใ„ใ‘ใฉใ€AES-GCM/AES-CTR ใŒ้…ใ‹ใฃใŸใ‚Šใ€Ryzen ใŒ็ˆ†้€Ÿใ ใฃใŸใ‚Šใ€ ChaCha20-Poly1305 ใŒ ARM ใงๆ—ฉใ‹ใฃใŸใ‚Šใ™ใ‚‹ใจใ„ใ†ๅ™‚ใฎ็œŸ็›ธใŒ็Ÿฅใ‚ŠใŸใ„ใงใ™ใ€‚ใ‚ณใƒกใƒณใƒˆใซ้ฉๅฝ“ใซในใŸในใŸ็ตๆžœใ‚’่ฒผใฃใฆใใ ใ•ใ„ใ€‚

ใกใชใฟใซ Apple M2 ใŠใ‹ใ—ใ„ใใ‚‰ใ„ๆ—ฉใ„ใงใ™ใ€‚