std.crypto.ml_kem: Reduce test iteration counts from 100 to 10. (#21285)
Closes #21255.
This commit is contained in:
committed by
GitHub
parent
a670f55195
commit
9bcb0e938c
@@ -1677,7 +1677,7 @@ test "Test inner PKE" {
|
||||
p.* = @as(u8, @intCast(i + 32));
|
||||
}
|
||||
inline for (modes) |mode| {
|
||||
for (0..100) |i| {
|
||||
for (0..10) |i| {
|
||||
var pk: mode.InnerPk = undefined;
|
||||
var sk: mode.InnerSk = undefined;
|
||||
seed[0] = @as(u8, @intCast(i));
|
||||
@@ -1696,7 +1696,7 @@ test "Test happy flow" {
|
||||
s.* = @as(u8, @intCast(i));
|
||||
}
|
||||
inline for (modes) |mode| {
|
||||
for (0..100) |i| {
|
||||
for (0..10) |i| {
|
||||
seed[0] = @as(u8, @intCast(i));
|
||||
const kp = try mode.KeyPair.create(seed);
|
||||
const sk = try mode.SecretKey.fromBytes(&kp.secret_key.toBytes());
|
||||
|
||||
Reference in New Issue
Block a user