|
|
@@ -192,6 +192,7 @@ int PQCLEAN_DILITHIUM2_CLEAN_crypto_sign_signature( |
|
|
|
shake256_inc_absorb(&state, msg, mlen); |
|
|
|
shake256_inc_finalize(&state); |
|
|
|
shake256_inc_squeeze(mu, CRHBYTES, &state); |
|
|
|
shake256_inc_ctx_release(&state); |
|
|
|
|
|
|
|
crh(rhoprime, key, SEEDBYTES + CRHBYTES); |
|
|
|
|
|
|
@@ -341,6 +342,7 @@ int PQCLEAN_DILITHIUM2_CLEAN_crypto_sign_verify( |
|
|
|
shake256_inc_absorb(&state, m, mlen); |
|
|
|
shake256_inc_finalize(&state); |
|
|
|
shake256_inc_squeeze(mu, CRHBYTES, &state); |
|
|
|
shake256_inc_ctx_release(&state); |
|
|
|
|
|
|
|
/* Matrix-vector multiplication; compute Az - c2^dt1 */ |
|
|
|
PQCLEAN_DILITHIUM2_CLEAN_expand_mat(mat, rho); |
|
|
|