Update the built-in Chacha20-Poly1305 code to an RFC 7539 complaint version.
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 9 Aug 2021 20:30:42 +0000 (22:30 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 29 May 2022 16:01:12 +0000 (18:01 +0200)
commit63df2139835bb532125562c73ec3efbc437a3634
tree0d5ae19ed81959d5cfb0aee8c3989fcbeae33f34
parent9ce00234190baec0eaa608a5093bb3823487ef0c
Update the built-in Chacha20-Poly1305 code to an RFC 7539 complaint version.

This is necessary so our copy of Chacha20-Poly1305 is compatible with that
of many other crypto libraries.

This code is made by Grigori Goronz, but is heavily based on the code from
D.J. Bernstein's ref10 implementation used before.
12 files changed:
src/chacha-poly1305/chacha-poly1305.c [deleted file]
src/chacha-poly1305/chacha-poly1305.h [deleted file]
src/chacha-poly1305/chacha.c
src/chacha-poly1305/chacha.h
src/chacha-poly1305/chachapoly.c [new file with mode: 0644]
src/chacha-poly1305/chachapoly.h [new file with mode: 0644]
src/chacha-poly1305/meson.build
src/chacha-poly1305/poly1305.c
src/chacha-poly1305/poly1305.h
src/sptps.c
src/sptps.h
src/sptps_test.c