Skip to content

Commit

Permalink
add some horizontal rules to the C readme
Browse files Browse the repository at this point in the history
  • Loading branch information
oconnor663-zoom committed Sep 10, 2020
1 parent ac1da75 commit a01fd16
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions c/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ void blake3_hasher_init(
Initialize a `blake3_hasher` in the default hashing mode.
---
```c
void blake3_hasher_update(
blake3_hasher *self,
Expand All @@ -80,6 +82,8 @@ void blake3_hasher_update(

Add input to the hasher. This can be called any number of times.

---

```c
void blake3_hasher_finalize(
const blake3_hasher *self,
Expand All @@ -103,6 +107,8 @@ void blake3_hasher_init_keyed(
Initialize a `blake3_hasher` in the keyed hashing mode. The key must be
exactly 32 bytes.

---

```c
void blake3_hasher_init_derive_key(
blake3_hasher *self,
Expand All @@ -122,6 +128,8 @@ database at runtime. A good default format for the context string is
This function is intended for application code written in C. For
language bindings, see `blake3_hasher_init_derive_key_raw` below.
---
```c
void blake3_hasher_init_derive_key_raw(
blake3_hasher *self,
Expand All @@ -140,6 +148,8 @@ which takes the context as a C string. If you need to use arbitrary
bytes as a context string in application code, consider whether you're
violating the requirement that context strings should be hardcoded.

---

```c
void blake3_hasher_finalize_seek(
const blake3_hasher *self,
Expand Down

0 comments on commit a01fd16

Please sign in to comment.