Project

General

Profile

Feature #897

Add crypto++ as a prebuild library

Added by Alex Afanasyev over 4 years ago. Updated over 4 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
02/09/2015
Due date:
% Done:

0%

Estimated time:
CPU Architecture:
Host OS:
Toolchain:
Android version:

Description

This is totally selfish suggestion, which would simplify my own project :-D I have made a repository that I'm currently using as a submodule, but it can be adapted to create a prebuild library: https://github.com/cawka/cryptopp/tree/android

History

#1

Updated by Dmitry Moskalchuk over 4 years ago

Alex Afanasyev wrote:

This is totally selfish suggestion, which would simplify my own project :-D I have made a repository that I'm currently using as a submodule, but it can be adapted to create a prebuild library: https://github.com/cawka/cryptopp/tree/android

Thanks for suggestion, we'll definitely do it. Good working example is a big help for us.

#2

Updated by Alex Afanasyev over 4 years ago

Just a small note about the example. There is -DCRYPTOPP_DISABLE_ASM -DCRYPTOPP_DISABLE_SSSE3 -DCRYPTOPP_DISABLE_AESNI set in Android.mk. These are really necessary only for x86_64 platform (the only one that could have had some asm optimizations) because of some changes in gcc 4.9. Unfortunately, cryptopp hasn't caught up with the changes yet... It is kind of safe to keep these constants defined for other platforms as well, as it wouldn't matter for them.

Also available in: Atom PDF