Sign in
opensecura
/
sw
/
matcha
/
fe18d1928668b1a6a90ef256150cabcbd9377fd2
/
.
/
chip
/
src
/
hmac.rs
blob: 182ed532d6d18bff50a9f0e347599a1f5bef9b31 [
file
] [
log
] [
blame
]
use
kernel
::
common
::
StaticRef
;
use
lowrisc
::
hmac
::{
Hmac
,
HmacRegisters
};
pub
static
mut
HMAC
:
Hmac
=
Hmac
::
new
(
HMAC0_BASE
);
const
HMAC0_BASE
:
StaticRef
<
HmacRegisters
>
=
unsafe
{
StaticRef
::
new
(
0x4111
_0000
as
*
const
HmacRegisters
)
};