Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use dep::protocol_types::{constants::GENERATOR_INDEX__SYMMETRIC_KEY, grumpkin_private_key::GrumpkinPrivateKey, grumpkin_point::GrumpkinPoint, utils::arr_copy_slice};
use dep::std::{hash::sha256, grumpkin_scalar::GrumpkinScalar, embedded_curve_ops::multi_scalar_mul};
use dep::std::{hash::sha256, embedded_curve_ops::multi_scalar_mul};

// TODO(#5726): This function is called deriveAESSecret in TS. I don't like point_to_symmetric_key name much since
// point is not the only input of the function. Unify naming with TS once we have a better name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ use crate::{
address::AztecAddress,
constants::{NULLIFIER_KEY_VALIDATION_REQUEST_CONTEXT_LENGTH, NULLIFIER_KEY_VALIDATION_REQUEST_LENGTH},
traits::{Empty, Serialize, Deserialize}, grumpkin_point::GrumpkinPoint,
grumpkin_private_key::GrumpkinPrivateKey
};

struct NullifierKeyValidationRequest {
master_nullifier_public_key: GrumpkinPoint,
app_nullifier_secret_key: Field, // not a GrumpkinScalar because it's output of poseidon2
app_nullifier_secret_key: Field, // not a grumpkin scalar because it's output of poseidon2
}

impl Eq for NullifierKeyValidationRequest {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use dep::std::{cmp::Eq, grumpkin_scalar::GrumpkinScalar, embedded_curve_ops::fixed_base_scalar_mul};
use dep::std::{cmp::Eq, embedded_curve_ops::fixed_base_scalar_mul};
use crate::{
grumpkin_point::GrumpkinPoint,
traits::Empty
Expand Down
22 changes: 0 additions & 22 deletions noir/noir-repo/noir_stdlib/src/grumpkin_scalar.nr

This file was deleted.

1 change: 0 additions & 1 deletion noir/noir-repo/noir_stdlib/src/lib.nr
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ mod schnorr;
mod ecdsa_secp256k1;
mod ecdsa_secp256r1;
mod eddsa;
mod grumpkin_scalar;
mod embedded_curve_ops;
mod sha256;
mod sha512;
Expand Down