#crypto #gf #galois

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

#53 in Math

Download history 16829/week @ 2023-11-02 16073/week @ 2023-11-09 22667/week @ 2023-11-16 23718/week @ 2023-11-23 15877/week @ 2023-11-30 15655/week @ 2023-12-07 19991/week @ 2023-12-14 10814/week @ 2023-12-21 8343/week @ 2023-12-28 11720/week @ 2024-01-04 9969/week @ 2024-01-11 16001/week @ 2024-01-18 17445/week @ 2024-01-25 16752/week @ 2024-02-01 22623/week @ 2024-02-08 10701/week @ 2024-02-15

72,013 downloads per month
Used in 91 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

~200KB