Host & Client force randomness on each other.
Updated Reserved entry order. Made DataType ID changes easier in future (this MAY NOT happen again once in use).
This commit is contained in:
parent
687e6f9642
commit
f4118f28ba
25 changed files with 1032 additions and 667 deletions
|
|
@ -348,7 +348,7 @@ impl Keyring {
|
|||
.get(*offset..*offset + 2)
|
||||
.ok_or(CryptoError::InvalidKeyLength)?
|
||||
.try_into()
|
||||
.unwrap(),
|
||||
.expect("slice is 2 bytes, verified above"),
|
||||
) as usize;
|
||||
*offset += 2;
|
||||
let key = bytes
|
||||
|
|
|
|||
Loading…
Reference in a new issue