Uh oh!
There was an error while loading. Please reload this page.
ocb3: use dbl crate - #606
Conversation
Replaces the vendored implementation of GF(2^128) doubling (i.e. multiply-by-x) with the `dbl` crate. Also moves the remaining functions in the `util` module into lib.rs.
newpavlov
commented
May 31, 2024
IIRC you argued that we should deprecate the |
tarcieri
commented
May 31, 2024
Hmm, tough call. On the one hand it is a pattern that appears in a lot of places, although right now the polynomial is hardcoded. On the other we don't provide optimized implementations so the implementation is trivial. |
tarcieri
commented
May 31, 2024
I think we should go ahead and merge this, and if we decide to retire |
tarcieri
commented
May 31, 2024
I made a tracking issue about potentially retiring In the meantime I think we should move forward with this, and rip it out if we decide to rip it out everywhere. |
## Added - `bytes` feature (#631) ## Changed - Use `dbl` crate (#606) - Edition changed to 2024 and MSRV bumped to 1.85 (#662) - Relax MSRV policy and allow MSRV bumps in patch releases - Migrate to `AeadInOut` (#665) - `L_TABLE_SIZE` is now a const generic parameter on `Ocb3` (#763) - Bump `cipher` to v0.5 (#793) - Bump `aes` to v0.9 (#793) - Bump `ctr` to v0.10 (#793) - Bump `aead` to v0.6 (#831) - Replace `subtle` with `ctutils` (#879) ## Fixed - Return error on large plaintexts or associated data instead of panicking (#763) ## Removed - `std` and `stream` features (#662)
Replaces the vendored implementation of GF(2^128) doubling (i.e. multiply-by-x) with the
dblcrate.Also moves the remaining functions in the
utilmodule into lib.rs.