HMAC operation

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

HMAC operation

810件の閲覧回数
rohininarasipur
Contributor II

Hello, ALGORITHM OPERATION command has 2 types of HMAC: normal HMAC and HMAC with precomputed IPAD and OPAD. Does this mean that for the first option we don't have to give key? And for the second option, security manual says if we first issue KEY command for IPAD and OPAD followed by FIFO STORE, then key will be encrypted and stored. So while verifying we can specify encrypted key by calling KEY command or we have to again call KEY command for IPAD and OPAD?

タグ(2)
0 件の賞賛
返信
1 返信

652件の閲覧回数
bpe
NXP Employee
NXP Employee

>Hello, ALGORITHM OPERATION command has 2 types of HMAC: normal HMAC

>and HMAC with precomputed IPAD and OPAD. Does this mean that for the

>first option we don't have to give key?

>

[Platon] No. If you need a plain hash,  set AAI = 0. HMAC means a

keyed hash. The difference is only in the format of the key.

>And for the second option, security manual says if we first issue

>KEY command for IPAD and OPAD followed by FIFO STORE, then key will

>be encrypted and stored. So while verifying we can specify encrypted

>key by calling KEY command or we have to again call KEY command

>for IPAD and OPAD?

>

[Platon] You need to generate a split key only once. Any subsequent

operation with this key can use the split key.


Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信