Skip to content

Commit 7ab625c

Browse files
karel-msjaeckel
authored andcommitted
RSA: fix demos/timing.c
1 parent 21d100d commit 7ab625c

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
@@ -736,8 +736,8 @@ static void time_rsa(void)
736736
.u.crypt.lparamlen = 8,
737737
.prng = &yarrow_prng,
738738
.wprng = find_prng("yarrow"),
739-
.params.hash_alg = "sha1",
740-
.params.mgf1_hash_alg = "sha1",
739+
.params.hash_idx = find_hash("sha1"),
740+
.params.mgf1_hash_idx = find_hash("sha1"),
741741
.params.saltlen = 8,
742742
};
743743

0 commit comments

Comments
 (0)