Skip to content

Commit

Permalink
minor changes for mirage-crypto at HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesm committed Jun 11, 2024
1 parent 67562f7 commit 68e7c8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/rc2.ml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,6 @@ let decrypt_cbc ?(effective = 128) ~key ~iv data =
for i = 0 to pred ((l + pred block) / block) do
decrypt_one ~key ~data ~off:(i * block) dst
done;
Mirage_crypto.Uncommon.xor_into iv ~src_off:0 dst ~dst_off:0 block;
Mirage_crypto.Uncommon.xor_into data ~src_off:0 dst ~dst_off:block (l - block);
Mirage_crypto.Uncommon.unsafe_xor_into iv ~src_off:0 dst ~dst_off:0 block;
Mirage_crypto.Uncommon.unsafe_xor_into data ~src_off:0 dst ~dst_off:block (l - block);
Bytes.unsafe_to_string dst
8 changes: 4 additions & 4 deletions x509.opam
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ namely PKCS 1, PKCS 5, PKCS 7, PKCS 8, PKCS 9, PKCS 10, and PKCS 12.
"""

pin-depends: [
[ "mirage-crypto.dev" "git+https://github.com/mirage/mirage-crypto.git#38bde3aaaa2faaf07263721139f5ed42bd2f6238" ]
[ "mirage-crypto-pk.dev" "git+https://github.com/mirage/mirage-crypto.git#38bde3aaaa2faaf07263721139f5ed42bd2f6238" ]
[ "mirage-crypto-ec.dev" "git+https://github.com/mirage/mirage-crypto.git#38bde3aaaa2faaf07263721139f5ed42bd2f6238" ]
[ "mirage-crypto-rng.dev" "git+https://github.com/mirage/mirage-crypto.git#38bde3aaaa2faaf07263721139f5ed42bd2f6238" ]
[ "mirage-crypto.dev" "git+https://github.com/mirage/mirage-crypto.git#98f01b14f5ebf98ba0e7e9c2ba97ec518f90fddc" ]
[ "mirage-crypto-pk.dev" "git+https://github.com/mirage/mirage-crypto.git#98f01b14f5ebf98ba0e7e9c2ba97ec518f90fddc" ]
[ "mirage-crypto-ec.dev" "git+https://github.com/mirage/mirage-crypto.git#98f01b14f5ebf98ba0e7e9c2ba97ec518f90fddc" ]
[ "mirage-crypto-rng.dev" "git+https://github.com/mirage/mirage-crypto.git#98f01b14f5ebf98ba0e7e9c2ba97ec518f90fddc" ]
[ "pbkdf.dev" "git+https://github.com/dinosaure/ocaml-pbkdf.git#0ef32f89cac4091e74d1a0fa34cf417f9b7c70df" ]
]

0 comments on commit 68e7c8a

Please sign in to comment.