#galois-field #finite-fields #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

#2850 in Cryptography

Download history 40949/week @ 2024-11-19 24364/week @ 2024-11-26 43423/week @ 2024-12-03 43613/week @ 2024-12-10 27314/week @ 2024-12-17 10666/week @ 2024-12-24 18743/week @ 2024-12-31 45144/week @ 2025-01-07 37799/week @ 2025-01-14 36120/week @ 2025-01-21 36141/week @ 2025-01-28 38912/week @ 2025-02-04 42792/week @ 2025-02-11 46347/week @ 2025-02-18 43225/week @ 2025-02-25 36638/week @ 2025-03-04

175,473 downloads per month
Used in 151 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