Skip to content

Commit

Permalink
platform_keys: add support for importing AUTHDEBUG keys
Browse files Browse the repository at this point in the history
Ref: NCSDK-NONE
Signed-off-by: Håkon Amundsen <[email protected]>
(cherry picked from commit 32dc027)
  • Loading branch information
hakonfam authored and bjarki-andreasen committed Jan 22, 2025
1 parent 32f8ebe commit 17654a3
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,14 @@ static key_type find_key(uint32_t id, platform_key *key)
FILL_PUBKEY(NRF_SECURE_SICR_S->AROT.RADIO.SUITPUBKEY, generation);
case DOMAIN_USAGE(DOMAIN_NONE, USAGE_RMOEM):
FILL_PUBKEY(NRF_SECURE_SICR_S->AROT.SECURE.OEMPUBKEY, generation);
case DOMAIN_USAGE(DOMAIN_APPLICATION, USAGE_AUTHDEBUG):
FILL_PUBKEY(NRF_SECURE_SICR_S->AROT.APPLICATION.AUTHDEBUGKEY, generation);
case DOMAIN_USAGE(DOMAIN_RADIO, USAGE_AUTHDEBUG):
FILL_PUBKEY(NRF_SECURE_SICR_S->AROT.RADIO.AUTHDEBUGKEY, generation);
case DOMAIN_USAGE(DOMAIN_WIFI, USAGE_AUTHDEBUG):
FILL_PUBKEY(NRF_SECURE_SICR_S->AROT.WIFICORE.AUTHDEBUGKEY, generation);
case DOMAIN_USAGE(DOMAIN_CELL, USAGE_AUTHDEBUG):
FILL_PUBKEY(NRF_SECURE_SICR_S->AROT.CELLULARCORE.AUTHDEBUGKEY, generation);
case DOMAIN_USAGE(DOMAIN_APPLICATION, USAGE_FWENC):
FILL_AESKEY(NRF_SECURE_SICR_S->AROT.APPLICATION.FWENC, generation);
case DOMAIN_USAGE(DOMAIN_RADIO, USAGE_FWENC):
Expand Down

0 comments on commit 17654a3

Please sign in to comment.