Skip to content

Commit

Permalink
Added TODO.
Browse files Browse the repository at this point in the history
  • Loading branch information
emargolis committed Jun 4, 2021
1 parent 0d08a49 commit 34bdbf0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/crypto/CHIPCryptoPAL.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 34bdbf0

Please sign in to comment.