Skip to content

Commit

Permalink
fix minor typo
Browse files Browse the repository at this point in the history
Signed-off-by: Anjan Roy <[email protected]>
  • Loading branch information
itzmeanjan committed Oct 1, 2023
1 parent a7432fa commit 6f6ef9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ kyber1024/keygen_stddev 0.198 us 0.197 us 8 556.266
kyber1024/keygen_cv 0.29 % 0.29 % 8 0.18% 0.29%
```

### On 12th Gen Intel(R) Core(TM) i7-1260P ( compiled with Clang.16.0.0 )
### On 12th Gen Intel(R) Core(TM) i7-1260P ( compiled with Clang-16.0.0 )

```bash
2023-10-01T11:17:00+05:30
Expand Down Expand Up @@ -361,4 +361,4 @@ prng::prng_t prng0;
prng::prng_t prng1{seed};
```
>> **Note** Looking at API documentation, in header files, can give you good idea of how to use Kyber KEM API. Note, this library doesn't expose any raw pointer based interface, rather everything is wrapped under statically defined `std::span` - which one can easily create from `std::{array, vector}`. I opt for using statically defined `std::span` based function interfaces because we always know, at compile-time, how many bytes the seeds/ keys/ cipher-texts/ shared-secrets are, for various different Kyber KEM parameters. This gives much better type safety and compile-time error reporting.
> **Note** Looking at API documentation, in header files, can give you good idea of how to use Kyber KEM API. Note, this library doesn't expose any raw pointer based interface, rather everything is wrapped under statically defined `std::span` - which one can easily create from `std::{array, vector}`. I opt for using statically defined `std::span` based function interfaces because we always know, at compile-time, how many bytes the seeds/ keys/ cipher-texts/ shared-secrets are, for various different Kyber KEM parameters. This gives much better type safety and compile-time error reporting.

0 comments on commit 6f6ef9e

Please sign in to comment.