MCPcopy Create free account

hub / github.com/RustCrypto/KEMs / functions

Functions448 in github.com/RustCrypto/KEMs

Functioninvalid_hash_expanded_key
()
ml-kem/src/lib.rs:360
Functioninvalid_hash_expanded_key_test
()
ml-kem/src/lib.rs:338
Functionj
()
ml-kem/src/crypto.rs:151
Functionkey_inequality
()
ml-kem/src/pke.rs:287
Functionkey_inequality
()
ml-kem/src/lib.rs:385
Functionkey_inequality_test
()
ml-kem/src/pke.rs:271
Functionkey_inequality_test
()
ml-kem/src/lib.rs:366
Functionkey_serialize
()
x-wing/src/lib.rs:471
Functionmake_test_ntt_polynomial
(base: F::Int)
module-lattice/tests/algebra.rs:273
Functionmake_test_ntt_vector
(base: F::Int)
module-lattice/tests/algebra.rs:340
Functionmake_test_polynomial
(base: F::Int)
module-lattice/tests/algebra.rs:142
Functionmake_test_vector
(base: F::Int)
module-lattice/tests/algebra.rs:208
Functionmatrix_transpose
Transpose `NttMatrix`
ml-kem/src/algebra.rs:382
Methodmul
(self, rhs: Elem<F>)
module-lattice/src/algebra.rs:163
Methodmultiply_ntt
(lhs: &NttPolynomial, rhs: &NttPolynomial)
ml-kem/src/algebra.rs:246
Methodneg
(self)
module-lattice/src/algebra.rs:139
Methodnew
(key_bytes: &Key<Self>)
x-wing/src/lib.rs:164
Methodnew
(inner: T)
module-lattice/src/maybe_box.rs:16
Methodnew
Create a new field element.
module-lattice/src/algebra.rs:108
Methodnew
(key: &Key<Self>)
dhkem/src/x25519_kem.rs:57
Methodnew
(key: &FieldBytes<C>)
dhkem/src/ecdh_kem.rs:75
Methodnew
(salt: &[u8], input_key_material: &[u8])
dhkem/src/expander.rs:35
Methodnew
Initialize: SHAKE256(seed || domain_byte), then finalize for squeezing.
hqc-kem/src/shake.rs:26
Methodnew
(seed: &[u8])
hqc-kem/tests/kat.rs:16
Methodnew
(seed: &Seed)
ml-kem/src/decapsulation_key.rs:217
Methodnew
Create a new [`EncapsulationKey`] from its serialized form. # Errors If the key failed validation during decoding.
ml-kem/src/encapsulation_key.rs:32
Methodnew
(xof: &'a mut impl XofReader)
ml-kem/src/algebra.rs:43
Methodnew
Create a new `RspReader` from a file
frodo-kem/tests/rsp_reader.rs:38
Methodnew_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
Methodnew_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
Methodnext
(&mut self)
frodo-kem/tests/rsp_reader.rs:63
Functionntt
()
ml-kem/src/algebra.rs:401
Functionntt_inverse_layer
( f: &mut Array<Elem, U256>, k: &mut usize, )
ml-kem/src/algebra.rs:199
Functionntt_layer
(f: &mut Array<Elem, U256>, k: &mut usize)
ml-kem/src/algebra.rs:145
Functionntt_matrix
()
ml-kem/src/algebra.rs:444
Functionntt_matrix_equality
()
module-lattice/tests/algebra.rs:424
Functionntt_polynomial_addition
()
module-lattice/tests/algebra.rs:285
Functionntt_polynomial_ct_eq
()
module-lattice/tests/algebra.rs:536
Functionntt_polynomial_encode_decode_d12
()
module-lattice/tests/encode.rs:335
Functionntt_polynomial_encode_decode_roundtrip
()
module-lattice/tests/encode.rs:324
Functionntt_polynomial_equality
()
module-lattice/tests/algebra.rs:404
Functionntt_polynomial_from_array
()
module-lattice/tests/algebra.rs:321
Functionntt_polynomial_into_array
()
module-lattice/tests/algebra.rs:438
Functionntt_polynomial_negation
()
module-lattice/tests/algebra.rs:304
Functionntt_polynomial_scalar_multiplication
()
module-lattice/tests/algebra.rs:312
Functionntt_polynomial_subtraction
()
module-lattice/tests/algebra.rs:295
Functionntt_polynomial_zeroize
()
module-lattice/tests/algebra.rs:497
Functionntt_vector
()
ml-kem/src/algebra.rs:425
Functionntt_vector_addition
()
module-lattice/tests/algebra.rs:350
Functionntt_vector_encode_decode_roundtrip
()
module-lattice/tests/encode.rs:351
Functionntt_vector_equality
()
module-lattice/tests/algebra.rs:414
Functionntt_vector_subtraction
()
module-lattice/tests/algebra.rs:360
Functionntt_vector_zeroize
()
module-lattice/tests/algebra.rs:507
Functionones_array
()
ml-kem/src/param.rs:42
Functionparameter_calculations
()
frodo-kem/src/hazmat.rs:115
Methodparams
()
hqc-kem/src/params.rs:200
Methodparams
(&self)
frodo-kem/src/lib.rs:890
Functionpkcs8_can_read_reference_private_keys
()
ml-kem/tests/pkcs8.rs:197
Functionpkcs8_generate_same_keys_like_golang_for_static_seed
()
ml-kem/tests/pkcs8.rs:181
Functionpkcs8_serialize_and_deserialize_round_trip
()
ml-kem/tests/pkcs8.rs:96
Functionpolynomial_addition
()
module-lattice/tests/algebra.rs:154
Functionpolynomial_encode_decode_d12
()
module-lattice/tests/encode.rs:245
Functionpolynomial_encode_decode_roundtrip
()
module-lattice/tests/encode.rs:234
Functionpolynomial_equality
()
module-lattice/tests/algebra.rs:384
Functionpolynomial_negation
()
module-lattice/tests/algebra.rs:180
Functionpolynomial_ops
()
ml-kem/src/algebra.rs:390
Functionpolynomial_scalar_multiplication
()
module-lattice/tests/algebra.rs:195
Functionpolynomial_subtraction
()
module-lattice/tests/algebra.rs:169
Functionpolynomial_zeroize
()
module-lattice/tests/algebra.rs:475
Functionprf
()
ml-kem/src/crypto.rs:160
Functionrational_compress
(input: u16)
ml-kem/src/compress.rs:99
Functionrational_decompress
(input: u16)
ml-kem/src/compress.rs:104
Functionreject_invalid_encryption_keys
()
ml-kem/src/pke.rs:264
Functionrfc_test_vectors
()
x-wing/src/lib.rs:428
Functionround_trip
()
ml-kem/src/pke.rs:233
Functionround_trip
()
ml-kem/src/lib.rs:288
Functionround_trip_test
()
ml-kem/src/pke.rs:217
Functionround_trip_test
()
ml-kem/src/lib.rs:277
Functionsample_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
Functionsample_poly_vec_cbd
(sigma: &B32, start_n: u8)
ml-kem/src/algebra.rs:117
Functionsample_uniform
()
ml-kem/src/algebra.rs:546
Functionseed
()
ml-kem/src/lib.rs:313
Functionseed_test
()
ml-kem/src/lib.rs:294
Methodserialize
(&self, s: S)
frodo-kem/src/lib.rs:828
Methodsplit_ct
(ct: &Ciphertext<Self>)
ml-kem/src/param.rs:161
Methodsplit_dk
allow dk_pke, ek_pke, following the spec
ml-kem/src/param.rs:224
Methodsplit_ek
(ek: &EncodedEncryptionKey<Self>)
ml-kem/src/param.rs:169
Methodsub
(self, rhs: Elem<F>)
module-lattice/src/algebra.rs:155
Functiontest_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
Functiontest_hqc128_kat
()
hqc-kem/tests/kat.rs:92
Functiontest_hqc128_roundtrip
()
hqc-kem/tests/kat.rs:138
Functiontest_hqc192_kat
()
hqc-kem/tests/kat.rs:108
Functiontest_hqc192_roundtrip
()
hqc-kem/tests/kat.rs:147
Functiontest_hqc256_kat
()
hqc-kem/tests/kat.rs:123
Functiontest_hqc256_roundtrip
()
hqc-kem/tests/kat.rs:156
Functiontest_k256
()
dhkem/tests/tests.rs:32
Functiontest_kem
()
dhkem/tests/tests.rs:17
Functiontest_p256
()
dhkem/tests/tests.rs:38
Functiontest_p384
()
dhkem/tests/tests.rs:44
Functiontest_p521
()
dhkem/tests/tests.rs:50
← previousnext →301–400 of 448, ranked by callers