diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2018-06-12 16:21:05 +0300 |
---|---|---|
committer | rl1987 <rl1987@sdf.lonestar.org> | 2018-06-19 19:26:31 +0300 |
commit | 5af29fbb63eed3517e0d57a04072531347e64515 (patch) | |
tree | c36b4d748e35ea0a5ba3aca79d1a147cce325648 /src/test/test_crypto.c | |
parent | f3267741e45c7944196696c51b81d76201af1e76 (diff) | |
download | tor-5af29fbb63eed3517e0d57a04072531347e64515.tar.gz tor-5af29fbb63eed3517e0d57a04072531347e64515.zip |
When possible, use RFC5869 HKDF implementation from OpenSSL
Also, stop supporting empty HKDF input key material
Diffstat (limited to 'src/test/test_crypto.c')
-rw-r--r-- | src/test/test_crypto.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/test_crypto.c b/src/test/test_crypto.c index a6913ded94..dba8d9afa9 100644 --- a/src/test/test_crypto.c +++ b/src/test/test_crypto.c @@ -1822,15 +1822,6 @@ test_crypto_hkdf_sha256(void *arg) key_material, 100) /* Test vectors generated with ntor_ref.py */ - memset(key_material, 0, sizeof(key_material)); - EXPAND(""); - tt_int_op(r, OP_EQ, 0); - test_memeq_hex(key_material, - "d3490ed48b12a48f9547861583573fe3f19aafe3f81dc7fc75" - "eeed96d741b3290f941576c1f9f0b2d463d1ec7ab2c6bf71cd" - "d7f826c6298c00dbfe6711635d7005f0269493edf6046cc7e7" - "dcf6abe0d20c77cf363e8ffe358927817a3d3e73712cee28d8"); - EXPAND("Tor"); tt_int_op(r, OP_EQ, 0); test_memeq_hex(key_material, |