Skip to content

Commit

Permalink
Update rng/hmac_drbg.ml
Browse files Browse the repository at this point in the history
Co-authored-by: Reynir Björnsson <[email protected]>
  • Loading branch information
hannesm and reynir authored Mar 6, 2024
1 parent bce88e8 commit 058ac88
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rng/hmac_drbg.ml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ module Make (H : Digestif.S) = struct

let block = H.digest_size

let b x = String.make 1 (char_of_int x)

let (bx00, bx01) = b 0x00, b 0x01
let (bx00, bx01) = "\x00", "\x01"

let k0 = String.make H.digest_size '\x00'
and v0 = String.make H.digest_size '\x01'
Expand Down

0 comments on commit 058ac88

Please sign in to comment.