mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
5ccada09aa
Changed many tests so they also test fips (and removed 'availablein = default' from some tests). Seperated the monolithic evppkey.txt file into smaller maintainable groups. Changed the availablein option so it must be first - this then skips the entire test before any fetching happens. Changed the code so that all the OPENSSL_NO_XXXX tests are done in code via methods such as is_cipher_disabled(alg), before the fetch happens. Added missing libctx's found by adding a libctx to test_evp. Broke up large data files for cipher, kdf's and mac's into smaller pieces so they no longer need 'AvailableIn = default' Added missing algorithm aliases for cipher/digests to the providers. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12236)
53 lines
1.7 KiB
Plaintext
53 lines
1.7 KiB
Plaintext
#
|
|
# Copyright 2001-2020 The OpenSSL Project Authors. All Rights Reserved.
|
|
#
|
|
# Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
# this file except in compliance with the License. You can obtain a copy
|
|
# in the file LICENSE in the source distribution or at
|
|
# https://www.openssl.org/source/license.html
|
|
|
|
# Tests start with one of these keywords
|
|
# Cipher Decrypt Derive Digest Encoding KDF MAC PBE
|
|
# PrivPubKeyPair Sign Verify VerifyRecover
|
|
# and continue until a blank line. Lines starting with a pound sign are ignored.
|
|
|
|
Title = scrypt tests (from draft-josefsson-scrypt-kdf-03 and others) Using PBE
|
|
|
|
PBE = scrypt
|
|
Password = ""
|
|
Salt = ""
|
|
N = 16
|
|
r = 1
|
|
p = 1
|
|
Key = 77d6576238657b203b19ca42c18a0497f16b4844e3074ae8dfdffa3fede21442fcd0069ded0948f8326a753a0fc81f17e8d3e0fb2e0d3628cf35e20c38d18906
|
|
|
|
PBE = scrypt
|
|
Password = "password"
|
|
Salt = "NaCl"
|
|
N = 1024
|
|
r = 8
|
|
p = 16
|
|
Key = fdbabe1c9d3472007856e7190d01e9fe7c6ad7cbc8237830e77376634b3731622eaf30d92e22a3886ff109279d9830dac727afb94a83ee6d8360cbdfa2cc0640
|
|
|
|
PBE = scrypt
|
|
Password = "pleaseletmein"
|
|
Salt = "SodiumChloride"
|
|
N = 16384
|
|
r = 8
|
|
p = 1
|
|
Key = 7023bdcb3afd7348461c06cd81fd38ebfda8fbba904f8e3ea9b543f6545da1f2d5432955613f0fcf62d49705242a9af9e61e85dc0d651e40dfcf017b45575887
|
|
|
|
# NB: this test requires more than 1GB of memory to run so it will hit the
|
|
# scrypt memory limit and return an error. To run this test without error
|
|
# uncomment out the "maxmem" line and comment out the "Result"
|
|
# line
|
|
PBE = scrypt
|
|
Password = "pleaseletmein"
|
|
Salt = "SodiumChloride"
|
|
N = 1048576
|
|
r = 8
|
|
p = 1
|
|
Key = 2101cb9b6a511aaeaddbbe09cf70f881ec568d574a2ffd4dabe5ee9820adaa478e56fd8f4ba5d09ffa1c6d927c40f4c337304049e8a952fbcbf45c6fa77a41a4
|
|
Result = SCRYPT_ERROR
|
|
#maxmem = 10000000000
|