Skip to content

Commit

Permalink
gcm: bench happy path
Browse files Browse the repository at this point in the history
  • Loading branch information
pqwy committed Jun 15, 2015
1 parent a43b51a commit 61023ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/speed.ml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ let benchmarks = [

bm "aes-128-gcm" (fun name ->
let key = AES.GCM.of_secret (Rng.generate 16)
and iv = Rng.generate 16 in
and iv = Rng.generate 12 in
throughput name (fun cs -> AES.GCM.encrypt ~key ~iv cs));

bm "aes-128-ccm" (fun name ->
Expand Down

0 comments on commit 61023ea

Please sign in to comment.