From 39093c1bfbb561b4e3ff86a6b2570b276ef48bb8 Mon Sep 17 00:00:00 2001 From: Dan McArdle Date: Thu, 21 Jan 2021 14:54:04 -0500 Subject: [PATCH] Fix comments that refer to old draft of HPKE. Bug: 275 Change-Id: I4879459fceade79a0d646cb394f42af55e12236d Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/45144 Reviewed-by: David Benjamin Commit-Queue: David Benjamin --- crypto/hpke/hpke.c | 2 +- crypto/hpke/internal.h | 2 +- ssl/test/runner/hpke/hpke.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crypto/hpke/hpke.c b/crypto/hpke/hpke.c index 40ad5bd48..ee03e5390 100644 --- a/crypto/hpke/hpke.c +++ b/crypto/hpke/hpke.c @@ -27,7 +27,7 @@ #include "internal.h" -// This file implements draft-irtf-cfrg-hpke-05. +// This file implements draft-irtf-cfrg-hpke-07. #define KEM_CONTEXT_LEN (2 * X25519_PUBLIC_VALUE_LEN) diff --git a/crypto/hpke/internal.h b/crypto/hpke/internal.h index b13b09741..3d2f4ba07 100644 --- a/crypto/hpke/internal.h +++ b/crypto/hpke/internal.h @@ -31,7 +31,7 @@ extern "C" { // receiver with a public key. Optionally, the sender may authenticate its // possession of a pre-shared key to the recipient. // -// See https://tools.ietf.org/html/draft-irtf-cfrg-hpke-05. +// See https://tools.ietf.org/html/draft-irtf-cfrg-hpke-07. // EVP_HPKE_AEAD_* are AEAD identifiers. #define EVP_HPKE_AEAD_AES_GCM_128 0x0001 diff --git a/ssl/test/runner/hpke/hpke.go b/ssl/test/runner/hpke/hpke.go index 89e2d0c0f..513b37a5a 100644 --- a/ssl/test/runner/hpke/hpke.go +++ b/ssl/test/runner/hpke/hpke.go @@ -14,7 +14,7 @@ // Package hpke implements Hybrid Public Key Encryption (HPKE). // -// See https://tools.ietf.org/html/draft-irtf-cfrg-hpke-05. +// See https://tools.ietf.org/html/draft-irtf-cfrg-hpke-07. package hpke import (