#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

#2134 in Cryptography

Download history 1/week @ 2023-12-11 7/week @ 2023-12-18 8/week @ 2023-12-25 8/week @ 2024-01-08 3/week @ 2024-01-22 4/week @ 2024-02-05 6/week @ 2024-02-12 28/week @ 2024-02-19 41/week @ 2024-02-26 23/week @ 2024-03-04 26/week @ 2024-03-11 17/week @ 2024-03-18 31/week @ 2024-03-25

100 downloads per month
Used in 5 crates (2 directly)

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

~230KB