h2o / picotls

TLS 1.3 implementation in C (master supports RFC8446 as well as draft-26, -27, -28)
539 stars 143 forks source link

AES-NI and PCLMULQDQ support #312

Open wqweto opened 4 years ago

wqweto commented 4 years ago

I recently had to tweak cifra to auto-detect AES-NI and PCLMULQDQ instruction set availability on host CPU and switch to faster AES-GCM implementation at run-time.

Do you care for a PR to boost minicrypto performance or prefer keeping cifra dependancy on stock repo version?

kazuho commented 4 years ago

Thank you for asking.

Generally speaking, I think we'd prefer optimizations getting upstreamed, rather than maintaining the changes ourselves.