Commit ab6887d8 authored by Max Lv's avatar Max Lv

Get openssl works now

parent 95ab2cd5
...@@ -61,7 +61,7 @@ cargo { ...@@ -61,7 +61,7 @@ cargo {
targetIncludes = ['libsslocal.so'] targetIncludes = ['libsslocal.so']
extraCargoBuildArguments = ['--bin', 'sslocal'] extraCargoBuildArguments = ['--bin', 'sslocal']
features { features {
noDefaultBut "sodium", "android" noDefaultBut "sodium", "android", "rc4", "aes-cfb", "aes-ctr", "camellia-cfb", "openssl-vendored"
} }
exec { spec, toolchain -> exec { spec, toolchain ->
spec.environment("RUSTFLAGS", "-C link-arg=-o -C link-arg=target/${toolchain.target}/${profile}/libsslocal.so") spec.environment("RUSTFLAGS", "-C link-arg=-o -C link-arg=target/${toolchain.target}/${profile}/libsslocal.so")
......
...@@ -2,7 +2,22 @@ ...@@ -2,7 +2,22 @@
<resources> <resources>
<string-array name="enc_method_entry" translatable="false"> <string-array name="enc_method_entry" translatable="false">
<item>PLAIN</item> <item>PLAIN</item>
<item>RC4-MD5</item>
<item>AES-128-CFB</item>
<item>AES-192-CFB</item>
<item>AES-256-CFB</item>
<item>AES-128-CTR</item>
<item>AES-192-CTR</item>
<item>AES-256-CTR</item>
<item>BF-CFB</item>
<item>CAMELLIA-128-CFB</item>
<item>CAMELLIA-192-CFB</item>
<item>CAMELLIA-256-CFB</item>
<item>SALSA20</item>
<item>CHACHA20</item>
<item>CHACHA20-IETF</item>
<item>AES-128-GCM</item> <item>AES-128-GCM</item>
<item>AES-192-GCM</item>
<item>AES-256-GCM</item> <item>AES-256-GCM</item>
<item>CHACHA20-IETF-POLY1305</item> <item>CHACHA20-IETF-POLY1305</item>
<item>XCHACHA20-IETF-POLY1305</item> <item>XCHACHA20-IETF-POLY1305</item>
...@@ -10,7 +25,22 @@ ...@@ -10,7 +25,22 @@
<string-array name="enc_method_value" translatable="false"> <string-array name="enc_method_value" translatable="false">
<item>plain</item> <item>plain</item>
<item>rc4-md5</item>
<item>aes-128-cfb</item>
<item>aes-192-cfb</item>
<item>aes-256-cfb</item>
<item>aes-128-ctr</item>
<item>aes-192-ctr</item>
<item>aes-256-ctr</item>
<item>bf-cfb</item>
<item>camellia-128-cfb</item>
<item>camellia-192-cfb</item>
<item>camellia-256-cfb</item>
<item>salsa20</item>
<item>chacha20</item>
<item>chacha20-ietf</item>
<item>aes-128-gcm</item> <item>aes-128-gcm</item>
<item>aes-192-gcm</item>
<item>aes-256-gcm</item> <item>aes-256-gcm</item>
<item>chacha20-ietf-poly1305</item> <item>chacha20-ietf-poly1305</item>
<item>xchacha20-ietf-poly1305</item> <item>xchacha20-ietf-poly1305</item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment