This commit is contained in:
Sergio Chouhy 2025-05-07 16:37:03 -03:00
parent 7a117150ef
commit 7572188ab0
2 changed files with 4 additions and 5 deletions

View File

@ -1,9 +1,9 @@
use aes_gcm::{aead::Aead, AeadCore, Aes256Gcm, Key, KeyInit};
use elliptic_curve::point::AffineCoordinates;
use elliptic_curve::PrimeField;
use k256::{AffinePoint, FieldBytes, Scalar};
use log::info;
use rand::{rngs::OsRng, RngCore};
use elliptic_curve::point::AffineCoordinates;
use super::constants_types::{CipherText, Nonce};

View File

@ -1,11 +1,11 @@
use aes_gcm::{aead::Aead, Aes256Gcm, Key, KeyInit};
use common::merkle_tree_public::TreeHashType;
use constants_types::{CipherText, Nonce};
use elliptic_curve::point::AffineCoordinates;
use ephemeral_key_holder::EphemeralKeyHolder;
use k256::AffinePoint;
use log::info;
use secret_holders::{SeedHolder, TopSecretKeyHolder, UTXOSecretKeyHolder};
use elliptic_curve::point::AffineCoordinates;
use crate::account_core::PublicKey;
@ -110,14 +110,13 @@ mod tests {
};
use constants_types::{CipherText, Nonce};
use constants_types::{NULLIFIER_SECRET_CONST, VIEWING_SECRET_CONST};
use elliptic_curve::{ff::Field, PrimeField};
use elliptic_curve::group::prime::PrimeCurveAffine;
use k256::{AffinePoint, ProjectivePoint, Scalar};
use elliptic_curve::point::AffineCoordinates;
use elliptic_curve::{ff::Field, PrimeField};
use k256::{AffinePoint, ProjectivePoint, Scalar};
use super::*;
#[test]
fn test_new_os_random() {
// Ensure that a new AddressKeyHolder instance can be created without errors.