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

dbl

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

10 releases

0.4.0-pre.4 Jan 10, 2024
0.4.0-pre.3 Dec 31, 2023
0.3.2 Dec 21, 2021
0.3.1 Jan 19, 2021
0.1.0 Nov 20, 2017

#2422 in Cryptography

Download history 3900/week @ 2023-12-23 9811/week @ 2023-12-30 11485/week @ 2024-01-06 12014/week @ 2024-01-13 17781/week @ 2024-01-20 15994/week @ 2024-01-27 18286/week @ 2024-02-03 19596/week @ 2024-02-10 11840/week @ 2024-02-17 16346/week @ 2024-02-24 13337/week @ 2024-03-02 15275/week @ 2024-03-09 14584/week @ 2024-03-16 19753/week @ 2024-03-23 23427/week @ 2024-03-30 9868/week @ 2024-04-06

70,708 downloads per month
Used in 100 crates (4 directly)

MIT/Apache

8KB
130 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