RA Flexible Software Package Documentation
Release v5.2.0
|
|
Interface for key injection by Secure Crypto Engine (SCE) functions.
The SCE key injection interface provides SCE functionality.
Data Structures | |
struct | sce_key_injection_api_t |
struct sce_key_injection_api_t |
Functions implemented at the HAL layer will follow this API.
Data Fields | |
fsp_err_t(* | AES128_InitialKeyWrap )(const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_aes_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | AES192_InitialKeyWrap )(const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_aes_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | AES256_InitialKeyWrap )(const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_aes_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | KeyUpdateKeyWrap )(const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_key_update_key_t *const key_update_key) |
fsp_err_t(* | AES128_EncryptedKeyWrap )(const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_aes_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | AES192_EncryptedKeyWrap )(const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_aes_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | AES256_EncryptedKeyWrap )(const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_aes_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | RSA2048_InitialPublicKeyWrap )(const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_rsa2048_public_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | RSA3072_InitialPublicKeyWrap )(const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_rsa3072_public_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | RSA4096_InitialPublicKeyWrap )(const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_rsa4096_public_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | RSA2048_InitialPrivateKeyWrap )(const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_rsa2048_private_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | RSA2048_EncryptedPublicKeyWrap )(const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_rsa2048_public_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | RSA2048_EncryptedPrivateKeyWrap )(const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_rsa2048_private_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | ECC_secp256r1_InitialPublicKeyWrap )(const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_ecc_public_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | ECC_secp256k1_InitialPublicKeyWrap )(const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_ecc_public_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | ECC_secp384r1_InitialPublicKeyWrap )(const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_ecc_public_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | ECC_secp256r1_InitialPrivateKeyWrap )(const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_ecc_private_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | ECC_secp256k1_InitialPrivateKeyWrap )(const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_ecc_private_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | ECC_secp384r1_InitialPrivateKeyWrap )(const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_ecc_private_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | ECC_secp256r1_EncryptedPublicKeyWrap )(const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_ecc_public_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | ECC_secp256k1_EncryptedPublicKeyWrap )(const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_ecc_public_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | ECC_secp384r1_EncryptedPublicKeyWrap )(const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_ecc_public_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | ECC_secp256r1_EncryptedPrivateKeyWrap )(const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_ecc_private_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | ECC_secp256k1_EncryptedPrivateKeyWrap )(const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_ecc_private_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | ECC_secp384r1_EncryptedPrivateKeyWrap )(const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_ecc_private_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | ECC_brainpoolP256r1_InitialPublicKeyWrap )(const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_ecc_public_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | ECC_brainpoolP256r1_InitialPrivateKeyWrap )(const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_ecc_private_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | ECC_brainpoolP384r1_InitialPublicKeyWrap )(const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_ecc_public_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | ECC_brainpoolP384r1_InitialPrivateKeyWrap )(const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_ecc_private_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | ECC_brainpoolP256r1_EncryptedPublicKeyWrap )(const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_ecc_public_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | ECC_brainpoolP256r1_EncryptedPrivateKeyWrap )(const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_ecc_private_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | ECC_brainpoolP384r1_EncryptedPublicKeyWrap )(const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_ecc_public_wrapped_key_t *const wrapped_key) |
fsp_err_t(* | ECC_brainpoolP384r1_EncryptedPrivateKeyWrap )(const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_ecc_private_wrapped_key_t *const wrapped_key) |
fsp_err_t(* sce_key_injection_api_t::AES128_InitialKeyWrap) (const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_aes_wrapped_key_t *const wrapped_key) |
This API outputs 128-bit AES wrapped key.
[in] | key_type | Key type whether encrypted_key or plain key |
[in] | wrapped_user_factory_programming_key | Provisioning key wrapped by the DLM server |
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encrypted and MAC appended |
[in,out] | wrapped_key | 128-bit AES wrapped key |
fsp_err_t(* sce_key_injection_api_t::AES192_InitialKeyWrap) (const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_aes_wrapped_key_t *const wrapped_key) |
This API outputs 192-bit AES wrapped key.
[in] | key_type | Key type whether encrypted_key or plain key |
[in] | wrapped_user_factory_programming_key | Provisioning key wrapped by the DLM server |
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encrypted and MAC appended |
[in,out] | wrapped_key | 192-bit AES wrapped key |
fsp_err_t(* sce_key_injection_api_t::AES256_InitialKeyWrap) (const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_aes_wrapped_key_t *const wrapped_key) |
This API outputs 256-bit AES wrapped key.
[in] | key_type | Key type whether encrypted_key or plain key |
[in] | wrapped_user_factory_programming_key | Provisioning key wrapped by the DLM server |
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encrypted and MAC appended |
[in,out] | wrapped_key | 256-bit AES wrapped key |
fsp_err_t(* sce_key_injection_api_t::KeyUpdateKeyWrap) (const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_key_update_key_t *const key_update_key) |
This API outputs key update key.
[in] | wrapped_user_factory_programming_key | Provisioning key wrapped by the DLM server |
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encrypted and MAC appended |
[in,out] | key_update_key | Key update key |
fsp_err_t(* sce_key_injection_api_t::AES128_EncryptedKeyWrap) (const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_aes_wrapped_key_t *const wrapped_key) |
This API updates 128-bit AES wrapped key.
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encryptedand MAC appended |
[in] | key_update_key | Key update keyring |
[in,out] | wrapped_key | 128-bit AES wrapped key |
fsp_err_t(* sce_key_injection_api_t::AES192_EncryptedKeyWrap) (const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_aes_wrapped_key_t *const wrapped_key) |
This API updates 192-bit AES wrapped key.
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encryptedand MAC appended |
[in] | key_update_key | Key update keyring |
[in,out] | wrapped_key | 192-bit AES wrapped key |
fsp_err_t(* sce_key_injection_api_t::AES256_EncryptedKeyWrap) (const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_aes_wrapped_key_t *const wrapped_key) |
This API outputs 256-bit AES wrapped key.
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encryptedand MAC appended |
[in] | key_update_key | Key update keyring |
[in,out] | wrapped_key | 256-bit AES wrapped key |
fsp_err_t(* sce_key_injection_api_t::RSA2048_InitialPublicKeyWrap) (const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_rsa2048_public_wrapped_key_t *const wrapped_key) |
This API outputs 2048-bit RSA public wrapped key.
[in] | key_type | Key type whether encrypted_key or plain key |
[in] | wrapped_user_factory_programming_key | Provisioning key wrapped by the DLM server |
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encrypted and MAC appended |
[in,out] | wrapped_key | 2048-bit RSA wrapped key |
fsp_err_t(* sce_key_injection_api_t::RSA3072_InitialPublicKeyWrap) (const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_rsa3072_public_wrapped_key_t *const wrapped_key) |
This API outputs 3072-bit RSA public wrapped key.
[in] | key_type | Key type whether encrypted_key or plain key |
[in] | wrapped_user_factory_programming_key | Provisioning key wrapped by the DLM server |
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encrypted and MAC appended |
[in,out] | wrapped_key | 3072-bit RSA wrapped key |
fsp_err_t(* sce_key_injection_api_t::RSA4096_InitialPublicKeyWrap) (const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_rsa4096_public_wrapped_key_t *const wrapped_key) |
This API outputs 4096-bit RSA public wrapped key.
[in] | key_type | Key type whether encrypted_key or plain key |
[in] | wrapped_user_factory_programming_key | Provisioning key wrapped by the DLM server |
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encrypted and MAC appended |
[in,out] | wrapped_key | 4096-bit RSA wrapped key |
fsp_err_t(* sce_key_injection_api_t::RSA2048_InitialPrivateKeyWrap) (const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_rsa2048_private_wrapped_key_t *const wrapped_key) |
This API outputs 2048-bit RSA private wrapped key.
[in] | key_type | Key type whether encrypted_key or plain key |
[in] | wrapped_user_factory_programming_key | Provisioning key wrapped by the DLM server |
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encrypted and MAC appended |
[in,out] | wrapped_key | 2048-bit RSA wrapped key |
fsp_err_t(* sce_key_injection_api_t::RSA2048_EncryptedPublicKeyWrap) (const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_rsa2048_public_wrapped_key_t *const wrapped_key) |
This API outputs 2048-bit RSA public wrapped key.
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encryptedand MAC appended |
[in] | key_update_key | Key update keyring |
[in,out] | wrapped_key | 2048-bit RSA wrapped key |
fsp_err_t(* sce_key_injection_api_t::RSA2048_EncryptedPrivateKeyWrap) (const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_rsa2048_private_wrapped_key_t *const wrapped_key) |
This API outputs 2048-bit RSA private wrapped key.
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encryptedand MAC appended |
[in] | key_update_key | Key update keyring |
[in,out] | wrapped_key | 256-bit RSA wrapped key |
fsp_err_t(* sce_key_injection_api_t::ECC_secp256r1_InitialPublicKeyWrap) (const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_ecc_public_wrapped_key_t *const wrapped_key) |
This API outputs 256-bit ECC public wrapped key.
[in] | key_type | Key type whether encrypted_key or plain key |
[in] | wrapped_user_factory_programming_key | Provisioning key wrapped by the DLM server |
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encrypted and MAC appended |
[in,out] | wrapped_key | 256-bit ECC wrapped key |
fsp_err_t(* sce_key_injection_api_t::ECC_secp256k1_InitialPublicKeyWrap) (const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_ecc_public_wrapped_key_t *const wrapped_key) |
This API outputs 256-bit ECC public wrapped key.
[in] | key_type | Key type whether encrypted_key or plain key |
[in] | wrapped_user_factory_programming_key | Provisioning key wrapped by the DLM server |
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encrypted and MAC appended |
[in,out] | wrapped_key | 256-bit ECC wrapped key |
fsp_err_t(* sce_key_injection_api_t::ECC_secp384r1_InitialPublicKeyWrap) (const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_ecc_public_wrapped_key_t *const wrapped_key) |
This API outputs 384-bit ECC public wrapped key.
[in] | key_type | Key type whether encrypted_key or plain key |
[in] | wrapped_user_factory_programming_key | Provisioning key wrapped by the DLM server |
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encrypted and MAC appended |
[in,out] | wrapped_key | 384-bit ECC wrapped key |
fsp_err_t(* sce_key_injection_api_t::ECC_secp256r1_InitialPrivateKeyWrap) (const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_ecc_private_wrapped_key_t *const wrapped_key) |
This API outputs 256-bit ECC private wrapped key.
[in] | key_type | Key type whether encrypted_key or plain key |
[in] | wrapped_user_factory_programming_key | Provisioning key wrapped by the DLM server |
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encrypted and MAC appended |
[in,out] | wrapped_key | 256-bit ECC wrapped key |
fsp_err_t(* sce_key_injection_api_t::ECC_secp256k1_InitialPrivateKeyWrap) (const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_ecc_private_wrapped_key_t *const wrapped_key) |
This API outputs 256-bit ECC private wrapped key.
[in] | key_type | Key type whether encrypted_key or plain key |
[in] | wrapped_user_factory_programming_key | Provisioning key wrapped by the DLM server |
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encrypted and MAC appended |
[in,out] | wrapped_key | 256-bit ECC wrapped key |
fsp_err_t(* sce_key_injection_api_t::ECC_secp384r1_InitialPrivateKeyWrap) (const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_ecc_private_wrapped_key_t *const wrapped_key) |
This API outputs 384-bit ECC private wrapped key.
[in] | key_type | Key type whether encrypted_key or plain key |
[in] | wrapped_user_factory_programming_key | Provisioning key wrapped by the DLM server |
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encrypted and MAC appended |
[in,out] | wrapped_key | 384-bit ECC wrapped key |
fsp_err_t(* sce_key_injection_api_t::ECC_secp256r1_EncryptedPublicKeyWrap) (const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_ecc_public_wrapped_key_t *const wrapped_key) |
This API outputs 256-bit ECC public wrapped key.
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encryptedand MAC appended |
[in] | key_update_key | Key update keyring |
[in,out] | wrapped_key | 256-bit ECC wrapped key |
fsp_err_t(* sce_key_injection_api_t::ECC_secp256k1_EncryptedPublicKeyWrap) (const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_ecc_public_wrapped_key_t *const wrapped_key) |
This API outputs 256-bit ECC public wrapped key.
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encryptedand MAC appended |
[in] | key_update_key | Key update keyring |
[in,out] | wrapped_key | 256-bit ECC wrapped key |
fsp_err_t(* sce_key_injection_api_t::ECC_secp384r1_EncryptedPublicKeyWrap) (const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_ecc_public_wrapped_key_t *const wrapped_key) |
This API outputs 384-bit ECC public wrapped key.
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encryptedand MAC appended |
[in] | key_update_key | Key update keyring |
[in,out] | wrapped_key | 384-bit ECC wrapped key |
fsp_err_t(* sce_key_injection_api_t::ECC_secp256r1_EncryptedPrivateKeyWrap) (const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_ecc_private_wrapped_key_t *const wrapped_key) |
This API outputs 256-bit ECC private wrapped key.
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encryptedand MAC appended |
[in] | key_update_key | Key update keyring |
[in,out] | wrapped_key | 256-bit ECC wrapped key |
fsp_err_t(* sce_key_injection_api_t::ECC_secp256k1_EncryptedPrivateKeyWrap) (const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_ecc_private_wrapped_key_t *const wrapped_key) |
This API outputs 256-bit ECC private wrapped key.
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encryptedand MAC appended |
[in] | key_update_key | Key update keyring |
[in,out] | wrapped_key | 256-bit ECC wrapped key |
fsp_err_t(* sce_key_injection_api_t::ECC_secp384r1_EncryptedPrivateKeyWrap) (const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_ecc_private_wrapped_key_t *const wrapped_key) |
This API outputs 384-bit ECC private wrapped key.
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encryptedand MAC appended |
[in] | key_update_key | Key update keyring |
[in,out] | wrapped_key | 384-bit ECC wrapped key |
fsp_err_t(* sce_key_injection_api_t::ECC_brainpoolP256r1_InitialPublicKeyWrap) (const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_ecc_public_wrapped_key_t *const wrapped_key) |
This API outputs 256-bit Brainpool ECC public wrapped key.
[in] | key_type | Key type whether encrypted_key or plain key |
[in] | wrapped_user_factory_programming_key | Provisioning key wrapped by the DLM server |
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encrypted and MAC appended |
[in,out] | wrapped_key | 256-bit ECC wrapped key |
fsp_err_t(* sce_key_injection_api_t::ECC_brainpoolP256r1_InitialPrivateKeyWrap) (const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_ecc_private_wrapped_key_t *const wrapped_key) |
This API outputs 256-bit Brainpool ECC private wrapped key.
[in] | key_type | Key type whether encrypted_key or plain key |
[in] | wrapped_user_factory_programming_key | Provisioning key wrapped by the DLM server |
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encrypted and MAC appended |
[in,out] | wrapped_key | 256-bit ECC wrapped key |
fsp_err_t(* sce_key_injection_api_t::ECC_brainpoolP384r1_InitialPublicKeyWrap) (const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_ecc_public_wrapped_key_t *const wrapped_key) |
This API outputs 384-bit Brainpool ECC public wrapped key.
[in] | key_type | Key type whether encrypted_key or plain key |
[in] | wrapped_user_factory_programming_key | Provisioning key wrapped by the DLM server |
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encrypted and MAC appended |
[in,out] | wrapped_key | 384-bit ECC wrapped key |
fsp_err_t(* sce_key_injection_api_t::ECC_brainpoolP384r1_InitialPrivateKeyWrap) (const uint8_t *const key_type, const uint8_t *const wrapped_user_factory_programming_key, const uint8_t *const initial_vector, const uint8_t *const encrypted_key, sce_ecc_private_wrapped_key_t *const wrapped_key) |
This API outputs 384-bit Brainpool ECC private wrapped key.
[in] | key_type | Key type whether encrypted_key or plain key |
[in] | wrapped_user_factory_programming_key | Provisioning key wrapped by the DLM server |
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encrypted and MAC appended |
[in,out] | wrapped_key | 384-bit ECC wrapped key |
fsp_err_t(* sce_key_injection_api_t::ECC_brainpoolP256r1_EncryptedPublicKeyWrap) (const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_ecc_public_wrapped_key_t *const wrapped_key) |
This API outputs 256-bit ECC public wrapped key.
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encryptedand MAC appended |
[in] | key_update_key | Key update keyring |
[in,out] | wrapped_key | 256-bit ECC wrapped key |
fsp_err_t(* sce_key_injection_api_t::ECC_brainpoolP256r1_EncryptedPrivateKeyWrap) (const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_ecc_private_wrapped_key_t *const wrapped_key) |
This API outputs 256-bit ECC private wrapped key.
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encryptedand MAC appended |
[in] | key_update_key | Key update keyring |
[in,out] | wrapped_key | 256-bit ECC wrapped key |
fsp_err_t(* sce_key_injection_api_t::ECC_brainpoolP384r1_EncryptedPublicKeyWrap) (const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_ecc_public_wrapped_key_t *const wrapped_key) |
This API outputs 384-bit ECC public wrapped key.
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encryptedand MAC appended |
[in] | key_update_key | Key update keyring |
[in,out] | wrapped_key | 256-bit ECC wrapped key |
fsp_err_t(* sce_key_injection_api_t::ECC_brainpoolP384r1_EncryptedPrivateKeyWrap) (const uint8_t *const initial_vector, const uint8_t *const encrypted_key, const sce_key_update_key_t *const key_update_key, sce_ecc_private_wrapped_key_t *const wrapped_key) |
This API outputs 384-bit ECC private wrapped key.
[in] | initial_vector | Initialization vector when generating encrypted_key |
[in] | encrypted_key | User key encryptedand MAC appended |
[in] | key_update_key | Key update keyring |
[in,out] | wrapped_key | 384-bit ECC wrapped key |