-
Notifications
You must be signed in to change notification settings - Fork 19
SymmetricBlockIO
Snoopy87 edited this page Aug 29, 2017
·
7 revisions
All symmetric algorithms are using the SymmetricCryptoBlockIO interface.
Interface | Signal | Description | ||
---|---|---|---|---|
cmd | Stream | valid/ready | Bool | Stream handshake |
key | Bits | The key used for the encryption/decryption | ||
block | Bits | The block message to encrypt/decrypt | ||
enc* | Bool | Mode encrypt (1) or decrypt (0) | ||
rsp | Flow | valid | Bool | Data valid |
block | Bits | The block encrypted/decrypted |
*this signal is optional
The timing representation of an encrypt operation looks like as below :