mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Messy merge conflicts because this PR backported some ad-hoc stuff from upstream while keeping a few things that upstream deleted. Hopefully reviewing is easier than doing this in the first place, since ultimately all I did was delete code from one side or another of the conflicts. (Ok, I also changed some boost optional stuff to std::optional, and had to patch up a test file for test framework changes.) When reviewing the detailed crypto, bear in mind that taptweaks, like all hashes are the kind of crypto that cannot be subtly wrong -- it will either fail very hard or be correct. And we have independent implementations in C++ and Python that cross-check each other, si it's unlikely to be the former. |
||
|---|---|---|
| .. | ||
| ctaes | ||
| aes.cpp | ||
| aes.h | ||
| chacha20.cpp | ||
| chacha20.h | ||
| chacha_poly_aead.cpp | ||
| chacha_poly_aead.h | ||
| common.h | ||
| hkdf_sha256_32.cpp | ||
| hkdf_sha256_32.h | ||
| hmac_sha256.cpp | ||
| hmac_sha256.h | ||
| hmac_sha512.cpp | ||
| hmac_sha512.h | ||
| muhash.cpp | ||
| muhash.h | ||
| poly1305.cpp | ||
| poly1305.h | ||
| ripemd160.cpp | ||
| ripemd160.h | ||
| sha1.cpp | ||
| sha1.h | ||
| sha3.cpp | ||
| sha3.h | ||
| sha256.cpp | ||
| sha256.h | ||
| sha256_avx2.cpp | ||
| sha256_shani.cpp | ||
| sha256_sse4.cpp | ||
| sha256_sse41.cpp | ||
| sha512.cpp | ||
| sha512.h | ||
| siphash.cpp | ||
| siphash.h | ||