md_5
7dd09289ee
Update native-cipher to mbedtls 2.15.1
2018-12-21 11:01:35 +11:00
md_5
a5ffeae757
Replace OpenSSL native cipher with static mbed TLS for maximum compat
2017-06-29 08:52:13 +10:00
md_5
b4997f6379
Add better exception handling for native code.
2015-02-08 09:11:52 +11:00
md_5
0d569ac0d1
Refactor native code and implement our own JNI wrapper around zlib.
...
The previous native cipher code has been refactored so that it may be loaded and used slightly more generically, allowing more native components to be easily added as time goes on.
I have also written a new native code compression module, which wraps around zlib in the same manner that Inflater / Deflater does, however it operates directly on the memory addresses of it's input / output buffers which means that we can save one, or maybe even two copies. To support this, the VarInt decoder has been adjusted to always use a native buffer.
2015-02-07 14:06:41 +11:00
md_5
02cb1fc65b
Allocate cipher with EVP_CIPHER_CTX_new. Thanks @Adam- for the tip.
2014-07-02 12:57:17 +10:00
md_5
7318750ed0
Update native cipher to make use of the OpenSSL EVP API so that it can actually utilise hardware acceleration and other goodies.
...
Whereas before OpenSSL would often lose benchmarks now it always wins.
2014-07-01 20:13:30 +10:00
md_5
0b7789035f
Revert as its unstable anyway.
2014-02-12 18:02:02 +11:00
md_5
3f7850dc5a
Clean up JNI code, add stack trace to check up on Jenkins test.
2014-02-12 17:43:49 +11:00
md_5
2e80bf30dd
Various improvements to native cipher so that it now actually destroys Java in terms of speed. Closes #871 - thanks @ninja-
2014-02-12 17:37:08 +11:00
md_5
a0cc5d84be
Add explicit casts to make clang support easier - see #755
2014-02-02 10:15:19 +11:00
md_5
94ee61cd35
Native cipher, with more smoke tests!
2013-11-19 07:16:06 +11:00
md_5
897a59254c
Still segfaulting.
2013-11-18 20:00:15 +11:00
ninja-
c70006a36c
Implement new, high-performance cipher in native code. Currently available only for Linux-x64, other platforms will fallback to Java cipher.
2013-11-18 07:17:14 +11:00
md_5
12ef019d69
Revert native cipher, causing SIGSEGV
2013-11-17 16:51:11 +11:00
ninja-
fc189e81d5
Implement new, high-performance cipher in native code. Currently available only for Linux-x64, other platforms will fallback to Java cipher.
2013-11-17 15:59:18 +11:00