#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

#2182 in Cryptography

Download history 8/week @ 2024-06-28 4/week @ 2024-07-05 21/week @ 2024-07-12 17/week @ 2024-07-19 154/week @ 2024-07-26 49/week @ 2024-08-02 13/week @ 2024-08-09 7/week @ 2024-08-16 9/week @ 2024-08-23 10/week @ 2024-08-30 14/week @ 2024-09-06 18/week @ 2024-09-13 16/week @ 2024-09-20 26/week @ 2024-09-27 17/week @ 2024-10-04 14/week @ 2024-10-11

74 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

~230KB