aboutsummaryrefslogtreecommitdiff
path: root/src/hkdf.c
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-07-23 19:55:13 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-07-23 19:55:13 -0400
commit54f520e4bfc0fe23e2719d44b09739aa8709451c (patch)
tree4173d4f7e8205dc175f8a1d26e0c0b00c72aa907 /src/hkdf.c
parent12feb33dba2061415d6f39fa59dec16fafcda2a0 (diff)
latest changes
Diffstat (limited to 'src/hkdf.c')
-rw-r--r--src/hkdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hkdf.c b/src/hkdf.c
index ab661de..16e0b5b 100644
--- a/src/hkdf.c
+++ b/src/hkdf.c
@@ -61,7 +61,7 @@ cstatus_t hkdfExpandProcess(
counter[0] = 1; /* counter is offset by 1 for init */
result = CSTATUS_FAIL; /* Start in fail state */
- /* counter as a span */
+ /* span over counter value that points to the counter buffer */
ncSpanInitC(&counterSpan, counter, sizeof(counter));
/* Compute T(N) = HMAC(prk, T(n-1) | info | n) */