ntru_decrypt now uses pb_normalize
This commit is contained in:
Christoph Prüßner 2014-05-12 13:49:00 +02:00
parent 4030335661
commit f8f7634c84

View File

@ -73,5 +73,7 @@ pb_poly* ntru_decrypt(pb_poly *encr_msg, pb_poly *priv_key,
pb_starmultiply(a, priv_key_inv, d, context, p); pb_starmultiply(a, priv_key_inv, d, context, p);
pb_normalize(d,-1,1,context);
return d; return d;
} }