From 13bada8957e51a5f1a67cf3a187afc7606533480 Mon Sep 17 00:00:00 2001 From: "hilder.vitor" Date: Fri, 11 Mar 2022 13:55:33 +0100 Subject: [PATCH] Fixed some comments on lwehe.h and ntruhe.h --- include/lwehe.h | 6 +++--- include/ntruhe.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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 */