Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AES build errors #352

Open
imtiyazuddin opened this issue May 4, 2020 · 5 comments
Open

AES build errors #352

imtiyazuddin opened this issue May 4, 2020 · 5 comments

Comments

@imtiyazuddin
Copy link

Your Contact: [email protected]
Your environment (OS/HW): Ubuntu 18.04, amd64
Detailed Description:
make in aes folder is failing with following error

error: ‘helib’ has not been declared
throw helib::InvalidArgument("Invalid key size: " + std::to_string(NN));
^~~~~
/home/imtiyazuddin/Ubuntu/HElib/src/aes/simpleAES.cpp:133:62: error: ‘to_string’ is not a member of ‘std’
throw helib::InvalidArgument("Invalid key size: " + std::to_string(NN));
^~~~~~~~~
src/aes/CMakeFiles/TEST_AES.dir/build.make:65: recipe for target 'src/aes/CMakeFiles/TEST_AES.dir/simpleAES.cpp.o' failed
make[2]: *** [src/aes/CMakeFiles/TEST_AES.dir/simpleAES.cpp.o] Error 1
CMakeFiles/Makefile2:143: recipe for target 'src/aes/CMakeFiles/TEST_AES.dir/all' failed
make[1]: *** [src/aes/CMakeFiles/TEST_AES.dir/all] Error 2
Makefile:132: recipe for target 'all' failed
make: *** [all] Error 2

@imtiyazuddin
Copy link
Author

somebody? anybody?

@boev
Copy link
Contributor

boev commented May 13, 2020

Hello,

my guess would be to simply look at /usr/local/lib and /usr/lib and see if the library is there.

Also use ldconfig command in linux. It can be used to see if and where a library is found and a good start would be to purge its cache and let it rebuild.

Open /etc/ld.so.conf and see if the directory (probably /usr/local/lib) is added. You can add it yourself and then run ldconfig in the console, or you can remove /etc/ld.so.conf and run ldconfig to rebuild it.

Hope this helps.

@imtiyazuddin
Copy link
Author

ok thanks

@imtiyazuddin
Copy link
Author

I feel the AES implementation APIs are not updated to reflect latest changes in the recent versions of library which include CKKS scheme as well. Will the AES implementation work for CKKS ciphertext as well??

@WeiBenqiang
Copy link

WeiBenqiang commented Jul 7, 2020

I have found aes_compatible vertion:#343 .It does work.
I think CKKS could not work,because it's an approximate homomorphic encrytion scheme,it will cause some small errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants