CSECc_MCAL

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

CSECc_MCAL

1,373件の閲覧回数
严雷
Contributor I

In the development of S32K information security MCAL, I encountered two parameters of CrytoKeyElementFormat, CRYPTO_KE_FORMAT_BIN_OCTET and CRYPTO_KE_FORMAT_BIN_SHEKEYS, and wanted to ask what is the difference between them. 

屏幕截图 2023-06-11 105058.jpg

0 件の賞賛
返信
1 返信

1,278件の閲覧回数
DanNguyenDuy
NXP Employee
NXP Employee

Hi @严雷 ,

This is my answer:

- CRYPTO_KE_FORMAT_BIN_OCTET: format for keys have octal number format - 0x (mostly in use).
For example:
static uint8 aKeyPlain[32] =
{
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x01, 0x03, 0x53, 0x48, 0x45, 0x00, 0x80, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0,
};
- CRYPTO_KE_FORMAT_BIN_SHEKEYS: format for keys have SHE key format (least of use).

Best regards,

Dan

0 件の賞賛
返信