Skip to content

Commit

Permalink
Add new EvalMult methods to docs (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
sloede authored Jan 16, 2024
1 parent b1a88a4 commit c76d1eb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/documentation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,18 @@ EvalSub

"""
EvalMult(crypto_context::CryptoContext, ciphertext1::Ciphertext, ciphertext2::Ciphertext)
EvalMult(crypto_context::CryptoContext, ciphertext::Ciphertext, plaintext::Plaintext)
EvalMult(crypto_context::CryptoContext, plaintext::Plaintext, ciphertext::Ciphertext)
EvalMult(crypto_context::CryptoContext, ciphertext::Ciphertext, scalar::Real)
EvalMult(crypto_context::CryptoContext, scalar::Real, ciphertext::Ciphertext)
Multiply `ciphertext1` with `ciphertext2` and return the resulting [`Ciphertext`](@ref).
Both input ciphertexts need to be derived from the given `crypto_context`.
Multiply `ciphertext` with the `plaintext` and return the resulting
[`Ciphertext`](@ref). The input ciphertext needs to be derived from the given
`crypto_context`, while the plaintext needs to be encoded in a compatible manner
Multiply `ciphertext` with the real-valued `scalar` and return the resulting
[`Ciphertext`](@ref). The input ciphertext needs to be derived from the given
`crypto_context`.
Expand Down

0 comments on commit c76d1eb

Please sign in to comment.