File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -574,10 +574,10 @@ BOOST_AUTO_TEST_CASE(hkdf_hmac_sha256_l32_tests)
574
574
{
575
575
// Use rfc5869 test vectors but truncated to 32 bytes (our implementation only support length 32)
576
576
TestHKDF_SHA256_32 (
577
- /* IKM */ " 0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b" ,
578
- /* salt */ " 000102030405060708090a0b0c" ,
579
- /* info */ " f0f1f2f3f4f5f6f7f8f9" ,
580
- /* expected OKM */ " 3cb25f25faacd57a90434f64d0362f2a2d2d0a90cf1a5a4c5db02d56ecc4c5bf" );
577
+ /* ikm_hex= */ " 0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b" ,
578
+ /* salt_hex= */ " 000102030405060708090a0b0c" ,
579
+ /* info_hex= */ " f0f1f2f3f4f5f6f7f8f9" ,
580
+ /* okm_check_hex= */ " 3cb25f25faacd57a90434f64d0362f2a2d2d0a90cf1a5a4c5db02d56ecc4c5bf" );
581
581
TestHKDF_SHA256_32 (
582
582
" 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f" ,
583
583
" 606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeaf" ,
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ void Seed(FastRandomContext& ctx);
56
56
static inline void SeedInsecureRand (SeedRand seed = SeedRand::SEED)
57
57
{
58
58
if (seed == SeedRand::ZEROS) {
59
- g_insecure_rand_ctx = FastRandomContext (/* deterministic */ true );
59
+ g_insecure_rand_ctx = FastRandomContext (/* fDeterministic= */ true );
60
60
} else {
61
61
Seed (g_insecure_rand_ctx);
62
62
}
You can’t perform that action at this time.
0 commit comments