Skip to content

Commit

Permalink
fix(CMSIS): Remove AES Key Generation (unsupported) feature from MAX3…
Browse files Browse the repository at this point in the history
…2657 (#1303)
  • Loading branch information
sihyung-maxim authored Dec 18, 2024
1 parent 6e61aa3 commit e2ee589
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 75 deletions.
30 changes: 0 additions & 30 deletions Libraries/CMSIS/Device/Maxim/MAX32657/Include/max32657.svd
Original file line number Diff line number Diff line change
Expand Up @@ -10317,24 +10317,6 @@
<bitOffset>2</bitOffset>
<bitWidth>1</bitWidth>
</field>
<field>
<name>AESKG_MEU</name>
<description>Generate and transfer 256 bit MEU key to AES Key storage.</description>
<bitOffset>3</bitOffset>
<bitWidth>1</bitWidth>
</field>
<field>
<name>AESKG_MEMPROT_XIP</name>
<description>Generate and transfer 128 bit MEMPROT_XIP key to AES key storage.</description>
<bitOffset>4</bitOffset>
<bitWidth>1</bitWidth>
</field>
<field>
<name>AESKG_MEMPROT_DIP</name>
<description>Generate and transfer 128 bit MEMPROT_DIP key to AES key storage.</description>
<bitOffset>5</bitOffset>
<bitWidth>1</bitWidth>
</field>
<field>
<name>OD_ROMON</name>
<description>Start ring oscillator monitor on demand test.</description>
Expand Down Expand Up @@ -10365,12 +10347,6 @@
<bitOffset>10</bitOffset>
<bitWidth>1</bitWidth>
</field>
<field>
<name>KEYWIPE</name>
<description>To wipe the Battery Backed key.</description>
<bitOffset>15</bitOffset>
<bitWidth>1</bitWidth>
</field>
<field>
<name>GET_TERO_CNT</name>
<description>Get Tero Count.</description>
Expand Down Expand Up @@ -10472,12 +10448,6 @@
<bitOffset>3</bitOffset>
<bitWidth>1</bitWidth>
</field>
<field>
<name>AES_KEYGEN</name>
<description>AESKGD.</description>
<bitOffset>4</bitOffset>
<bitWidth>1</bitWidth>
</field>
<field>
<name>OD_ROMON</name>
<description>On demand ring oscillator test status.</description>
Expand Down
15 changes: 0 additions & 15 deletions Libraries/CMSIS/Device/Maxim/MAX32657/Include/trng_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,6 @@ typedef struct {
#define MXC_F_TRNG_CTRL_HEALTH_IE_POS 2 /**< CTRL_HEALTH_IE Position */
#define MXC_F_TRNG_CTRL_HEALTH_IE ((uint32_t)(0x1UL << MXC_F_TRNG_CTRL_HEALTH_IE_POS)) /**< CTRL_HEALTH_IE Mask */

#define MXC_F_TRNG_CTRL_AESKG_MEU_POS 3 /**< CTRL_AESKG_MEU Position */
#define MXC_F_TRNG_CTRL_AESKG_MEU ((uint32_t)(0x1UL << MXC_F_TRNG_CTRL_AESKG_MEU_POS)) /**< CTRL_AESKG_MEU Mask */

#define MXC_F_TRNG_CTRL_AESKG_MEMPROT_XIP_POS 4 /**< CTRL_AESKG_MEMPROT_XIP Position */
#define MXC_F_TRNG_CTRL_AESKG_MEMPROT_XIP ((uint32_t)(0x1UL << MXC_F_TRNG_CTRL_AESKG_MEMPROT_XIP_POS)) /**< CTRL_AESKG_MEMPROT_XIP Mask */

#define MXC_F_TRNG_CTRL_AESKG_MEMPROT_DIP_POS 5 /**< CTRL_AESKG_MEMPROT_DIP Position */
#define MXC_F_TRNG_CTRL_AESKG_MEMPROT_DIP ((uint32_t)(0x1UL << MXC_F_TRNG_CTRL_AESKG_MEMPROT_DIP_POS)) /**< CTRL_AESKG_MEMPROT_DIP Mask */

#define MXC_F_TRNG_CTRL_OD_ROMON_POS 6 /**< CTRL_OD_ROMON Position */
#define MXC_F_TRNG_CTRL_OD_ROMON ((uint32_t)(0x1UL << MXC_F_TRNG_CTRL_OD_ROMON_POS)) /**< CTRL_OD_ROMON Mask */

Expand All @@ -135,9 +126,6 @@ typedef struct {
#define MXC_F_TRNG_CTRL_EBLS_POS 10 /**< CTRL_EBLS Position */
#define MXC_F_TRNG_CTRL_EBLS ((uint32_t)(0x1UL << MXC_F_TRNG_CTRL_EBLS_POS)) /**< CTRL_EBLS Mask */

#define MXC_F_TRNG_CTRL_KEYWIPE_POS 15 /**< CTRL_KEYWIPE Position */
#define MXC_F_TRNG_CTRL_KEYWIPE ((uint32_t)(0x1UL << MXC_F_TRNG_CTRL_KEYWIPE_POS)) /**< CTRL_KEYWIPE Mask */

#define MXC_F_TRNG_CTRL_GET_TERO_CNT_POS 16 /**< CTRL_GET_TERO_CNT Position */
#define MXC_F_TRNG_CTRL_GET_TERO_CNT ((uint32_t)(0x1UL << MXC_F_TRNG_CTRL_GET_TERO_CNT_POS)) /**< CTRL_GET_TERO_CNT Mask */

Expand Down Expand Up @@ -183,9 +171,6 @@ typedef struct {
#define MXC_F_TRNG_STATUS_SRCFAIL_POS 3 /**< STATUS_SRCFAIL Position */
#define MXC_F_TRNG_STATUS_SRCFAIL ((uint32_t)(0x1UL << MXC_F_TRNG_STATUS_SRCFAIL_POS)) /**< STATUS_SRCFAIL Mask */

#define MXC_F_TRNG_STATUS_AES_KEYGEN_POS 4 /**< STATUS_AES_KEYGEN Position */
#define MXC_F_TRNG_STATUS_AES_KEYGEN ((uint32_t)(0x1UL << MXC_F_TRNG_STATUS_AES_KEYGEN_POS)) /**< STATUS_AES_KEYGEN Mask */

#define MXC_F_TRNG_STATUS_OD_ROMON_POS 6 /**< STATUS_OD_ROMON Position */
#define MXC_F_TRNG_STATUS_OD_ROMON ((uint32_t)(0x1UL << MXC_F_TRNG_STATUS_OD_ROMON_POS)) /**< STATUS_OD_ROMON Mask */

Expand Down
30 changes: 0 additions & 30 deletions Libraries/PeriphDrivers/Source/TRNG/trng_revc_me30.svd
Original file line number Diff line number Diff line change
Expand Up @@ -51,24 +51,6 @@
<bitOffset>2</bitOffset>
<bitWidth>1</bitWidth>
</field>
<field>
<name>AESKG_MEU</name>
<description>Generate and transfer 256 bit MEU key to AES Key storage.</description>
<bitOffset>3</bitOffset>
<bitWidth>1</bitWidth>
</field>
<field>
<name>AESKG_MEMPROT_XIP</name>
<description>Generate and transfer 128 bit MEMPROT_XIP key to AES key storage.</description>
<bitOffset>4</bitOffset>
<bitWidth>1</bitWidth>
</field>
<field>
<name>AESKG_MEMPROT_DIP</name>
<description>Generate and transfer 128 bit MEMPROT_DIP key to AES key storage.</description>
<bitOffset>5</bitOffset>
<bitWidth>1</bitWidth>
</field>
<field>
<name>OD_ROMON</name>
<description>Start ring oscillator monitor on demand test.</description>
Expand Down Expand Up @@ -99,12 +81,6 @@
<bitOffset>10</bitOffset>
<bitWidth>1</bitWidth>
</field>
<field>
<name>KEYWIPE</name>
<description>To wipe the Battery Backed key.</description>
<bitOffset>15</bitOffset>
<bitWidth>1</bitWidth>
</field>
<field>
<name>GET_TERO_CNT</name>
<description>Get Tero Count.</description>
Expand Down Expand Up @@ -206,12 +182,6 @@
<bitOffset>3</bitOffset>
<bitWidth>1</bitWidth>
</field>
<field>
<name>AES_KEYGEN</name>
<description>AESKGD.</description>
<bitOffset>4</bitOffset>
<bitWidth>1</bitWidth>
</field>
<field>
<name>OD_ROMON</name>
<description>On demand ring oscillator test status.</description>
Expand Down

0 comments on commit e2ee589

Please sign in to comment.