mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
November 2022 - Rust Nightly Update (#144)
* Update nightly * Have the latest nightly clippy pass Co-authored-by: GitHub Actions <> Co-authored-by: Luke Parker <lukeparker5132@gmail.com>
This commit is contained in:
committed by
GitHub
parent
5df74ac9e2
commit
8e53522780
@@ -41,7 +41,7 @@ pub trait Curve: Ciphersuite {
|
||||
|
||||
/// Hash the given dst and data to a byte vector. Used to instantiate H4 and H5.
|
||||
fn hash_to_vec(dst: &[u8], data: &[u8]) -> Vec<u8> {
|
||||
Self::H::digest(&[Self::CONTEXT, dst, data].concat()).as_ref().to_vec()
|
||||
Self::H::digest([Self::CONTEXT, dst, data].concat()).as_ref().to_vec()
|
||||
}
|
||||
|
||||
/// Field element from hash. Used during key gen and by other crates under Serai as a general
|
||||
|
||||
Reference in New Issue
Block a user