Sha256: 02dbac483409a853126fec642f964a464e4372f53da2fa4120b29bed204f72b7

Contents?: true

Size: 422 Bytes

Versions: 8

Compression:

Stored size: 422 Bytes

Contents

//! SHA-256 `aarch64` backend.

// TODO: stdarch intrinsics: RustCrypto/hashes#257

cpufeatures::new!(sha2_hwcap, "sha2");

pub fn compress(state: &mut [u32; 8], blocks: &[[u8; 64]]) {
    // TODO: Replace with https://github.com/rust-lang/rfcs/pull/2725
    // after stabilization
    if sha2_hwcap::get() {
        sha2_asm::compress256(state, blocks);
    } else {
        super::soft::compress(state, blocks);
    }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wasmtime-9.0.1 ./ext/cargo-vendor/sha2-0.10.6/src/sha256/aarch64.rs
wasmtime-8.0.0 ./ext/cargo-vendor/sha2-0.10.6/src/sha256/aarch64.rs
wasmtime-7.0.0 ./ext/cargo-vendor/sha2-0.10.6/src/sha256/aarch64.rs
wasmtime-6.0.1 ./ext/cargo-vendor/sha2-0.10.6/src/sha256/aarch64.rs
wasmtime-6.0.0 ./ext/cargo-vendor/sha2-0.10.6/src/sha256/aarch64.rs
wasmtime-5.0.0 ./ext/cargo-vendor/sha2-0.10.6/src/sha256/aarch64.rs
wasmtime-0.4.1 ./ext/cargo-vendor/sha2-0.10.6/src/sha256/aarch64.rs
wasmtime-0.4.0 ./ext/cargo-vendor/sha2-0.10.6/src/sha256/aarch64.rs