Add a chacha20 variant to go with chacha8

This commit is contained in:
moneromooo-monero 2017-12-07 13:27:11 +00:00
parent 6ca30ae666
commit 1e5491e942
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
9 changed files with 65 additions and 50 deletions

View file

@ -34,7 +34,7 @@
#include "serialization.h"
#include "debug_archive.h"
#include "crypto/chacha8.h"
#include "crypto/chacha.h"
#include "crypto/crypto.h"
#include "crypto/hash.h"
@ -77,7 +77,7 @@ bool do_serialize(Archive<true> &ar, std::vector<crypto::signature> &v)
return true;
}
BLOB_SERIALIZER(crypto::chacha8_iv);
BLOB_SERIALIZER(crypto::chacha_iv);
BLOB_SERIALIZER(crypto::hash);
BLOB_SERIALIZER(crypto::hash8);
BLOB_SERIALIZER(crypto::public_key);