mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Implement AEAD-ChaCha20-Poly1305.
This implementation is based off the description in RFC 7539. The ChaCha20 code is also updated to provide a means of generating keystream blocks with arbitrary counter values. This is used to generated the one-time Poly1305 key in the AEAD construction.
This commit is contained in:
parent
adc32c0b50
commit
b8025c5826
15 changed files with 954 additions and 32 deletions
|
|
@ -47,7 +47,8 @@ ifdef WINDOWS_BUILD
|
|||
DLEXT=dll
|
||||
endif
|
||||
|
||||
OBJS_CRYPTO= aes.o aesni.o arc4.o \
|
||||
OBJS_CRYPTO= aead_chacha20_poly1305.o \
|
||||
aes.o aesni.o arc4.o \
|
||||
asn1parse.o asn1write.o base64.o \
|
||||
bignum.o blowfish.o camellia.o \
|
||||
ccm.o chacha20.o \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue