Skip to content

Commit

Permalink
Added TODO.
Browse files Browse the repository at this point in the history
  • Loading branch information
emargolis authored and woody-apple committed Jun 5, 2021
1 parent 7292723 commit 87e6a49
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 87e6a49

Please sign in to comment.