Hi Everyone,

I'm working on ChaCha20Poly1305 authenticated encryption from RFC 8439. The 
class was added at https://github.com/weidai11/cryptopp/issues/724 and 
https://github.com/weidai11/cryptopp/commit/315e54e63d58, and a minimal 
wiki page was added https://www.cryptopp.com/wiki/ChaCha20Poly1305.

Encrypt and Decrypt is fine using:

    ChaCha20Poly1305::Encryption enc;
    ...
    enc.EncryptAndAuthenticate(...);

And:

    ChaCha20Poly1305::Decryption dec;
    ...
    bool result = dec.DecryptAndVerify(...);

I'm working on one problem, though. Verification is failing when using 
filters. For some reason comparison of the existing MAC and the newly 
calculated MAC is failing because the existing MAC is empty in the 
VerificationFilter (derp...).

Hold-off on using ChaCha20Poly1305 for the time being until I get to the 
bottom of the filter issue (or use one-shot EncryptAndAuthenticate and 
DecryptAndVerify).

Jeff

-- 
You received this message because you are subscribed to "Crypto++ Users". More 
information about Crypto++ and this group is available at 
http://www.cryptopp.com and 
http://groups.google.com/forum/#!forum/cryptopp-users.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to