libcrux_p256/lib.rs
1//! A P-256 implementation.
2//!
3//! This crate should not be used directly and is internal to libcrux.
4//! By default this crate is empty.
5#![no_std]
6
7// The two kinds of data that are actually there
8const SCALAR_LEN: usize = 32;
9const POINT_LEN: usize = 64;
10
11pub mod ecdh_api;
12mod impl_kem;
13
14// HACL* generated code
15pub(crate) mod p256;
16mod p256_precomptable;
17
18pub struct P256;
19
20#[cfg(feature = "expose-hacl")]
21pub use p256::*;