Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Commit

Permalink
Remove unused configs from aws_pkcs11_config.h
Browse files Browse the repository at this point in the history
In release 1.4.3, PKCS #11 objects switched from being
accessed by file name to being accessed by label name.

As a result, pkcs11configFILE_NAME_* configs are now a property
of the portable PAL layer and are unused in the config file.
  • Loading branch information
alexa-noxon committed Nov 27, 2018
1 parent 0b6cec9 commit 8e35a60
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 35 deletions.
6 changes: 0 additions & 6 deletions demos/xilinx/microzed/common/config_files/aws_pkcs11_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@
#ifndef _AWS_PKCS11_CONFIG_H_
#define _AWS_PKCS11_CONFIG_H_

/**
* @brief File storage location definitions.
*/
#define pkcs11configFILE_NAME_CLIENT_CERTIFICATE "FreeRTOS_P11_Certificate.dat"
#define pkcs11configFILE_NAME_KEY "FreeRTOS_P11_Key.dat"

/* A non-standard version of C_INITIALIZE should be used by this port. */
/* #define pkcs11configC_INITIALIZE_ALT */

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@
#ifndef _AWS_PKCS11_CONFIG_H_
#define _AWS_PKCS11_CONFIG_H_

/**
* @brief File storage location definitions.
*/
//#define pkcs11configFILE_NAME_CLIENT_CERTIFICATE "ESP_P11_Cert"
//#define pkcs11configFILE_NAME_KEY "ESP_P11_Key"

/* A non-standard version of C_INITIALIZE should be used by this port. */
/* #define pkcs11configC_INITIALIZE_ALT */

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@
#ifndef _AWS_PKCS11_CONFIG_H_
#define _AWS_PKCS11_CONFIG_H_

/**
* @brief File storage location definitions.
*/
#define pkcs11configFILE_NAME_CLIENT_CERTIFICATE "FreeRTOS_P11_Certificate.dat"
#define pkcs11configFILE_NAME_KEY "FreeRTOS_P11_Key.dat"

/* A non-standard version of C_INITIALIZE should be used by this port. */
#define pkcs11configC_INITIALIZE_ALT

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@
#ifndef _AWS_PKCS11_CONFIG_H_
#define _AWS_PKCS11_CONFIG_H_

/**
* @brief File storage location definitions.
*/
#define pkcs11FILE_NAME_CLIENT_CERTIFICATE "FreeRTOS_P11_Certificate.dat"
#define pkcs11FILE_NAME_KEY "FreeRTOS_P11_Key.dat"

/* A non-standard version of C_INITIALIZE should be used by this port. */
/* #define pkcs11configC_INITIALIZE_ALT */

Expand Down
6 changes: 0 additions & 6 deletions tests/vendor/board/common/config_files/aws_pkcs11_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@
#ifndef _AWS_PKCS11_CONFIG_H_
#define _AWS_PKCS11_CONFIG_H_

/**
* @brief File storage location definitions.
*/
#define pkcs11configFILE_NAME_CLIENT_CERTIFICATE "FreeRTOS_P11_Certificate.dat"
#define pkcs11configFILE_NAME_KEY "FreeRTOS_P11_Key.dat"

/* A non-standard version of C_INITIALIZE should be used by this port. */
/* #define pkcs11configC_INITIALIZE_ALT */

Expand Down
5 changes: 0 additions & 5 deletions tests/xilinx/microzed/common/config_files/aws_pkcs11_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
#ifndef _AWS_PKCS11_CONFIG_H_
#define _AWS_PKCS11_CONFIG_H_

/**
* @brief File storage location definitions.
*/
#define pkcs11configFILE_NAME_CLIENT_CERTIFICATE "FreeRTOS_P11_Certificate.dat"
#define pkcs11configFILE_NAME_KEY "FreeRTOS_P11_Key.dat"

/* A non-standard version of C_INITIALIZE should be used by this port. */
/* #define pkcs11configC_INITIALIZE_ALT */
Expand Down

0 comments on commit 8e35a60

Please sign in to comment.