rust-crypto 0.2.32

A (mostly) pure-Rust implementation of various common cryptographic algorithms.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::simd;

fn main() {
    let d = simd::u32x4(1, 0, 0, 0);
    let lsb = simd::u32x4(1, 0, 0, 0);
    //let simd::u32x4(m, _, _, _) = (d & lsb) == lsb;
    // println!("val: {}", m);
    if d == lsb {
        println!("eq");
    }
}