-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove cstruct from mirage-crypto (#214)
Co-authored-by: Reynir Björnsson <[email protected]>
- Loading branch information
Showing
43 changed files
with
694 additions
and
786 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
module type AEAD = sig | ||
val tag_size : int | ||
type key | ||
val of_secret : Cstruct.t -> key | ||
val authenticate_encrypt : key:key -> nonce:Cstruct.t -> ?adata:Cstruct.t -> | ||
Cstruct.t -> Cstruct.t | ||
val authenticate_decrypt : key:key -> nonce:Cstruct.t -> ?adata:Cstruct.t -> | ||
Cstruct.t -> Cstruct.t option | ||
val authenticate_encrypt_tag : key:key -> nonce:Cstruct.t -> | ||
?adata:Cstruct.t -> Cstruct.t -> Cstruct.t * Cstruct.t | ||
val authenticate_decrypt_tag : key:key -> nonce:Cstruct.t -> ?adata:Cstruct.t -> | ||
tag:Cstruct.t -> Cstruct.t -> Cstruct.t option | ||
val of_secret : string -> key | ||
val authenticate_encrypt : key:key -> nonce:string -> ?adata:string -> | ||
string -> string | ||
val authenticate_decrypt : key:key -> nonce:string -> ?adata:string -> | ||
string -> string option | ||
val authenticate_encrypt_tag : key:key -> nonce:string -> ?adata:string -> | ||
string -> string * string | ||
val authenticate_decrypt_tag : key:key -> nonce:string -> ?adata:string -> | ||
tag:string -> string -> string option | ||
end |
Oops, something went wrong.