Skip to content

Commit

Permalink
Re-export curve25519-dalek from solana-zk-token-sdk (anza-xyz#1657)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreisilviudragnea authored and samkim-crypto committed Jul 31, 2024
1 parent fe49d7b commit 2c1a39a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zk-token-sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ pub mod zk_token_proof_instruction;
pub mod zk_token_proof_program;
pub mod zk_token_proof_state;

#[cfg(not(target_os = "solana"))]
pub use curve25519_dalek;

/// Byte length of a compressed Ristretto point or scalar in Curve255519
const UNIT_LEN: usize = 32;
/// Byte length of a compressed Ristretto point in Curve25519
Expand Down

0 comments on commit 2c1a39a

Please sign in to comment.