Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/include/bindings.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//==================================================================================
// BSD 2-Clause License
//
// Copyright (c) 2014-2025, NJIT, Duality Technologies Inc. and other contributors
// Copyright (c) 2023-2025, Duality Technologies Inc. and other contributors
//
// All rights reserved.
//
Expand Down
19 changes: 11 additions & 8 deletions src/include/binfhe/binfhecontext_wrapper.h
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
//==================================================================================
// BSD 2-Clause License

// Copyright (c) 2023, OpenFHE

//
// Copyright (c) 2023-2025, Duality Technologies Inc. and other contributors
//
// All rights reserved.

//
// Author TPOC: contact@openfhe.org
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:

//
// 1. Redistributions of source code must retain the above copyright notice, this
// list of conditions and the following disclaimer.

//
// 2. Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the following disclaimer in the documentation
// and/or other materials provided with the distribution.

//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
Expand All @@ -24,7 +27,7 @@
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

//==================================================================================
#ifndef __BINFHECONTEXT_WRAPPER_H__
#define __BINFHECONTEXT_WRAPPER_H__

Expand Down
19 changes: 11 additions & 8 deletions src/include/binfhe_bindings.h
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
//==================================================================================
// BSD 2-Clause License

// Copyright (c) 2023, OpenFHE

//
// Copyright (c) 2023-2025, Duality Technologies Inc. and other contributors
//
// All rights reserved.

//
// Author TPOC: contact@openfhe.org
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:

//
// 1. Redistributions of source code must retain the above copyright notice, this
// list of conditions and the following disclaimer.

//
// 2. Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the following disclaimer in the documentation
// and/or other materials provided with the distribution.

//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
Expand All @@ -24,7 +27,7 @@
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

//==================================================================================
#ifndef __BINFHE_BINDINGS_H__
#define __BINFHE_BINDINGS_H__

Expand Down
19 changes: 11 additions & 8 deletions src/include/docstrings/binfhecontext_docs.h
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
//==================================================================================
// BSD 2-Clause License

// Copyright (c) 2023, OpenFHE

//
// Copyright (c) 2023-2025, Duality Technologies Inc. and other contributors
//
// All rights reserved.

//
// Author TPOC: contact@openfhe.org
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:

//
// 1. Redistributions of source code must retain the above copyright notice, this
// list of conditions and the following disclaimer.

//
// 2. Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the following disclaimer in the documentation
// and/or other materials provided with the distribution.

//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
Expand All @@ -24,7 +27,7 @@
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

//==================================================================================
#ifndef __BINFHECONTEXT_DOCS_H
#define __BINFHECONTEXT_DOCS_H

Expand Down
19 changes: 11 additions & 8 deletions src/include/docstrings/ciphertext_docs.h
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
//==================================================================================
// BSD 2-Clause License

// Copyright (c) 2023, OpenFHE

//
// Copyright (c) 2023-2025, Duality Technologies Inc. and other contributors
//
// All rights reserved.

//
// Author TPOC: contact@openfhe.org
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:

//
// 1. Redistributions of source code must retain the above copyright notice, this
// list of conditions and the following disclaimer.

//
// 2. Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the following disclaimer in the documentation
// and/or other materials provided with the distribution.

//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
Expand All @@ -24,7 +27,7 @@
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

//==================================================================================
#ifndef __CIPHERTEXT_DOCS_H__
#define __CIPHERTEXT_DOCS_H__

Expand Down
19 changes: 11 additions & 8 deletions src/include/docstrings/cryptocontext_docs.h
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
//==================================================================================
// BSD 2-Clause License

// Copyright (c) 2023, OpenFHE

//
// Copyright (c) 2023-2025, Duality Technologies Inc. and other contributors
//
// All rights reserved.

//
// Author TPOC: contact@openfhe.org
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:

//
// 1. Redistributions of source code must retain the above copyright notice, this
// list of conditions and the following disclaimer.

//
// 2. Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the following disclaimer in the documentation
// and/or other materials provided with the distribution.

//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
Expand All @@ -24,7 +27,7 @@
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

//==================================================================================
#ifndef __CRYPTOCONTEXT_DOCS_H__
#define __CRYPTOCONTEXT_DOCS_H__

Expand Down
19 changes: 11 additions & 8 deletions src/include/docstrings/cryptoparameters_docs.h
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
//==================================================================================
// BSD 2-Clause License

// Copyright (c) 2023, OpenFHE

//
// Copyright (c) 2023-2025, Duality Technologies Inc. and other contributors
//
// All rights reserved.

//
// Author TPOC: contact@openfhe.org
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:

//
// 1. Redistributions of source code must retain the above copyright notice, this
// list of conditions and the following disclaimer.

//
// 2. Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the following disclaimer in the documentation
// and/or other materials provided with the distribution.

//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
Expand All @@ -24,7 +27,7 @@
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

//==================================================================================
#ifndef __CRYPTOPARAMETERS_DOCS_H__
#define __CRYPTOPARAMETERS_DOCS_H__

Expand Down
19 changes: 11 additions & 8 deletions src/include/docstrings/plaintext_docs.h
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
//==================================================================================
// BSD 2-Clause License

// Copyright (c) 2023, OpenFHE

//
// Copyright (c) 2023-2025, Duality Technologies Inc. and other contributors
//
// All rights reserved.

//
// Author TPOC: contact@openfhe.org
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:

//
// 1. Redistributions of source code must retain the above copyright notice, this
// list of conditions and the following disclaimer.

//
// 2. Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the following disclaimer in the documentation
// and/or other materials provided with the distribution.

//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
Expand All @@ -24,7 +27,7 @@
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

//==================================================================================
#ifndef __PLAINTEXT_DOCS_H__
#define __PLAINTEXT_DOCS_H__

Expand Down
2 changes: 1 addition & 1 deletion src/include/pke/cryptocontext_wrapper.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//==================================================================================
// BSD 2-Clause License
//
// Copyright (c) 2014-2025, NJIT, Duality Technologies Inc. and other contributors
// Copyright (c) 2023-2025, Duality Technologies Inc. and other contributors
//
// All rights reserved.
//
Expand Down
2 changes: 1 addition & 1 deletion src/include/pke/serialization.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//==================================================================================
// BSD 2-Clause License
//
// Copyright (c) 2014-2025, NJIT, Duality Technologies Inc. and other contributors
// Copyright (c) 2023-2025, Duality Technologies Inc. and other contributors
//
// All rights reserved.
//
Expand Down
4 changes: 3 additions & 1 deletion src/lib/bindings.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//==================================================================================
// BSD 2-Clause License
//
// Copyright (c) 2014-2025, NJIT, Duality Technologies Inc. and other contributors
// Copyright (c) 2023-2025, Duality Technologies Inc. and other contributors
//
// All rights reserved.
//
Expand Down Expand Up @@ -772,6 +772,8 @@ void bind_crypto_context(py::module &m)
py::arg("towersLeft"))
.def("EvalMultMany", &CryptoContextImpl<DCRTPoly>::EvalMultMany,
py::arg("ciphertextVec"))
.def("EvalAddMany", &CryptoContextImpl<DCRTPoly>::EvalAddMany,
py::arg("ciphertextVec"))
.def("EvalAddManyInPlace", &CryptoContextImpl<DCRTPoly>::EvalAddManyInPlace,
py::arg("ciphertextVec"))
.def("FindAutomorphismIndex", &CryptoContextImpl<DCRTPoly>::FindAutomorphismIndex,
Expand Down
19 changes: 11 additions & 8 deletions src/lib/binfhe/binfhecontext_wrapper.cpp
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
//==================================================================================
// BSD 2-Clause License

// Copyright (c) 2023, OpenFHE

//
// Copyright (c) 2023-2025, Duality Technologies Inc. and other contributors
//
// All rights reserved.

//
// Author TPOC: contact@openfhe.org
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:

//
// 1. Redistributions of source code must retain the above copyright notice, this
// list of conditions and the following disclaimer.

//
// 2. Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the following disclaimer in the documentation
// and/or other materials provided with the distribution.

//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
Expand All @@ -24,7 +27,7 @@
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

//==================================================================================
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <openfhe.h>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/binfhe_bindings.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//==================================================================================
// BSD 2-Clause License
//
// Copyright (c) 2014-2025, NJIT, Duality Technologies Inc. and other contributors
// Copyright (c) 2023-2025, Duality Technologies Inc. and other contributors
//
// All rights reserved.
//
Expand Down
2 changes: 1 addition & 1 deletion src/lib/pke/cryptocontext_wrapper.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//==================================================================================
// BSD 2-Clause License
//
// Copyright (c) 2014-2025, NJIT, Duality Technologies Inc. and other contributors
// Copyright (c) 2023-2025, Duality Technologies Inc. and other contributors
//
// All rights reserved.
//
Expand Down
2 changes: 1 addition & 1 deletion src/lib/pke/serialization.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//==================================================================================
// BSD 2-Clause License
//
// Copyright (c) 2014-2025, NJIT, Duality Technologies Inc. and other contributors
// Copyright (c) 2023-2025, Duality Technologies Inc. and other contributors
//
// All rights reserved.
//
Expand Down