Implement new, high-performance cipher in native code. Currently available only for Linux-x64, other platforms will fallback to Java cipher.

This commit is contained in:
ninja-
2013-11-05 09:38:16 +01:00
committed by md_5
parent aaa8b4a53d
commit fc189e81d5
18 changed files with 499 additions and 69 deletions

3
native/compile-native.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
gcc -shared -fPIC -O3 -Werror -I/usr/lib/jvm/default-java/include/ src/main/c/NativeCipherImpl.c -o src/main/resources/native-cipher.so -lcrypto