diff options
author | Raimo Niskanen <[email protected]> | 2016-10-04 15:22:17 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2016-10-04 15:22:17 +0200 |
commit | eaa61ca7e0100bdad0a53b79b010e6363a5a3cb9 (patch) | |
tree | 3322f7a0e6568e86f13277cb581ee23e0814eaf3 /lib/crypto/test | |
parent | 43319147e3aa0145303dcb5bd9799b4766618afa (diff) | |
parent | 634d26929bb5852958870a7b18f67b4b8702bfa2 (diff) | |
download | otp-eaa61ca7e0100bdad0a53b79b010e6363a5a3cb9.tar.gz otp-eaa61ca7e0100bdad0a53b79b010e6363a5a3cb9.tar.bz2 otp-eaa61ca7e0100bdad0a53b79b010e6363a5a3cb9.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/crypto/test')
-rw-r--r-- | lib/crypto/test/old_crypto_SUITE.erl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/crypto/test/old_crypto_SUITE.erl b/lib/crypto/test/old_crypto_SUITE.erl index 4a6753b2ed..324ed39c6d 100644 --- a/lib/crypto/test/old_crypto_SUITE.erl +++ b/lib/crypto/test/old_crypto_SUITE.erl @@ -1080,7 +1080,9 @@ rc2_cbc(doc) -> "Encrypt and decrypt according to RC2 CBC and check the result. " "Example stripped out from public_key application test"; rc2_cbc(Config) when is_list(Config) -> - + if_supported(rc2_cbc, fun rc2_cbc_do/0). + +rc2_cbc_do() -> Key = <<146,210,160,124,215,227,153,239,227,17,222,140,3,93,27,191>>, IV = <<72,91,135,182,25,42,35,210>>, @@ -2117,6 +2119,9 @@ rc4_test(doc) -> rc4_test(suite) -> []; rc4_test(Config) when is_list(Config) -> + if_supported(rc4, fun rc4_test_do/0). + +rc4_test_do() -> CT1 = <<"Yo baby yo">>, R1 = <<118,122,68,110,157,166,141,212,139,39>>, K = "apaapa", @@ -2132,6 +2137,9 @@ rc4_stream_test(doc) -> rc4_stream_test(suite) -> []; rc4_stream_test(Config) when is_list(Config) -> + if_supported(rc4, fun rc4_stream_test_do/0). + +rc4_stream_test_do() -> CT1 = <<"Yo ">>, CT2 = <<"baby yo">>, K = "apaapa", |