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 September 18, 2025 01:23
$ openssl speed -evp aes-gcm | chacha20-poly1305 ใฎ็ตๆžœใ‚’้›†ใ‚ใ‚‹ใ‚นใƒฌ

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

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

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

CPU ๆƒ…ๅ ฑใฏใงใใ‚Œใฐ่ฉณ็ดฐใชใฎใŒใปใ—ใ„ใงใ™ใ€‚

OpenSSL ใฎใƒใƒผใ‚ธใƒงใƒณใฏ 3.1 ็ณปใฎๆœ€ๆ–ฐ็‰ˆใงใŠ้ก˜ใ„ใ—ใพใ™ใ€‚