Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustCrypto/KEMs
/ functions
Functions
448 in github.com/RustCrypto/KEMs
⨍
Functions
448
◇
Types & classes
113
Function
invalid_hash_expanded_key
()
ml-kem/src/lib.rs:360
Function
invalid_hash_expanded_key_test
()
ml-kem/src/lib.rs:338
Function
j
()
ml-kem/src/crypto.rs:151
Function
key_inequality
()
ml-kem/src/pke.rs:287
Function
key_inequality
()
ml-kem/src/lib.rs:385
Function
key_inequality_test
()
ml-kem/src/pke.rs:271
Function
key_inequality_test
()
ml-kem/src/lib.rs:366
Function
key_serialize
()
x-wing/src/lib.rs:471
Function
make_test_ntt_polynomial
(base: F::Int)
module-lattice/tests/algebra.rs:273
Function
make_test_ntt_vector
(base: F::Int)
module-lattice/tests/algebra.rs:340
Function
make_test_polynomial
(base: F::Int)
module-lattice/tests/algebra.rs:142
Function
make_test_vector
(base: F::Int)
module-lattice/tests/algebra.rs:208
Function
matrix_transpose
Transpose `NttMatrix`
ml-kem/src/algebra.rs:382
Method
mul
(self, rhs: Elem<F>)
module-lattice/src/algebra.rs:163
Method
multiply_ntt
(lhs: &NttPolynomial, rhs: &NttPolynomial)
ml-kem/src/algebra.rs:246
Method
neg
(self)
module-lattice/src/algebra.rs:139
Method
new
(key_bytes: &Key<Self>)
x-wing/src/lib.rs:164
Method
new
(inner: T)
module-lattice/src/maybe_box.rs:16
Method
new
Create a new field element.
module-lattice/src/algebra.rs:108
Method
new
(key: &Key<Self>)
dhkem/src/x25519_kem.rs:57
Method
new
(key: &FieldBytes<C>)
dhkem/src/ecdh_kem.rs:75
Method
new
(salt: &[u8], input_key_material: &[u8])
dhkem/src/expander.rs:35
Method
new
Initialize: SHAKE256(seed || domain_byte), then finalize for squeezing.
hqc-kem/src/shake.rs:26
Method
new
(seed: &[u8])
hqc-kem/tests/kat.rs:16
Method
new
(seed: &Seed)
ml-kem/src/decapsulation_key.rs:217
Method
new
Create a new [`EncapsulationKey`] from its serialized form. # Errors If the key failed validation during decoding.
ml-kem/src/encapsulation_key.rs:32
Method
new
(xof: &'a mut impl XofReader)
ml-kem/src/algebra.rs:43
Method
new
Create a new `RspReader` from a file
frodo-kem/tests/rsp_reader.rs:38
Method
new_labeled_hpke
Create a new expander which uses the prefixes that implement HPKE `LabeledExtract` as described in [RFC9810 §4]. # Errors Returns [`InvalidLength`] i
dhkem/src/expander.rs:74
Method
new_prefixed
Create a new expander with a slice of prefixes concatenated to the IKM. # Errors Returns [`InvalidLength`] if the concatenated prefixes are too long.
dhkem/src/expander.rs:45
Method
next
(&mut self)
frodo-kem/tests/rsp_reader.rs:63
Function
ntt
()
ml-kem/src/algebra.rs:401
Function
ntt_inverse_layer
( f: &mut Array<Elem, U256>, k: &mut usize, )
ml-kem/src/algebra.rs:199
Function
ntt_layer
(f: &mut Array<Elem, U256>, k: &mut usize)
ml-kem/src/algebra.rs:145
Function
ntt_matrix
()
ml-kem/src/algebra.rs:444
Function
ntt_matrix_equality
()
module-lattice/tests/algebra.rs:424
Function
ntt_polynomial_addition
()
module-lattice/tests/algebra.rs:285
Function
ntt_polynomial_ct_eq
()
module-lattice/tests/algebra.rs:536
Function
ntt_polynomial_encode_decode_d12
()
module-lattice/tests/encode.rs:335
Function
ntt_polynomial_encode_decode_roundtrip
()
module-lattice/tests/encode.rs:324
Function
ntt_polynomial_equality
()
module-lattice/tests/algebra.rs:404
Function
ntt_polynomial_from_array
()
module-lattice/tests/algebra.rs:321
Function
ntt_polynomial_into_array
()
module-lattice/tests/algebra.rs:438
Function
ntt_polynomial_negation
()
module-lattice/tests/algebra.rs:304
Function
ntt_polynomial_scalar_multiplication
()
module-lattice/tests/algebra.rs:312
Function
ntt_polynomial_subtraction
()
module-lattice/tests/algebra.rs:295
Function
ntt_polynomial_zeroize
()
module-lattice/tests/algebra.rs:497
Function
ntt_vector
()
ml-kem/src/algebra.rs:425
Function
ntt_vector_addition
()
module-lattice/tests/algebra.rs:350
Function
ntt_vector_encode_decode_roundtrip
()
module-lattice/tests/encode.rs:351
Function
ntt_vector_equality
()
module-lattice/tests/algebra.rs:414
Function
ntt_vector_subtraction
()
module-lattice/tests/algebra.rs:360
Function
ntt_vector_zeroize
()
module-lattice/tests/algebra.rs:507
Function
ones_array
()
ml-kem/src/param.rs:42
Function
parameter_calculations
()
frodo-kem/src/hazmat.rs:115
Method
params
()
hqc-kem/src/params.rs:200
Method
params
(&self)
frodo-kem/src/lib.rs:890
Function
pkcs8_can_read_reference_private_keys
()
ml-kem/tests/pkcs8.rs:197
Function
pkcs8_generate_same_keys_like_golang_for_static_seed
()
ml-kem/tests/pkcs8.rs:181
Function
pkcs8_serialize_and_deserialize_round_trip
()
ml-kem/tests/pkcs8.rs:96
Function
polynomial_addition
()
module-lattice/tests/algebra.rs:154
Function
polynomial_encode_decode_d12
()
module-lattice/tests/encode.rs:245
Function
polynomial_encode_decode_roundtrip
()
module-lattice/tests/encode.rs:234
Function
polynomial_equality
()
module-lattice/tests/algebra.rs:384
Function
polynomial_negation
()
module-lattice/tests/algebra.rs:180
Function
polynomial_ops
()
ml-kem/src/algebra.rs:390
Function
polynomial_scalar_multiplication
()
module-lattice/tests/algebra.rs:195
Function
polynomial_subtraction
()
module-lattice/tests/algebra.rs:169
Function
polynomial_zeroize
()
module-lattice/tests/algebra.rs:475
Function
prf
()
ml-kem/src/crypto.rs:160
Function
rational_compress
(input: u16)
ml-kem/src/compress.rs:99
Function
rational_decompress
(input: u16)
ml-kem/src/compress.rs:104
Function
reject_invalid_encryption_keys
()
ml-kem/src/pke.rs:264
Function
rfc_test_vectors
()
x-wing/src/lib.rs:428
Function
round_trip
()
ml-kem/src/pke.rs:233
Function
round_trip
()
ml-kem/src/lib.rs:288
Function
round_trip_test
()
ml-kem/src/pke.rs:217
Function
round_trip_test
()
ml-kem/src/lib.rs:277
Function
sample_poly_cbd
Algorithm 8: `SamplePolyCBD_eta(B)` To avoid all the bitwise manipulation in the algorithm as written, we reuse the logic in `ByteDecode`. We decode
ml-kem/src/algebra.rs:109
Function
sample_poly_vec_cbd
(sigma: &B32, start_n: u8)
ml-kem/src/algebra.rs:117
Function
sample_uniform
()
ml-kem/src/algebra.rs:546
Function
seed
()
ml-kem/src/lib.rs:313
Function
seed_test
()
ml-kem/src/lib.rs:294
Method
serialize
(&self, s: S)
frodo-kem/src/lib.rs:828
Method
split_ct
(ct: &Ciphertext<Self>)
ml-kem/src/param.rs:161
Method
split_dk
allow dk_pke, ek_pke, following the spec
ml-kem/src/param.rs:224
Method
split_ek
(ek: &EncodedEncryptionKey<Self>)
ml-kem/src/param.rs:169
Method
sub
(self, rhs: Elem<F>)
module-lattice/src/algebra.rs:155
Function
test_dhkem_p256_hkdf_sha256
section A.3.1 https://datatracker.ietf.org/doc/html/rfc9180#appendix-A.3.1
dhkem/tests/hpke_p256_test.rs:57
Function
test_hqc128_kat
()
hqc-kem/tests/kat.rs:92
Function
test_hqc128_roundtrip
()
hqc-kem/tests/kat.rs:138
Function
test_hqc192_kat
()
hqc-kem/tests/kat.rs:108
Function
test_hqc192_roundtrip
()
hqc-kem/tests/kat.rs:147
Function
test_hqc256_kat
()
hqc-kem/tests/kat.rs:123
Function
test_hqc256_roundtrip
()
hqc-kem/tests/kat.rs:156
Function
test_k256
()
dhkem/tests/tests.rs:32
Function
test_kem
()
dhkem/tests/tests.rs:17
Function
test_p256
()
dhkem/tests/tests.rs:38
Function
test_p384
()
dhkem/tests/tests.rs:44
Function
test_p521
()
dhkem/tests/tests.rs:50
← previous
next →
301–400 of 448, ranked by callers