diff --git a/include/lwehe.h b/include/lwehe.h index c4d6f6f..b4267b0 100644 --- a/include/lwehe.h +++ b/include/lwehe.h @@ -130,7 +130,7 @@ class SchemeLWE /** * Computes the AND gate of two given ciphertexts ct1 and ct2 - * @param[out] ct_res encryptions of the outuput of the NAND gate + * @param[out] ct_res encryptions of the outuput of the AND gate * @param[in] ct_1 encryption of the first input bit * @param[in] ct_2 encryption of the second input bit */ @@ -138,7 +138,7 @@ class SchemeLWE /** * Computes the OR gate of two given ciphertexts ct1 and ct2 - * @param[out] ct_res encryptions of the outuput of the NAND gate + * @param[out] ct_res encryptions of the outuput of the OR gate * @param[in] ct_1 encryption of the first input bit * @param[in] ct_2 encryption of the second input bit */ @@ -146,7 +146,7 @@ class SchemeLWE /** * Computes the XOR gate of two given ciphertexts ct1 and ct2 - * @param[out] ct_res encryptions of the outuput of the NAND gate + * @param[out] ct_res encryptions of the outuput of the XOR gate * @param[in] ct_1 encryption of the first input bit * @param[in] ct_2 encryption of the second input bit */ diff --git a/include/ntruhe.h b/include/ntruhe.h index 7eb8ed4..d8fd277 100644 --- a/include/ntruhe.h +++ b/include/ntruhe.h @@ -160,7 +160,7 @@ class SchemeNTRU /** * Computes the AND gate of two given ciphertexts ct1 and ct2 - * @param[out] ct_res encryptions of the outuput of the NAND gate + * @param[out] ct_res encryptions of the outuput of the AND gate * @param[in] ct_1 encryption of the first input bit * @param[in] ct_2 encryption of the second input bit */ @@ -168,7 +168,7 @@ class SchemeNTRU /** * Computes the OR gate of two given ciphertexts ct1 and ct2 - * @param[out] ct_res encryptions of the outuput of the NAND gate + * @param[out] ct_res encryptions of the outuput of the OR gate * @param[in] ct_1 encryption of the first input bit * @param[in] ct_2 encryption of the second input bit */