From de793ebcc8f7142f3bae6fe9ee77ffc2885a0fdd Mon Sep 17 00:00:00 2001 From: Henry Case Date: Sat, 27 Mar 2021 00:10:29 +0000 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d2698a20..4fd7827a 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Library provides simple API, wrapping PQClean. For example to use KEM, one shoul pqc_kem_encapsulate(p, ct.data(), ss1.data(), pk.data()); pqc_kem_decapsulate(p, ss2.data(), ct.data(), sk.data()); - params_t *p = pqc_sig_alg_by_id(DILITHIUM2); + *p = pqc_sig_alg_by_id(DILITHIUM2); size_t sigsz = sig.capacity(); pqc_keygen(p, pk.data(), sk.data()); pqc_sig_create(p, sig.data(), &sigsz, msg.data(), msg.size(), sk.data());