Skip to content

Commit

Permalink
Remove PKCS aws#11 PAL destoy object config flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
lundinc2 committed Feb 19, 2021
1 parent 5db97aa commit 352b430
Show file tree
Hide file tree
Showing 44 changed files with 105 additions and 399 deletions.
8 changes: 0 additions & 8 deletions tests/unit_test/linux/config_files/core_pkcs11_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,6 @@
*/
#define pkcs11configMAX_SESSIONS 10

/**
* @brief Set to 1 if a PAL destroy object is implemented.
*
* If set to 0, no PAL destroy object is implemented, and this functionality
* is implemented in the common PKCS #11 layer.
*/
#define pkcs11configPAL_DESTROY_SUPPORTED 0

/**
* @brief Set to 1 if OTA image verification via PKCS #11 module is supported.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,6 @@
*/
#define pkcs11configMAX_SESSIONS 10

/**
* @brief Set to 1 if a PAL destroy object is implemented.
*
* If set to 0, no PAL destroy object is implemented, and this functionality
* is implemented in the common PKCS #11 layer.
*/
#define pkcs11configPAL_DESTROY_SUPPORTED 0

/**
* @brief Set to 1 if OTA image verification via PKCS #11 module is supported.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,6 @@
*/
#define pkcs11configMAX_NUM_OBJECTS 6

/**
* @brief Set to 1 if a PAL destroy object is implemented.
*
* If set to 0, no PAL destroy object is implemented, and this functionality
* is implemented in the common PKCS #11 layer.
*/
#define pkcs11configPAL_DESTROY_SUPPORTED 0

/**
* @brief Set to 1 if OTA image verification via PKCS #11 module is supported.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,6 @@
*/
#define pkcs11configMAX_SESSIONS 10

/**
* @brief Set to 1 if a PAL destroy object is implemented.
*
* If set to 0, no PAL destroy object is implemented, and this functionality
* is implemented in the common PKCS #11 layer.
*/
#define pkcs11configPAL_DESTROY_SUPPORTED 0

/**
* @brief Set to 1 if OTA image verification via PKCS #11 module is supported.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,6 @@
*/
#define pkcs11configMAX_SESSIONS 10

/**
* @brief Set to 1 if a PAL destroy object is implemented.
*
* If set to 0, no PAL destroy object is implemented, and this functionality
* is implemented in the common PKCS #11 layer.
*/
#define pkcs11configPAL_DESTROY_SUPPORTED 0

/**
* @brief Set to 1 if OTA image verification via PKCS #11 module is supported.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,6 @@
*/
#define pkcs11configMAX_SESSIONS 10

/**
* @brief Set to 1 if a PAL destroy object is implemented.
*
* If set to 0, no PAL destroy object is implemented, and this functionality
* is implemented in the common PKCS #11 layer.
*/
#define pkcs11configPAL_DESTROY_SUPPORTED 0

/**
* @brief Set to 1 if OTA image verification via PKCS #11 module is supported.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,6 @@
*/
#define pkcs11configMAX_SESSIONS 10

/**
* @brief Set to 1 if a PAL destroy object is implemented.
*
* If set to 0, no PAL destroy object is implemented, and this functionality
* is implemented in the common PKCS #11 layer.
*/
#define pkcs11configPAL_DESTROY_SUPPORTED 0

/**
* @brief Set to 1 if OTA image verification via PKCS #11 module is supported.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,6 @@
*/
#define pkcs11configMAX_SESSIONS 10UL

/**
* @brief Set to 1 if a PAL destroy object is implemented.
*
* If set to 0, no PAL destroy object is implemented, and this functionality
* is implemented in the common PKCS #11 layer.
*/
#define pkcs11configPAL_DESTROY_SUPPORTED 0

/**
* @brief Set to 1 if OTA image verification via PKCS #11 module is supported.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,6 @@ extern const char * pcPkcs11GetThingName(void);
*/
#define pkcs11configMAX_NUM_OBJECTS 6

/**
* @brief Set to 1 if a PAL destroy object is implemented.
*
* If set to 0, no PAL destroy object is implemented, and this functionality
* is implemented in the common PKCS #11 layer.
*/
#define pkcs11configPAL_DESTROY_SUPPORTED 0

/**
* @brief Set to 1 if importing device private key via C_CreateObject is supported. 0 if not.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,6 @@
*/
#define pkcs11configMAX_SESSIONS 10

/**
* @brief Set to 1 if a PAL destroy object is implemented.
*
* If set to 0, no PAL destroy object is implemented, and this functionality
* is implemented in the common PKCS #11 layer.
*/
#define pkcs11configPAL_DESTROY_SUPPORTED 0

/**
* @brief Set to 1 if OTA image verification via PKCS #11 module is supported.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,6 @@
*/
#define pkcs11configMAX_NUM_OBJECTS 6

/**
* @brief Set to 1 if a PAL destroy object is implemented.
*
* If set to 0, no PAL destroy object is implemented, and this functionality
* is implemented in the common PKCS #11 layer.
*/
#define pkcs11configPAL_DESTROY_SUPPORTED 0

/*
* @brief Set to 1 if importing device private key via C_CreateObject is supported. 0 if not.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,6 @@
*/
#define pkcs11configMAX_SESSIONS 10UL

/**
* @brief Set to 1 if a PAL destroy object is implemented.
*
* If set to 0, no PAL destroy object is implemented, and this functionality
* is implemented in the common PKCS #11 layer.
*/
#define pkcs11configPAL_DESTROY_SUPPORTED 0

/**
* @brief Set to 1 if OTA image verification via PKCS #11 module is supported.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,6 @@ extern const char * pcPkcs11GetThingName(void);
*/
#define pkcs11configMAX_NUM_OBJECTS 6

/**
* @brief Set to 1 if a PAL destroy object is implemented.
*
* If set to 0, no PAL destroy object is implemented, and this functionality
* is implemented in the common PKCS #11 layer.
*/
#define pkcs11configPAL_DESTROY_SUPPORTED 0

/**
* @brief Set to 1 if importing device private key via C_CreateObject is supported. 0 if not.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,6 @@
*/
#define pkcs11configMAX_SESSIONS 10

/**
* @brief Set to 1 if a PAL destroy object is implemented.
*
* If set to 0, no PAL destroy object is implemented, and this functionality
* is implemented in the common PKCS #11 layer.
*/
#define pkcs11configPAL_DESTROY_SUPPORTED 0

/**
* @brief Set to 1 if OTA image verification via PKCS #11 module is supported.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,6 @@
*/
#define pkcs11configMAX_NUM_OBJECTS 6

/**
* @brief Set to 1 if a PAL destroy object is implemented.
*
* If set to 0, no PAL destroy object is implemented, and this functionality
* is implemented in the common PKCS #11 layer.
*/
#define pkcs11configPAL_DESTROY_SUPPORTED 0

/*
* @brief Set to 1 if importing device private key via C_CreateObject is supported. 0 if not.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,6 @@
*/
#define pkcs11configMAX_SESSIONS 10

/**
* @brief Set to 1 if a PAL destroy object is implemented.
*
* If set to 0, no PAL destroy object is implemented, and this functionality
* is implemented in the common PKCS #11 layer.
*/
#define pkcs11configPAL_DESTROY_SUPPORTED 0

/**
* @brief Set to 1 if OTA image verification via PKCS #11 module is supported.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,6 @@
*/
#define pkcs11configMAX_SESSIONS 10

/**
* @brief Set to 1 if a PAL destroy object is implemented.
*
* If set to 0, no PAL destroy object is implemented, and this functionality
* is implemented in the common PKCS #11 layer.
*/
#define pkcs11configPAL_DESTROY_SUPPORTED 0

/**
* @brief Set to 1 if OTA image verification via PKCS #11 module is supported.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,6 @@
*/
#define pkcs11configMAX_NUM_OBJECTS 6

/**
* @brief Set to 1 if a PAL destroy object is implemented.
*
* If set to 0, no PAL destroy object is implemented, and this functionality
* is implemented in the common PKCS #11 layer.
*/
#define pkcs11configPAL_DESTROY_SUPPORTED 0

/**
* @brief Set to 1 if OTA image verification via PKCS #11 module is supported.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,6 @@
*/
#define pkcs11configMAX_NUM_OBJECTS 6

/**
* @brief Set to 1 if a PAL destroy object is implemented.
*
* If set to 0, no PAL destroy object is implemented, and this functionality
* is implemented in the common PKCS #11 layer.
*/
#define pkcs11configPAL_DESTROY_SUPPORTED 0

/**
* @brief Set to 1 if OTA image verification via PKCS #11 module is supported.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@
/*
* @brief Set to 1 if generating a device private-public key pair via C_GenerateKeyPair. 0 if not.
*/
#define pkcs11testGENERATE_KEYPAIR_SUPPORT ( 1 )
#define pkcs11testGENERATE_KEYPAIR_SUPPORT ( 0 )

/*
* @brief Set to 1 if generating a device private-public key pair via C_GenerateKeyPair. 0 if not.
*/
#define pkcs11testPREPROVISIONED_SUPPORT ( 1 )

/**
* @brief The PKCS #11 label for device private key for test.
Expand Down
Loading

0 comments on commit 352b430

Please sign in to comment.