aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2020-08-26 16:55:39 -0400
committerJack O'Connor <[email protected]>2020-08-26 16:55:39 -0400
commitc8a5b53e1d21589529e33f418aac3efc4f70213b (patch)
treeb2708ce2119f629e37b2fa2e784753683a53ea88
parentadbf07d67a1f08c40e1c7ff60845519f81e0254f (diff)
wording tweak in the C readme
-rw-r--r--c/README.md11
1 files changed, 5 insertions, 6 deletions
diff --git a/c/README.md b/c/README.md
index d7b5e09..b1b18a4 100644
--- a/c/README.md
+++ b/c/README.md
@@ -110,12 +110,11 @@ void blake3_hasher_init_derive_key(
Initialize a `blake3_hasher` in the key derivation mode. Key material
should be given as input after initialization, using
-`blake3_hasher_update`. `context` is a standard C string of any length,
-and the terminating null byte is not included. The context string should
-be hardcoded, globally unique, and application-specific. A good default
-format for the context string is `"[application] [commit timestamp]
-[purpose]"`, e.g., `"example.com 2019-12-25 16:18:03 session tokens
-v1"`.
+`blake3_hasher_update`. `context` is a standard null-terminated C string
+of any length. The context string should be hardcoded, globally unique,
+and application-specific. A good default format for the context string
+is `"[application] [commit timestamp] [purpose]"`, e.g., `"example.com
+2019-12-25 16:18:03 session tokens v1"`.
```c
void blake3_hasher_finalize_seek(