aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.zig
diff options
context:
space:
mode:
authorFrank Denis <github@pureftpd.org>2021-02-28 08:29:38 +0100
committerAndrew Kelley <andrew@ziglang.org>2021-02-28 20:40:49 -0800
commita5a3ad4f956bae1ca0e5a49de2e9ac7145170039 (patch)
tree713106289091e9eea404dbf3267b1967d5998b06 /src/codegen.zig
parent58b14d01aeb919989d1750a8894350a07fd4e844 (diff)
downloadzig-a5a3ad4f956bae1ca0e5a49de2e9ac7145170039.tar.gz
zig-a5a3ad4f956bae1ca0e5a49de2e9ac7145170039.zip
std/crypto: add AES-OCB
OCB has been around for a long time. It's simpler, faster and more secure than AES-GCM. RFC 7253 was published in 2014. OCB also won the CAESAR competition along with AEGIS. It's been implemented in OpenSSL and other libraries for years. So, why isn't everybody using it instead of GCM? And why don't we have it in Zig already? The sad reason for this was patents. GCM was invented only to work around these patents, and for all this time, OCB was that nice thing that everybody knew existed but that couldn't be freely used. That just changed. The OCB patents are now abandoned, and OCB's author just announced that OCB was officially public domain.
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions