Sign in
opensecura
/
sw
/
matcha
/
f8f7f5dbabfe1a55f48952ac0c59f007cb063a8e
/
.
/
chips
/
matcha
/
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
)
};