#simd #crypto

no-std crypto-simd

Crypto-oriented SIMD wrapper abstracting over multiple backends

2 releases

0.1.1 Feb 3, 2019
0.1.0 Feb 1, 2019

#2278 in Cryptography

Download history 4/week @ 2024-11-13 13/week @ 2024-11-20 13/week @ 2024-11-27 12/week @ 2024-12-04 15/week @ 2024-12-11 6/week @ 2024-12-18 7/week @ 2025-01-01 6/week @ 2025-01-08 18/week @ 2025-01-29 27/week @ 2025-02-05 20/week @ 2025-02-12 17/week @ 2025-02-19 27/week @ 2025-02-26

94 downloads per month
Used in 4 crates (via ppv-null)

MIT/Apache

10KB
230 lines

Crypto-oriented SIMD abstractions

Design: - interface as close to RFC2366/packed_simd as practical - pluggable backends

Backends supported: - ppv_null: Emulated SIMD. Safe, portable. - ppv_lite86: x86 implementation using coresimd intrinsics, stable and fast to compile. - packed_simd: Support for future compatibility--can probably replace ppv_lite when it's eventually stable; in the meantime, offers an unstable SIMD backend for platforms ppv_lite doesn't support.

Experimental status

Initially I'm adding functionality as needed for my crypto implementations, so there will be random gaps in the interface. Eventually I will round out the feature set and define the available functionality in traits, to ensure that the backends support the same functionality.

Dependencies

~225KB