#gf #galois

dbl

Double operation in Galois Field GF(2^128) as used by e.g. CMAC/PMAC

13 releases

Uses new Rust 2024

0.4.0-rc.2 Feb 23, 2025
0.4.0-rc.1 Oct 21, 2024
0.4.0-rc.0 Jul 26, 2024
0.4.0-pre.4 Jan 10, 2024
0.1.0 Nov 20, 2017

#2650 in Cryptography

Download history 37231/week @ 2024-12-05 44565/week @ 2024-12-12 15398/week @ 2024-12-19 10403/week @ 2024-12-26 31881/week @ 2025-01-02 41977/week @ 2025-01-09 40942/week @ 2025-01-16 33433/week @ 2025-01-23 35351/week @ 2025-01-30 45425/week @ 2025-02-06 38234/week @ 2025-02-13 47968/week @ 2025-02-20 46570/week @ 2025-02-27 44556/week @ 2025-03-06 48367/week @ 2025-03-13 39475/week @ 2025-03-20

185,637 downloads per month
Used in 152 crates (4 directly)

MIT/Apache

9KB
129 lines

RustCrypto: GF(2^128) "dbl" operation

crate Docs Build Status Apache2/MIT licensed Rust Version Project Chat

Double operation in Galois Field GF(2^128) as used by e.g. CMAC/PMAC.

Also known as "multiply-by-x", the operation is performed in the finite field represented using the primitive polynomial x^128 + x^7 + x^2 + x + 1.

License

Licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~485KB
~14K SLoC