Skip to content

Commit

Permalink
Merge pull request #1 from renesas/fspra-650-ecc-acceleration-sce7
Browse files Browse the repository at this point in the history
internal ECC buffer size update to support larger OEM key format.
  • Loading branch information
michaelthomasj committed Mar 27, 2023
2 parents d66a4df + bb62eca commit 8bed7da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crypto_libraries/inc/nx_crypto_ecdh.h
Expand Up @@ -65,7 +65,9 @@ extern "C" {


/* Max Elliptic-curve Diffie-Hellman key size. Buffer size for calculations is 4X the key size */
#ifndef NX_CRYPTO_ECDH_MAX_KEY_SIZE
#define NX_CRYPTO_ECDH_MAX_KEY_SIZE (68)
#endif
#ifndef NX_CRYPTO_ECDH_SCRATCH_BUFFER_SIZE
#define NX_CRYPTO_ECDH_SCRATCH_BUFFER_SIZE 2464
#endif /* NX_CRYPTO_ECDSA_SCRATCH_BUFFER_SIZE */
Expand Down

0 comments on commit 8bed7da

Please sign in to comment.