i.MX91 EdgeLock Enclave key wrap or export?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX91 EdgeLock Enclave key wrap or export?

495 Views
chris_boger
Contributor I

On the i.MX91 EdgeLock Enclave, is there a way to export secret or private keys from one unique instance to another?

NXP's PKCS#11 C_WrapKey()/C_UnwrapKey() both return CKR_FUNCTION_NOT_SUPPORTED, inferring that there is no way to wrap an opaque key with an opaque key.

There's also hsm_blob_unblob(). Does this use a device-unique KEK or can I program a common KEK on multiple instances?

 

Labels (1)
0 Kudos
Reply
1 Reply

429 Views
yipingwang
NXP TechSupport
NXP TechSupport

1. No, secret or private keys can't be exported, only public key can be exported.

2. not supported

3. hsm_blob_unblob() does not use a user-programmable or shared KEK. Instead, the blob mechanism relies on an internally derived KEK that is bound to device-specific secrets and contextual parameters.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2371450%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Ei.MX91%20EdgeLock%20Enclave%20key%20wrap%20or%20export%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2371450%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EOn%20the%20i.MX91%20EdgeLock%20Enclave%2C%20is%20there%20a%20way%20to%20export%20secret%20or%20private%20keys%20from%20one%20unique%20instance%20to%20another%3F%3C%2FP%3E%3CP%3ENXP's%20PKCS%2311%26nbsp%3BC_WrapKey()%2FC_UnwrapKey()%20both%20return%20CKR_FUNCTION_NOT_SUPPORTED%2C%20inferring%20that%20there%20is%20no%20way%20to%20wrap%20an%20opaque%20key%20with%20an%20opaque%20key.%3C%2FP%3E%3CP%3EThere's%20also%26nbsp%3Bhsm_blob_unblob().%20Does%20this%20use%20a%20device-unique%20KEK%20or%20can%20I%20program%20a%20common%20KEK%20on%20multiple%20instances%3F%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2371450%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3ESecurity%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2372682%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20i.MX91%20EdgeLock%20Enclave%20key%20wrap%20or%20export%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2372682%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E1.%26nbsp%3BNo%2C%20secret%20or%20private%20keys%20can't%20be%20exported%2C%20only%20public%20key%20can%20be%20exported.%3C%2FP%3E%0A%3CP%3E2.%26nbsp%3Bnot%20supported%3C%2FP%3E%0A%3CP%3E3.%26nbsp%3Bhsm_blob_unblob()%20does%20not%20use%20a%20user-programmable%20or%20shared%20KEK.%20Instead%2C%20the%20blob%20mechanism%20relies%20on%20an%20internally%20derived%20KEK%20that%20is%20bound%20to%20device-specific%20secrets%20and%20contextual%20parameters.%3C%2FP%3E%3C%2FLINGO-BODY%3E