mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 06:45:24 +00:00
Be more conservative in the description of Aegis256Mac (#16452)
It is assumed that generating a collision requires more than 2^156 ciphertext modifications. This is plenty enough for any practical purposes, but it hasn't been proven to be >= 2^256. Be consistent and conservative here; just claim the same security as the other variants.
This commit is contained in:
parent
cec1e973b6
commit
32aeb2c2ec
@ -411,7 +411,7 @@ pub const Aegis128LMac = AegisMac(Aegis128L_256);
|
||||
/// concern, the AEGIS-128L variant should be preferred.
|
||||
/// AEGIS' large state, non-linearity and non-invertibility provides the
|
||||
/// following properties:
|
||||
/// - 256 bit security against forgery.
|
||||
/// - More than 128 bit security against forgery.
|
||||
/// - Recovering the secret key from the state would require ~2^256 attempts,
|
||||
/// which is infeasible for any practical adversary.
|
||||
/// - It has a large security margin against internal collisions.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user