mirror of
https://github.com/rosenpass/rosenpass.git
synced 2026-02-28 14:33:37 -08:00
test(rosenpass): Complete support for SHAKE256 in gen-ipc-msg-types.rs
This commit is contained in:
committed by
Jan Winkelmann (keks)
parent
3205f8c572
commit
5e6c85d73d
@@ -9,7 +9,10 @@ fn test_gen_ipc_msg_types() -> anyhow::Result<()> {
|
||||
|
||||
// Smoke tests only
|
||||
assert!(stdout.contains("type RawMsgType = u128;"));
|
||||
// For Blake2b:
|
||||
assert!(stdout.contains("const SUPPLY_KEYPAIR_RESPONSE : RawMsgType = RawMsgType::from_le_bytes(hex!(\"f2dc 49bd e261 5f10 40b7 3c16 ec61 edb9\"));"));
|
||||
// For SHAKE256:
|
||||
assert!(stdout.contains("const SUPPLY_KEYPAIR_RESPONSE : RawMsgType = RawMsgType::from_le_bytes(hex!(\"ff80 3886 68a4 47ce 2ae6 0915 0972 682f\"))"));
|
||||
|
||||
// TODO: Also test SHAKE256 here
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user