Debugging CAAM

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

Debugging CAAM

724件の閲覧回数
garethphillips
Contributor I

Hello,

I am trying to add support for HMAC-SHA256 using black keys.  I have modified the CAAM code to do this and it runs without error, but it produces the wrong output.  To debug this I would like to be able to duplicate what the CAAM does.  I am generating a CAAM key with `caam-keygen create black_key ecb -t abcdef0123456789`.  I was expecting that  the generated file would contain abcdef0123456789 encrypted with the contents of /sys/kernel/debug/30900000.crypto/ctl/kek, but this does not seem to be the case.  Do you know how the black key is created?

Thanks,
Gareth

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