Skip to content

Commit e78a280

Browse files
committed
RSA: fix demos/timing.c
1 parent 6ada0ec commit e78a280

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

demos/timing.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -716,8 +716,8 @@ static void time_rsa(void)
716716
.u.crypt.lparamlen = 8,
717717
.prng = &yarrow_prng,
718718
.wprng = find_prng("yarrow"),
719-
.params.hash_alg = "sha1",
720-
.params.mgf1_hash_alg = "sha1",
719+
.params.hash_idx = find_hash("sha1"),
720+
.params.mgf1_hash_idx = find_hash("sha1"),
721721
.params.saltlen = 8,
722722
};
723723

0 commit comments

Comments
 (0)