#gf #galois-field #galois #finite-fields #crypto

dbl

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

11 releases

new 0.4.0-rc.0 Jul 26, 2024
0.4.0-pre.4 Jan 10, 2024
0.4.0-pre.3 Dec 31, 2023
0.3.2 Dec 21, 2021
0.1.0 Nov 20, 2017

#2540 in Cryptography

Download history 12531/week @ 2024-04-05 13965/week @ 2024-04-12 13942/week @ 2024-04-19 13460/week @ 2024-04-26 11852/week @ 2024-05-03 15517/week @ 2024-05-10 20743/week @ 2024-05-17 18260/week @ 2024-05-24 14441/week @ 2024-05-31 21875/week @ 2024-06-07 18553/week @ 2024-06-14 19365/week @ 2024-06-21 19731/week @ 2024-06-28 17875/week @ 2024-07-05 15081/week @ 2024-07-12 14043/week @ 2024-07-19

69,331 downloads per month
Used in 110 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

~220KB