From 34bdbf0840f819ed3d13ee76d7594c45b3b34f01 Mon Sep 17 00:00:00 2001 From: Evgeni Margolis Date: Fri, 4 Jun 2021 12:01:35 -0700 Subject: [PATCH] Added TODO. --- src/crypto/CHIPCryptoPAL.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/crypto/CHIPCryptoPAL.h b/src/crypto/CHIPCryptoPAL.h index b142f8bc899659..4b481204c81e8f 100644 --- a/src/crypto/CHIPCryptoPAL.h +++ b/src/crypto/CHIPCryptoPAL.h @@ -36,6 +36,9 @@ namespace chip { namespace Crypto { +// TODO: Consider renaming these values to be closer to definisions in the spec: +// CHIP_CRYPTO_GROUP_SIZE_BYTES +// CHIP_CRYPTO_PUBLIC_KEY_SIZE_BYTES const size_t kP256_FE_Length = 32; const size_t kP256_ECDSA_Signature_Length_Raw = (2 * kP256_FE_Length); const size_t kP256_Point_Length = (2 * kP256_FE_Length + 1);