#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

#2450 in Cryptography

Download history 18488/week @ 2024-01-19 14944/week @ 2024-01-26 17520/week @ 2024-02-02 21944/week @ 2024-02-09 11952/week @ 2024-02-16 15434/week @ 2024-02-23 13456/week @ 2024-03-01 14654/week @ 2024-03-08 15986/week @ 2024-03-15 15306/week @ 2024-03-22 26857/week @ 2024-03-29 12531/week @ 2024-04-05 13965/week @ 2024-04-12 13942/week @ 2024-04-19 13460/week @ 2024-04-26 11821/week @ 2024-05-03

55,380 downloads per month
Used in 102 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