Package: cryptoc_dpi_pkg
- File: cryptoc_dpi_pkg.sv
Description
Copyright lowRISC contributors.
Licensed under the Apache License, Version 2.0, see LICENSE for details.
SPDX-License-Identifier: Apache-2.0
Signals
Name | Type | Description |
---|---|---|
input | bit[7:0] | |
len | longint unsigned | |
output | longint unsigned | |
hash | int unsigned | |
input | bit[7:0] | |
len | longint unsigned | |
output | longint unsigned | |
hash | int unsigned | |
input | bit[7:0] | |
key_len | longint unsigned | |
input | longint unsigned | |
input | bit[7:0] | |
msg_len | longint unsigned | |
output | longint unsigned | |
hmac | int unsigned | |
input | bit[7:0] | |
key_len | longint unsigned | |
input | longint unsigned | |
input | bit[7:0] | |
msg_len | longint unsigned | |
output | longint unsigned | |
hmac | int unsigned |
Functions
- sv_dpi_get_sha_digest (input bit[7:0] msg[],
) return (void)
Description
sv wrapper functions
- sv_dpi_get_sha256_digest (input bit[7:0] msg[],
) return (void)
- sv_dpi_get_hmac_sha (input bit[31:0] key[],
) return (void)
- sv_dpi_get_hmac_sha256 (input bit[31:0] key[],
) return (void)