mirage / mirage-crypto

Cryptographic primitives for OCaml, in OCaml (also used in MirageOS)
ISC License
77 stars 43 forks source link

Revise API (remove intermediate modules) #224

Closed hannesm closed 5 months ago

hannesm commented 6 months ago

Now that Hash is gone, we could remove Cipher_block and Cipher_stream entirely (and rename Cipher_block.S to Block, Cipher_stream.S to Stream).

The usage would then modify from Mirage_crypto.Cipher_block.AES to Mirage_crypto.AES, which would save some vertical space.

As discussed with @reynir