Skip to content

Commit

Permalink
reverting key size
Browse files Browse the repository at this point in the history
  • Loading branch information
VarunChammenchery committed Mar 25, 2023
1 parent 7c9853b commit bb62eca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto_libraries/inc/nx_crypto_ecdh.h
Expand Up @@ -66,7 +66,7 @@ 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 (80) /* Buffer size is increased to accomodate OEM keys */
#define NX_CRYPTO_ECDH_MAX_KEY_SIZE (68)
#endif
#ifndef NX_CRYPTO_ECDH_SCRATCH_BUFFER_SIZE
#define NX_CRYPTO_ECDH_SCRATCH_BUFFER_SIZE 2464
Expand Down

0 comments on commit bb62eca

Please sign in to comment.