diff --git a/include/ntru_keypair.h b/include/ntru_keypair.h index c6cab36..adb5758 100644 --- a/include/ntru_keypair.h +++ b/include/ntru_keypair.h @@ -73,11 +73,11 @@ struct keypair { * @param pair store private and public components here (the * polynomials inside the struct will be automatically * initialized) [out] - * @param f a random polynomial - * @param g a random polynomial + * @param f a random ternary polynomial + * @param g a random ternary polynomial * @param params the NTRU context * @return true for success, false if f or g are not invertible - * (then the caller hast to try different ones) + * (then the caller has to try different ones) */ bool ntru_create_keypair( diff --git a/src/ntru_keypair.h b/src/ntru_keypair.h index 7e02f61..7faa0c3 100644 --- a/src/ntru_keypair.h +++ b/src/ntru_keypair.h @@ -70,11 +70,11 @@ struct keypair { * @param pair store private and public components here (the * polynomials inside the struct will be automatically * initialized) [out] - * @param f a random polynomial - * @param g a random polynomial + * @param f a random ternary polynomial + * @param g a random ternary polynomial * @param params the NTRU context * @return true for success, false if f or g are not invertible - * (then the caller hast to try different ones) + * (then the caller has to try different ones) */ bool ntru_create_keypair(