Package: keymgr_env_pkg
- File: keymgr_env_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 |
|---|---|---|
| msg_id | string |
Constants
| Name | Type | Value | Description |
|---|---|---|---|
| LIST_OF_ALERTS | string | { "fatal_fault_err", "recov_operation_err"} |
parameters and types |
| uint | uint | 2 | |
| DIGEST_SHARE_WORD_NUM | uint | keymgr_pkg::KeyWidth / TL_DW |
Types
| Name | Type | Description |
|---|---|---|
| keymgr_vif | virtual keymgr_if | |
| key_shares_t | bit [keymgr_pkg::Shares-1:0][keymgr_pkg::KeyWidth-1:0] | |
| kmac_digests_t | bit [keymgr_pkg::Shares-1:0][kmac_pkg::AppDigestW-1:0] | |
| keymgr_intr_e | enum { IntrOpDone, NumKeyMgrIntr } |
|
| keymgr_cdi_type_e | enum { Sealing, Attestation } |
Functions
- get_next_state (keymgr_pkg::keymgr_working_state_e current_state) return (keymgr_pkg::keymgr_working_state_e)
Description
functions
state is incremental, if it's not in defined enum, consider as StDisabled