diff options
author | Andrew Scull <ascull@google.com> | 2023-11-10 02:33:48 +0000 |
---|---|---|
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-11-10 02:33:48 +0000 |
commit | 5c75e31eeb7a543590dae3957502a9e31d43c6ea (patch) | |
tree | d51befb4abd3b29ff5e31e130d6fa001ddf27789 | |
parent | 6953267450f04a16f7b443a7dc1ca72b5672f3e0 (diff) | |
download | open-dice-5c75e31eeb7a543590dae3957502a9e31d43c6ea.tar.gz |
Correct algorithm in comments of P-384 ops
Fix the copy-pasted comments to name the correct algorithm that's
implemented.
Change-Id: Ife5bf03873fbb4b2e4141885e1a314ef091b93e0
Reviewed-on: https://pigweed-review.googlesource.com/c/open-dice/+/177083
Reviewed-by: Darren Krahn <dkrahn@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Andrew Scull <ascull@google.com>
-rw-r--r-- | src/boringssl_p384_ops.c | 3 | ||||
-rw-r--r-- | src/cbor_p384_cert_op.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/boringssl_p384_ops.c b/src/boringssl_p384_ops.c index ca5e88b..d5a0d0c 100644 --- a/src/boringssl_p384_ops.c +++ b/src/boringssl_p384_ops.c @@ -12,8 +12,7 @@ // License for the specific language governing permissions and limitations under // the License. -// This is an implementation of the crypto operations that uses boringssl. The -// algorithms used are SHA512, HKDF-SHA512, and Ed25519-SHA512. +// This is an implementation of P-384 signature operations using boringssl. #include <stdint.h> #include <stdio.h> diff --git a/src/cbor_p384_cert_op.c b/src/cbor_p384_cert_op.c index a263573..8e9df7a 100644 --- a/src/cbor_p384_cert_op.c +++ b/src/cbor_p384_cert_op.c @@ -13,7 +13,7 @@ // the License. // This is a DiceGenerateCertificate implementation that generates a CWT-style -// CBOR certificate using the ED25519-SHA512 signature scheme. +// CBOR certificate using the P-384 signature algorithm. #include <stddef.h> #include <stdint.h> |