Skip to content

Commit

Permalink
HElib v2.1.0 release update
Browse files Browse the repository at this point in the history
HElib v2.1.0 release update
(tagged as v2.1.0)

- Deprecated APIs
  - Documentation update: deprecated list
  - Marked functions as deprecated
  - Updated examples
- Documentation update: PtxtArray JSON IO
- Bug fixes
  • Loading branch information
faberga authored Mar 5, 2021
2 parents 0cc25e0 + e064369 commit 39fde87
Show file tree
Hide file tree
Showing 16 changed files with 37 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2020 IBM Corp.
# Copyright (C) 2020-2021 IBM Corp.
# This program is Licensed under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
Expand Down
11 changes: 11 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
Release Changes
===============

HElib 2.1.0, March 2021
=========================
(tagged as v2.1.0)

* Deprecated APIs
* Documentation update: deprecated list
* Marked functions as deprecated
* Updated examples
* Documentation update: PtxtArray JSON IO
* Bug fixes

HElib 2.0.0, January 2021
=========================
(tagged as v2.0.0)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.0
2.1.0
2 changes: 1 addition & 1 deletion ci/install_deps.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

# Copyright (C) 2020 IBM Corp.
# Copyright (C) 2020-2021 IBM Corp.
# This program is Licensed under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion examples/BGV_packed_arithmetic/BGV_packed_arithmetic.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2019-2020 IBM Corp.
/* Copyright (C) 2019-2021 IBM Corp.
* This program is Licensed under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion include/helib/Ctxt.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2012-2020 IBM Corp.
/* Copyright (C) 2012-2021 IBM Corp.
* This program is Licensed under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion include/helib/EncryptedArray.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2012-2020 IBM Corp.
/* Copyright (C) 2012-2021 IBM Corp.
* This program is Licensed under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion include/helib/FHE.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2012-2019 IBM Corp.
/* Copyright (C) 2012-2021 IBM Corp.
* This program is Licensed under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion include/helib/Ptxt.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2019-2020 IBM Corp.
/* Copyright (C) 2019-2021 IBM Corp.
* This program is Licensed under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion include/helib/keys.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2012-2020 IBM Corp.
/* Copyright (C) 2012-2021 IBM Corp.
* This program is Licensed under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
Expand Down
24 changes: 12 additions & 12 deletions misc/psi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,22 @@ columns, where the data can be seen in bold

<pre>
2 4
{"HElibVersion":"2.0.0","content":{"scheme":"BGV","slots":<b>[[0,1],[2,3],[4,5]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
{"HElibVersion":"2.0.0","content":{"scheme":"BGV","slots":<b>[[0],[0],[0]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
{"HElibVersion":"2.0.0","content":{"scheme":"BGV","slots":<b>[[6,7],[8,9],[10,11]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
{"HElibVersion":"2.0.0","content":{"scheme":"BGV","slots":<b>[[1],[1],[1]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
{"HElibVersion":"2.0.0","content":{"scheme":"BGV","slots":<b>[[12,13],[14,15],[16,17]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
{"HElibVersion":"2.0.0","content":{"scheme":"BGV","slots":<b>[[2],[2],[2]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
{"HElibVersion":"2.0.0","content":{"scheme":"BGV","slots":<b>[[18,19],[0],[0]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
{"HElibVersion":"2.0.0","content":{"scheme":"BGV","slots":<b>[[3],[3],[3]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
{"HElibVersion":"2.1.0","content":{"scheme":"BGV","slots":<b>[[0,1],[2,3],[4,5]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
{"HElibVersion":"2.1.0","content":{"scheme":"BGV","slots":<b>[[0],[0],[0]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
{"HElibVersion":"2.1.0","content":{"scheme":"BGV","slots":<b>[[6,7],[8,9],[10,11]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
{"HElibVersion":"2.1.0","content":{"scheme":"BGV","slots":<b>[[1],[1],[1]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
{"HElibVersion":"2.1.0","content":{"scheme":"BGV","slots":<b>[[12,13],[14,15],[16,17]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
{"HElibVersion":"2.1.0","content":{"scheme":"BGV","slots":<b>[[2],[2],[2]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
{"HElibVersion":"2.1.0","content":{"scheme":"BGV","slots":<b>[[18,19],[0],[0]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
{"HElibVersion":"2.1.0","content":{"scheme":"BGV","slots":<b>[[3],[3],[3]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
</pre>
and an example query
<pre>
1 4
{"HElibVersion":"2.0.0","content":{"scheme":"BGV","slots":<b>[[0,1],[2,3],[4,5]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
{"HElibVersion":"2.0.0","content":{"scheme":"BGV","slots":<b>[[6,7],[8,9],[10,11]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
{"HElibVersion":"2.0.0","content":{"scheme":"BGV","slots":<b>[[12,13],[14,15],[16,17]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
{"HElibVersion":"2.0.0","content":{"scheme":"BGV","slots":<b>[[18,19],[0],[0]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
{"HElibVersion":"2.1.0","content":{"scheme":"BGV","slots":<b>[[0,1],[2,3],[4,5]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
{"HElibVersion":"2.1.0","content":{"scheme":"BGV","slots":<b>[[6,7],[8,9],[10,11]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
{"HElibVersion":"2.1.0","content":{"scheme":"BGV","slots":<b>[[12,13],[14,15],[16,17]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
{"HElibVersion":"2.1.0","content":{"scheme":"BGV","slots":<b>[[18,19],[0],[0]]</b>},"serializationVersion":"0.0.1","type":"Ptxt"}
</pre>

Make sure you are in the directory `<path-to-HElib>/HElib/misc/psi/test`
Expand Down
2 changes: 1 addition & 1 deletion src/Ctxt.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2012-2020 IBM Corp.
/* Copyright (C) 2012-2021 IBM Corp.
* This program is Licensed under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion src/EaCx.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2012-2020 IBM Corp.
/* Copyright (C) 2012-2021 IBM Corp.
* This program is Licensed under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCKKS.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2019-2020 IBM Corp.
/* Copyright (C) 2019-2021 IBM Corp.
* This program is Licensed under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCtxt.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2020 IBM Corp.
/* Copyright (C) 2020-2021 IBM Corp.
* This program is Licensed under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion tests/TestPtxt.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2019-2020 IBM Corp.
/* Copyright (C) 2019-2021 IBM Corp.
* This program is Licensed under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
Expand Down

0 comments on commit 39fde87

Please sign in to comment.