mirror of
https://github.com/mii443/FINAL.git
synced 2025-08-22 15:05:36 +00:00
Fixed some comments on lwehe.h and ntruhe.h
This commit is contained in:
@ -130,7 +130,7 @@ class SchemeLWE
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Computes the AND gate of two given ciphertexts ct1 and ct2
|
* 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_1 encryption of the first input bit
|
||||||
* @param[in] ct_2 encryption of the second 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
|
* 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_1 encryption of the first input bit
|
||||||
* @param[in] ct_2 encryption of the second 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
|
* 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_1 encryption of the first input bit
|
||||||
* @param[in] ct_2 encryption of the second input bit
|
* @param[in] ct_2 encryption of the second input bit
|
||||||
*/
|
*/
|
||||||
|
@ -160,7 +160,7 @@ class SchemeNTRU
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Computes the AND gate of two given ciphertexts ct1 and ct2
|
* 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_1 encryption of the first input bit
|
||||||
* @param[in] ct_2 encryption of the second 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
|
* 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_1 encryption of the first input bit
|
||||||
* @param[in] ct_2 encryption of the second input bit
|
* @param[in] ct_2 encryption of the second input bit
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user