rust-bottle 0.2.3

Rust implementation of Bottle protocol - layered message containers with encryption and signatures
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[cfg(feature = "post-quantum")]
#[test]
fn test_sphincs_variants_available() {
    use pqcrypto_sphincsplus as sp;
    
    // Test if fast variants are available
    let _ = sp::sphincsshake256128frobust::keypair;
    let _ = sp::sphincsshake256192frobust::keypair;
    let _ = sp::sphincsshake256256frobust::keypair;
    
    // Test if SHA-2 variants are available
    let _ = sp::sphincssha256128srobust::keypair;
    let _ = sp::sphincssha256128frobust::keypair;
    let _ = sp::sphincssha256192srobust::keypair;
    let _ = sp::sphincssha256192frobust::keypair;
    let _ = sp::sphincssha256256srobust::keypair;
    let _ = sp::sphincssha256256frobust::keypair;
}