aboutsummaryrefslogtreecommitdiff
path: root/src/test/crypto_tests.cpp
AgeCommit message (Expand)Author
2024-08-28refactor: Hand-replace some ParseHex -> ""_hexHodlinator
2024-08-28Merge bitcoin/bitcoin#30571: test: [refactor] Use m_rng directlymerge-script
2024-08-26scripted-diff: [test] Use g_rng/m_rng directlyMarcoFalke
2024-08-21test: refactor: Give unit test functions access to test stateRyan Ofsky
2024-08-13refactor: Remove Span operator==, Use std::ranges::equalMarcoFalke
2024-08-05scripted-diff: Replace uint256S("str") -> uint256{"str"}Hodlinator
2024-07-01random: add RandomMixin::randbits with compile-known bitsPieter Wuille
2024-02-26crypto: replace CountBits with std::bit_widthCory Fields
2023-08-17tests: miscellaneous hex / std::byte improvementsPieter Wuille
2023-08-17crypto: refactor ChaCha20 classes to use Span<std::byte> interfacePieter Wuille
2023-08-14crypto: BIP324 ciphersuite follow-upstratospher
2023-07-26crypto: support split plaintext in ChaCha20Poly1305 Encrypt/DecryptPieter Wuille
2023-07-26crypto: add FSChaCha20Poly1305, rekeying wrapper around ChaCha20Poly1305Pieter Wuille
2023-07-26crypto: add FSChaCha20, a rekeying wrapper around ChaCha20Pieter Wuille
2023-07-26crypto: add the ChaCha20Poly1305 AEAD as specified in RFC8439Pieter Wuille
2023-07-26crypto: remove outdated variant of ChaCha20Poly1305 AEADPieter Wuille
2023-07-12Switch all callers from poly1305_auth to Poly1305 classPieter Wuille
2023-07-12tests: add more Poly1305 test vectorsPieter Wuille
2023-07-12crypto: add Poly1305 class with std::byte Span interfacePieter Wuille
2023-07-09test: add ChaCha20 test triggering 32-bit block counter overflowSebastian Falbesoner
2023-07-07tests: improve ChaCha20 unit testsPieter Wuille
2023-07-07crypto: Implement RFC8439-compatible variant of ChaCha20Pieter Wuille
2023-02-17Merge bitcoin/bitcoin#26940: test: create random and coins utils, add amount ...Andrew Chow
2023-02-06Move random test util code from setup_common to randomJon Atack
2023-01-30Add unit test for ChaCha20's new cachingPieter Wuille
2023-01-30Improve test vectors for ChaCha20Pieter Wuille
2023-01-30Only support 32-byte keys in ChaCha20{,Aligned}Pieter Wuille
2023-01-30Make unrestricted ChaCha20 cipher not waste keystream bytesPieter Wuille
2023-01-30Rename ChaCha20::Seek -> Seek64 to clarify multiple of 64Pieter Wuille
2023-01-26Use DataStream where possibleMarcoFalke
2023-01-03refactor: use braced init for integer constants instead of c style castsPasta
2021-12-30scripted-diff: Bump copyright headersHennadii Stepanov
2021-12-03Merge bitcoin/bitcoin#23413: Replace MakeSpan helper with Span deduction guideMarcoFalke
2021-11-29Replace MakeSpan helper with Span deduction guidePieter Wuille
2021-11-19doc: Use clang-tidy comments in crypto_testsMarcoFalke
2021-10-20Fix K1/K2 use in the comments in ChaCha20-Poly1305 AEAD=
2021-06-23[crypto] Fix K1/K2 use in ChaCha20-Poly1305 AEADDhruv Mehta
2021-05-04refactor: Replace &foo[0] with foo.data()MarcoFalke
2020-12-21test: Add MuHash3072 unit testsFabian Jahr
2020-09-06Implement keccak-f[1600] and SHA3-256Pieter Wuille
2020-08-06refactor: Make HexStr take a spanWladimir J. van der Laan
2020-07-30Make CHash256/CHash160 output to SpanPieter Wuille
2020-07-30Make CHash256 and CHash160 consume SpansPieter Wuille
2020-04-16scripted-diff: Bump copyright headersMarcoFalke
2020-04-16scripted-diff: Sort test includesMarcoFalke
2019-12-04test: Use char instead of unsigned charMarcoFalke
2019-11-06scripted-diff: test: Move setup_common to test libraryMarcoFalke
2019-07-03Add ChaCha20Poly1305@Bitcoin testsJonas Schnelli
2019-06-11Fix spelling errors identified by codespell 1.15.0Ben Woosley
2019-05-16Merge #14047: Add HKDF_HMAC256_L32 and method to negate a private keyWladimir J. van der Laan