DOC: minor fixes

This commit is contained in:
hasufell 2014-06-28 13:11:36 +02:00
parent a6071c609a
commit 73a90cc3e9
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
2 changed files with 6 additions and 6 deletions

View File

@ -73,11 +73,11 @@ struct keypair {
* @param pair store private and public components here (the * @param pair store private and public components here (the
* polynomials inside the struct will be automatically * polynomials inside the struct will be automatically
* initialized) [out] * initialized) [out]
* @param f a random polynomial * @param f a random ternary polynomial
* @param g a random polynomial * @param g a random ternary polynomial
* @param params the NTRU context * @param params the NTRU context
* @return true for success, false if f or g are not invertible * @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 bool
ntru_create_keypair( ntru_create_keypair(

View File

@ -70,11 +70,11 @@ struct keypair {
* @param pair store private and public components here (the * @param pair store private and public components here (the
* polynomials inside the struct will be automatically * polynomials inside the struct will be automatically
* initialized) [out] * initialized) [out]
* @param f a random polynomial * @param f a random ternary polynomial
* @param g a random polynomial * @param g a random ternary polynomial
* @param params the NTRU context * @param params the NTRU context
* @return true for success, false if f or g are not invertible * @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 bool
ntru_create_keypair( ntru_create_keypair(