mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 04:39: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
@@ -21,7 +21,7 @@ impl Ietf8032Ed448Hram {
|
||||
pub fn hram(context: &[u8], R: &Point, A: &Point, m: &[u8]) -> Scalar {
|
||||
Scalar::wide_reduce(
|
||||
Shake256_114::digest(
|
||||
&[
|
||||
[
|
||||
&[b"SigEd448".as_ref(), &[0, u8::try_from(context.len()).unwrap()]].concat(),
|
||||
context,
|
||||
&[R.to_bytes().as_ref(), A.to_bytes().as_ref(), m].concat(),
|
||||
|
||||
Reference in New Issue
Block a user