-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #459 from hacspec/jonas/crypto-abstractions
Crypto Primitives Abstraction Layer
- Loading branch information
Showing
16 changed files
with
660 additions
and
303 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Hax Protocol Library | ||
This crate provides tools for protocol developers to write protcol | ||
specifications for hax. | ||
|
||
## Protocol Traits | ||
To hax, a protocol is a collection of communicating state | ||
machines. This module provides traits that describe parts of a state | ||
machine's behaviour, specifically it provides traits for creating an | ||
initial state, and for state transition behaviour when reading or | ||
writing a message. | ||
|
||
## Cryptographic Abstractions | ||
Beside message passing and state transitions, a protocol of course | ||
includes operations on the sent and received messages. For | ||
cryptographic protocols, these will be of a fairly restricted set of | ||
cryptoraphic primitive operations, which are provided in these | ||
cryptographic abstractions. This allows protocol authors to specify | ||
protocol party internal operations in a way that is easily accessible | ||
to hax. |
Oops, something went wrong.