summaryrefslogtreecommitdiff
path: root/lib/crypto/test
Commit message (Collapse)AuthorAgeFilesLines
* crypto/test: Update check for crypto startedHans Nilsson2020-05-202-2/+11
|
* crypto/test: Re-write testsHans Nilsson2020-05-191-200/+119
|
* crypto/test: Better loggingHans Nilsson2020-05-191-6/+5
|
* crypto/test: Add logging to rsa encrypt/decryptHans Nilsson2020-05-191-0/+21
|
* crypto/test: Fresh-up ecdh and add eddh groupsHans Nilsson2020-05-191-15/+26
|
* crypto/test: Better coverage for edward curvesHans Nilsson2020-05-191-9/+53
|
* crypto/test: Minor fixesHans Nilsson2020-05-191-18/+23
|
* crypto/test: Remove bad option in rsa enc/dec testHans Nilsson2020-05-191-2/+3
| | | | The padding rsa_x931_padding is not valid for enc/dec. This was not reported as an error on openssl < 3.0
* crypto: No deprecated warnings for crypto itselfHans Nilsson2020-03-212-0/+24
|
* Merge branch 'maint'Rickard Green2020-03-138-8/+8
|\ | | | | | | | | * maint: Update copyright year
| * Update copyright yearRickard Green2020-03-138-8/+8
| |
* | Merge branch 'maint'Hans Nilsson2020-02-193-3/+19
|\ \ | |/ | | | | | | * maint: crypto: Handle non-existent cryptolib in test suites
| * crypto: Handle non-existent cryptolib in test suitesHans Nilsson2020-02-193-3/+19
| |
* | crypto: Add a crypto_get_data/1 and update crypto_final/1Hans Nilsson2020-02-032-2/+4
| | | | | | | | | | | | crypto_final/1 now always return a binary (or error msg). If the number of padding bytes is wanted, a call to the new crypto_get_data/1 will fix that.
* | crypto: Fix proptest errorsHans Nilsson2020-01-092-1/+3
| |
* | Merge branch 'maint'Hans Nilsson2020-01-094-71/+210
|\ \ | |/ | | | | | | | | | | | | | | * maint: ssh: Use the new proptest include file ssh: Use new ct_property_test reporting crypto: Use the new proptest incl file crypto: Proptest cuddling crypto: Exports in test support
| * crypto: Use the new proptest incl fileHans Nilsson2020-01-073-88/+3
| |
| * crypto: Proptest cuddlingHans Nilsson2020-01-073-11/+226
| |
| * crypto: Exports in test supportHans Nilsson2020-01-071-1/+11
| |
* | crypto: Add the custom otp_padding() zero and randomHans Nilsson2019-12-051-0/+1
| |
* | crypto: Add crypto_final/1 and paddingHans Nilsson2019-12-055-40/+153
| | | | | | | | Add padding 'none' and 'pkcs_padding'.
* | Merge branch 'maint'Hans Nilsson2019-11-274-32/+180
|\ \ | |/ | | | | | | | | * maint: crypto: Add prop__crypto_init_update to property tests crypto: New common libfile for property tests in crypto
| * crypto: Add prop__crypto_init_update to property testsHans Nilsson2019-11-212-3/+51
| |
| * crypto: New common libfile for property tests in cryptoHans Nilsson2019-11-213-30/+130
| |
* | Merge branch 'maint'Hans Nilsson2019-11-191-25/+158
|\ \ | |/ | | | | | | | | | | * maint: crypto/test: Make aead test with api_ng crypto/test: Test enc/dec with 0 bytes crypto/test: Better FIPS check in test suite
| * crypto/test: Make aead test with api_ngHans Nilsson2019-11-191-8/+104
| |
| * crypto/test: Test enc/dec with 0 bytesHans Nilsson2019-11-191-2/+22
| | | | | | | | known to core dump on early 0.9.8 cryptolibs
| * crypto/test: Better FIPS check in test suiteHans Nilsson2019-11-191-15/+32
| |
* | Merge branch 'maint'Hans Nilsson2019-10-311-7/+56
|\ \ | |/ | | | | | | | | | | * maint: crypto: Write some comments crypto: Fix chacha20_poly1305 decode bug crypto: Test that bad AEAD tag indicates error
| * Merge branch 'hans/crypto/chacha20_poly1305_fix_tag_bug/ERL-1078/OTP-16242' ↵Hans Nilsson2019-10-311-7/+56
| |\ | | | | | | | | | | | | | | | | | | | | | | | | into maint * hans/crypto/chacha20_poly1305_fix_tag_bug/ERL-1078/OTP-16242: crypto: Write some comments crypto: Fix chacha20_poly1305 decode bug crypto: Test that bad AEAD tag indicates error
| | * crypto: Test that bad AEAD tag indicates errorHans Nilsson2019-10-301-7/+56
| | |
* | | Merge branch 'maint'Hans Nilsson2019-10-303-0/+167
|\ \ \ | |/ / | | | | | | | | | * maint: crypto: Property test suite
| * | crypto: Property test suiteHans Nilsson2019-10-283-0/+167
| | |
* | | Merge branch 'maint'Hans Nilsson2019-10-231-1/+60
|\ \ \ | |/ / | | | | | | | | | * maint: crypto: Testcases for bad algorithm names
| * | Merge branch 'hans/crypto/cuddle_tests' into maintHans Nilsson2019-10-231-1/+60
| |\ \ | | | | | | | | | | | | | | | | * hans/crypto/cuddle_tests: crypto: Testcases for bad algorithm names
| | * | crypto: Testcases for bad algorithm namesHans Nilsson2019-10-211-1/+60
| | |/
* | | Merge branch 'maint'Hans Nilsson2019-10-071-13/+11
|\ \ \ | |/ / | | | | | | | | | * maint: crypto: Make aes_*_cfb8 and aes_*_cfb128 FIPS enabled
| * | crypto: Make aes_*_cfb8 and aes_*_cfb128 FIPS enabledHans Nilsson2019-10-021-13/+11
| |/
* | Fix test of x448 & x25519 curvesBernard Kolobara2019-07-301-26/+20
| |
* | Add ED25519 & ED448 support to crypto:generate_keyBernard Kolobara2019-07-221-6/+36
|/
* crypto: Begin test of the new mac interface directly.Hans Nilsson2019-06-141-0/+19
|
* crypto: Re-structure cmac and hmac test vector handlingHans Nilsson2019-06-141-110/+163
| | | | as a preparation for a unified cmac and hmac test case.
* crypto: Enable CMAC tests for aes-128-cbc and aes-256-cbcHans Nilsson2019-06-141-9/+8
|
*-. Merge branches 'hans/crypto/new_supports_1/OTP-15771', ↵Hans Nilsson2019-04-181-9/+69
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'hans/ssh/new_supports', 'hans/crypto/remove_warnings' and 'hans/ssh/remove_warnings' * hans/crypto/new_supports_1/OTP-15771: crypto: New function supports/1 * hans/ssh/new_supports: ssh: Use new api for aead ciphers ssh: Use correct names of ciphers * hans/crypto/remove_warnings: ssh: Fix deprecation warnings in tests crypto: Remove unused var warning in tests * hans/ssh/remove_warnings: ssh: Fix deprecation warnings in tests ssh: Remove unused function warning in tests ssh: Remove unused var warning in tests ssh: Remove unused var warning
| | * ssh: Fix deprecation warnings in testsHans Nilsson2019-04-171-1/+1
| | |
| | * crypto: Remove unused var warning in testsHans Nilsson2019-04-171-1/+1
| |/ |/|
| * crypto: New function supports/1Hans Nilsson2019-04-171-7/+67
|/ | | | Takes argument hashs, public_keys, ciphers, macs, curves or rsa_opts. Returns the algorithm names, but ONLY the openssl names. supports/0 still returns aliases and misspellings.
* crypto: Rename 'crypto_(init|update)_dyn_iv' to 'crypto_dyn_iv_(init|update)'Hans Nilsson2019-04-111-6/+6
|
* crypto: Rename crypto_aead to crypto_one_time_aeadHans Nilsson2019-04-111-1/+1
|
* crypto: Obey compile flags for no DSA, BF, DES, DHHans Nilsson2019-04-101-2/+28
|