
NUC970 Technical Reference Manual
Publication Release Date: Dec. 15, 2015
- 946 -
Revision V1.30
NUC97
0
T
E
CHNIC
A
L
RE
F
E
RE
N
CE
MA
NUA
L
2.
If it’s the last input word, set DMALAST(CRPT_HMAC_CTL[5]).
3.
Write 1 to START(CRPT_HMAC_CTL[0]) to
start HMAC encryption.
4.
Waits for the HMAC data input request DATINREQ
(
CRPT_HMAC_STS[16]) be set
.
5.
Write one word of input data to CRPT_HMAC_DATIN.
6.
Repeat step 2 to 5 until all inut words are written into SHA engine.
7.
Waits for the BUSY
(
CRPT_HMAC_STS[0]) be cleared
.
8.
Read output digest (HMAC-SHA160: CRPT_HMAC_DGST0 ~ CRPT_HMAC_DGST4, HMAC-
SHA224: CRPT_HMAC_DGST0 ~ CRPT_HMAC_DGST6, HMAC-SHA256:
CRPT_HMAC_DGST0 ~ CRPT_HMAC_DGST7, HMAC-SHA384: CRPT_HMAC_DGST0 ~
CRPT_HMAC_DGST11, HMAC-SHA512: CRPT_HMAC_DGST0 ~ CRPT_HMAC_DGST15)
.