Changes On Branch 94f8408d0d20d008

Changes In Branch crypto Through [94f8408d0d] Excluding Merge-Ins

This is equivalent to a diff from c498845865 to 94f8408d0d

2023-12-29
03:09
Merged in dh branch check-in: 594dfd3195 user: bohagan tags: trunk
2023-12-28
20:01
Created DH branch check-in: 22f9df2429 user: bohagan tags: dh
2023-12-25
02:04
Added KDF test cases check-in: 4cc32676a2 user: bohagan tags: crypto
2023-12-24
22:57
Moved common get cipher, digest, etc. functions to tlsUtil.c file. Renamed tlsKey.c to tlsKDF.c to better reflect contents. Standardized error messages. check-in: 94f8408d0d user: bohagan tags: crypto
06:36
Added MAC test vectors. Added all.tcl files to each test subdirectory so all tests run. Updated Hash and KDF test vectors to add missing cleanupTests. Corrected bug with using dash in constraints. Added constraints for ciphers, digests, and kdfs. check-in: feef0d0cef user: bohagan tags: crypto
2023-12-21
20:15
Merged in master changes check-in: 265ace08fe user: bohagan tags: crypto
19:56
Optimized Init stub load and package require. Use general pkhIndex.tcl file. check-in: c498845865 user: bohagan tags: trunk
2023-12-11
10:37
Updated to latest tclconfig changes check-in: 98e3157245 user: bohagan tags: trunk

Modified configure from [4c56eae107] to [5d330fed91].    [diff]

Modified configure.ac from [ac9d3aa5eb] to [f02a7eeac0].    [diff]

Added doc/cryptography.html version [b22c8f2c44].

Added doc/docs.css version [0ab4787813].

Modified doc/tls.html from [ec5645fd47] to [12b4e9e9d7].    [diff]

Modified generic/tclOpts.h from [fee5089a30] to [6a496a0d8f].    [diff]

Modified generic/tls.c from [42a5997f51] to [578f1e1218].    [diff]

Modified generic/tlsBIO.c from [904acc3cbd] to [3977ec0a04].    [diff]

Added generic/tlsDigest.c version [f2bddde2af].

Added generic/tlsEncrypt.c version [f6412740bf].

Modified generic/tlsIO.c from [fb8d969c33] to [0b06e53585].    [diff]

Added generic/tlsInfo.c version [b61000448f].

Modified generic/tlsInt.h from [0103fefac9] to [8236808b5c].    [diff]

Added generic/tlsKDF.c version [2e942636f4].

Added generic/tlsUtil.c version [8f89b37f61].

Modified generic/tlsX509.c from [37e1c520a1] to [ead2e837f3].    [diff]

Modified tests/all.tcl from [b91d386182] to [645653fd10].    [diff]

Modified tests/badssl.csv from [8df90efe9b] to [3b4cb80289].    [diff]

Modified tests/badssl.test from [66893a8fa7] to [ef286e344c].    [diff]

Deleted tests/ciphers.csv version [f4aff3652a].

Deleted tests/ciphers.test version [212c1bf055].

Added tests/common.tcl version [019f917847].

Added tests/digest.csv version [2969f7b1ad].

Added tests/digest.test version [c72f5245d1].

Added tests/encrypt.csv version [4af8c409bf].

Added tests/encrypt.test version [ce8002626b].

Added tests/info.csv version [a605570f7c].

Added tests/info.test version [421d0bdeb4].

Modified tests/make_test_files.tcl from [c31b96320d] to [e265399d3c].    [diff]

Added tests/test_vectors/Hash/BLAKE2b512.test version [8e818cab70].

Added tests/test_vectors/Hash/BLAKE2b512.txt version [d3c92f5aad].

Added tests/test_vectors/Hash/BLAKE2s256.test version [0d1c096bbe].

Added tests/test_vectors/Hash/BLAKE2s256.txt version [e3f8f87e87].

Added tests/test_vectors/Hash/MD2.test version [99bc7b516b].

Added tests/test_vectors/Hash/MD2.txt version [72dbd4087b].

Added tests/test_vectors/Hash/MD4.test version [467c08c34a].

Added tests/test_vectors/Hash/MD4.txt version [e0a9e8ce64].

Added tests/test_vectors/Hash/MD5.test version [4a3b7c9208].

Added tests/test_vectors/Hash/MD5.txt version [1f89db3968].

Added tests/test_vectors/Hash/MDC2.test version [9cb43c6d6f].

Added tests/test_vectors/Hash/MDC2.txt version [c90b9728d3].

Added tests/test_vectors/Hash/RIPEMD128.test version [d7315ba5f4].

Added tests/test_vectors/Hash/RIPEMD128.txt version [8200be1de0].

Added tests/test_vectors/Hash/RIPEMD160.test version [e06ba4b6d7].

Added tests/test_vectors/Hash/RIPEMD160.txt version [822adc817c].

Added tests/test_vectors/Hash/RIPEMD256.test version [95937b3173].

Added tests/test_vectors/Hash/RIPEMD256.txt version [df8dae9590].

Added tests/test_vectors/Hash/RIPEMD320.test version [fe9e7cfcb5].

Added tests/test_vectors/Hash/RIPEMD320.txt version [c4941d7c67].

Added tests/test_vectors/Hash/Readme.txt version [6c4218a069].

Added tests/test_vectors/Hash/SHA1.test version [bfbdebdc89].

Added tests/test_vectors/Hash/SHA1.txt version [5945652b07].

Added tests/test_vectors/Hash/SHA1LongMsg.rsp version [dbdb8addfb].

Added tests/test_vectors/Hash/SHA1LongMsg.test version [5629c042e7].

Added tests/test_vectors/Hash/SHA1Monte.rsp version [4d2e851fac].

Added tests/test_vectors/Hash/SHA1Monte.txt version [b358759788].

Added tests/test_vectors/Hash/SHA1ShortMsg.rsp version [ed95dce9c8].

Added tests/test_vectors/Hash/SHA1ShortMsg.test version [79a03d8d0f].

Added tests/test_vectors/Hash/SHA224.test version [222cda757d].

Added tests/test_vectors/Hash/SHA224.txt version [8994f85662].

Added tests/test_vectors/Hash/SHA224LongMsg.rsp version [7da7ea8843].

Added tests/test_vectors/Hash/SHA224LongMsg.test version [0be074bfc3].

Added tests/test_vectors/Hash/SHA224Monte.rsp version [5c52dbe5fd].

Added tests/test_vectors/Hash/SHA224Monte.txt version [e24a7320cb].

Added tests/test_vectors/Hash/SHA224ShortMsg.rsp version [81d8b1b6a9].

Added tests/test_vectors/Hash/SHA224ShortMsg.test version [e931511d8b].

Added tests/test_vectors/Hash/SHA256.test version [e73af40184].

Added tests/test_vectors/Hash/SHA256.txt version [848f077d7a].

Added tests/test_vectors/Hash/SHA256LongMsg.rsp version [9a9ff814db].

Added tests/test_vectors/Hash/SHA256LongMsg.test version [2a205726a8].

Added tests/test_vectors/Hash/SHA256Monte.rsp version [e791ad56c6].

Added tests/test_vectors/Hash/SHA256Monte.txt version [5cbfa7eac0].

Added tests/test_vectors/Hash/SHA256ShortMsg.rsp version [cc5e6df184].

Added tests/test_vectors/Hash/SHA256ShortMsg.test version [3c579310ba].

Added tests/test_vectors/Hash/SHA3-224.test version [0197fd6ae2].

Added tests/test_vectors/Hash/SHA3-224.txt version [0a9192723b].

Added tests/test_vectors/Hash/SHA3-256.test version [97ef336193].

Added tests/test_vectors/Hash/SHA3-256.txt version [48114e564c].

Added tests/test_vectors/Hash/SHA3-384.test version [5173b84b19].

Added tests/test_vectors/Hash/SHA3-384.txt version [37fb9bedac].

Added tests/test_vectors/Hash/SHA3-512.test version [719e522337].

Added tests/test_vectors/Hash/SHA3-512.txt version [abf73210ae].

Added tests/test_vectors/Hash/SHA384.test version [812b725c9b].

Added tests/test_vectors/Hash/SHA384.txt version [a59fdbd28c].

Added tests/test_vectors/Hash/SHA384LongMsg.rsp version [68bddc79c6].

Added tests/test_vectors/Hash/SHA384LongMsg.test version [e10e588e6c].

Added tests/test_vectors/Hash/SHA384Monte.rsp version [81ad726d0a].

Added tests/test_vectors/Hash/SHA384Monte.txt version [eb4d039dbb].

Added tests/test_vectors/Hash/SHA384ShortMsg.rsp version [20b46919ed].

Added tests/test_vectors/Hash/SHA384ShortMsg.test version [b756234b7b].

Added tests/test_vectors/Hash/SHA3_224LongMsg.rsp version [168d15a8b0].

Added tests/test_vectors/Hash/SHA3_224LongMsg.test version [38b62e20fc].

Added tests/test_vectors/Hash/SHA3_224Monte.rsp version [423c5d169a].

Added tests/test_vectors/Hash/SHA3_224ShortMsg.rsp version [953ebf8b62].

Added tests/test_vectors/Hash/SHA3_224ShortMsg.test version [9847c1b7e5].

Added tests/test_vectors/Hash/SHA3_256LongMsg.rsp version [e4cdbd523e].

Added tests/test_vectors/Hash/SHA3_256LongMsg.test version [dfe94a5f89].

Added tests/test_vectors/Hash/SHA3_256Monte.rsp version [8f24bb96f6].

Added tests/test_vectors/Hash/SHA3_256ShortMsg.rsp version [c3416d5f3b].

Added tests/test_vectors/Hash/SHA3_256ShortMsg.test version [f41fb70fc3].

Added tests/test_vectors/Hash/SHA3_384LongMsg.rsp version [f10abc91a6].

Added tests/test_vectors/Hash/SHA3_384LongMsg.test version [72042f9981].

Added tests/test_vectors/Hash/SHA3_384Monte.rsp version [76ef953968].

Added tests/test_vectors/Hash/SHA3_384ShortMsg.rsp version [a36843bb9b].

Added tests/test_vectors/Hash/SHA3_384ShortMsg.test version [0c5d1a014d].

Added tests/test_vectors/Hash/SHA3_512LongMsg.rsp version [0bbf186754].

Added tests/test_vectors/Hash/SHA3_512LongMsg.test version [3f873b49ae].

Added tests/test_vectors/Hash/SHA3_512Monte.rsp version [7d4535045e].

Added tests/test_vectors/Hash/SHA3_512ShortMsg.rsp version [704cd930ab].

Added tests/test_vectors/Hash/SHA3_512ShortMsg.test version [364a0e00c9].

Added tests/test_vectors/Hash/SHA512-224.test version [d9c580556e].

Added tests/test_vectors/Hash/SHA512-224.txt version [2c6688a4b5].

Added tests/test_vectors/Hash/SHA512-256.test version [02704532c4].

Added tests/test_vectors/Hash/SHA512-256.txt version [8c9d8ea3f3].

Added tests/test_vectors/Hash/SHA512.test version [1888d3a9e6].

Added tests/test_vectors/Hash/SHA512.txt version [6130019457].

Added tests/test_vectors/Hash/SHA512LongMsg.rsp version [7b0b7120f4].

Added tests/test_vectors/Hash/SHA512LongMsg.test version [624105ec59].

Added tests/test_vectors/Hash/SHA512Monte.rsp version [b59d6599c8].

Added tests/test_vectors/Hash/SHA512Monte.txt version [8b33951465].

Added tests/test_vectors/Hash/SHA512ShortMsg.rsp version [9ea217fd07].

Added tests/test_vectors/Hash/SHA512ShortMsg.test version [0e3b80ebaf].

Added tests/test_vectors/Hash/SHA512_224LongMsg.rsp version [e09f1924d5].

Added tests/test_vectors/Hash/SHA512_224LongMsg.test version [172b15b0f6].

Added tests/test_vectors/Hash/SHA512_224Monte.rsp version [35cbf23f88].

Added tests/test_vectors/Hash/SHA512_224Monte.txt version [ac358a4d14].

Added tests/test_vectors/Hash/SHA512_224ShortMsg.rsp version [bfcfe7aae4].

Added tests/test_vectors/Hash/SHA512_224ShortMsg.test version [8d641d96bf].

Added tests/test_vectors/Hash/SHA512_256LongMsg.rsp version [0c7527584a].

Added tests/test_vectors/Hash/SHA512_256LongMsg.test version [2cd108e888].

Added tests/test_vectors/Hash/SHA512_256Monte.rsp version [a9f88d891a].

Added tests/test_vectors/Hash/SHA512_256Monte.txt version [a96020f051].

Added tests/test_vectors/Hash/SHA512_256ShortMsg.rsp version [99d45606e7].

Added tests/test_vectors/Hash/SHA512_256ShortMsg.test version [74c616e36d].

Added tests/test_vectors/Hash/SHAKE128.test version [358b30bc0f].

Added tests/test_vectors/Hash/SHAKE128.txt version [0a5deb8560].

Added tests/test_vectors/Hash/SHAKE128LongMsg.rsp version [3e240fc1bf].

Added tests/test_vectors/Hash/SHAKE128LongMsg.test version [d00d2eae4f].

Added tests/test_vectors/Hash/SHAKE128Monte.rsp version [578e911e6e].

Added tests/test_vectors/Hash/SHAKE128ShortMsg.rsp version [353efe20e1].

Added tests/test_vectors/Hash/SHAKE128ShortMsg.test version [28b762cb6c].

Added tests/test_vectors/Hash/SHAKE128VariableOut.rsp version [daf50013d2].

Added tests/test_vectors/Hash/SHAKE256.test version [0cd1f0de19].

Added tests/test_vectors/Hash/SHAKE256.txt version [4480b876cb].

Added tests/test_vectors/Hash/SHAKE256LongMsg.rsp version [8cca1f96ad].

Added tests/test_vectors/Hash/SHAKE256LongMsg.test version [42d4bd0d09].

Added tests/test_vectors/Hash/SHAKE256Monte.rsp version [cbb56034d0].

Added tests/test_vectors/Hash/SHAKE256ShortMsg.rsp version [72834c5f7f].

Added tests/test_vectors/Hash/SHAKE256ShortMsg.test version [cf85a2a49f].

Added tests/test_vectors/Hash/SHAKE256VariableOut.rsp version [8811fe0aa0].

Added tests/test_vectors/Hash/SM3.test version [7ee5f4974a].

Added tests/test_vectors/Hash/SM3.txt version [79643d2e88].

Added tests/test_vectors/Hash/WHIRLPOOL.test version [922707888e].

Added tests/test_vectors/Hash/WHIRLPOOL.txt version [11ce31a497].

Added tests/test_vectors/Hash/all.tcl version [4b0e755a54].

Added tests/test_vectors/Hash/make_test.tcl version [dae86e37f5].

Added tests/test_vectors/KDF/HKDF-SHA1.test version [58a3106b11].

Added tests/test_vectors/KDF/HKDF-SHA1.txt version [091164e5bd].

Added tests/test_vectors/KDF/HKDF-SHA224.test version [a35e08ae37].

Added tests/test_vectors/KDF/HKDF-SHA224.txt version [e1709aae8b].

Added tests/test_vectors/KDF/HKDF-SHA256.test version [3fa42bc239].

Added tests/test_vectors/KDF/HKDF-SHA256.txt version [df67ce3539].

Added tests/test_vectors/KDF/HKDF-SHA384.test version [6b50020add].

Added tests/test_vectors/KDF/HKDF-SHA384.txt version [cb2eac62b3].

Added tests/test_vectors/KDF/HKDF-SHA512.test version [d9f36ba84c].

Added tests/test_vectors/KDF/HKDF-SHA512.txt version [3b3b416e62].

Added tests/test_vectors/KDF/PBKDF2-SHA1.test version [629c4d4319].

Added tests/test_vectors/KDF/PBKDF2-SHA1.txt version [732437c2e8].

Added tests/test_vectors/KDF/PBKDF2-SHA224.test version [fe10f4af17].

Added tests/test_vectors/KDF/PBKDF2-SHA224.txt version [f5f610fe64].

Added tests/test_vectors/KDF/PBKDF2-SHA256.test version [cc7be086d5].

Added tests/test_vectors/KDF/PBKDF2-SHA256.txt version [ecc15b287a].

Added tests/test_vectors/KDF/PBKDF2-SHA384.test version [870e72f47c].

Added tests/test_vectors/KDF/PBKDF2-SHA384.txt version [57fec8e1a5].

Added tests/test_vectors/KDF/PBKDF2-SHA512.test version [4a00a74de4].

Added tests/test_vectors/KDF/PBKDF2-SHA512.txt version [35b0e900f6].

Added tests/test_vectors/KDF/Scrypt.test version [f179668ce8].

Added tests/test_vectors/KDF/Scrypt.txt version [fcdaf5e551].

Added tests/test_vectors/KDF/all.tcl version [4b0e755a54].

Added tests/test_vectors/KDF/make_test.tcl version [260d7b3ffd].

Added tests/test_vectors/MAC/CMAC-AES-128-CBC.test version [3a9c3f08a3].

Added tests/test_vectors/MAC/CMAC-AES-128-CBC.txt version [e79fc9b070].

Added tests/test_vectors/MAC/CMAC-AES-192-CBC.test version [a24d68ab1b].

Added tests/test_vectors/MAC/CMAC-AES-192-CBC.txt version [1327ebd19f].

Added tests/test_vectors/MAC/CMAC-AES-256-CBC.test version [636f80d051].

Added tests/test_vectors/MAC/CMAC-AES-256-CBC.txt version [37559b28d2].

Added tests/test_vectors/MAC/CMAC-DES3.test version [341b1fef8a].

Added tests/test_vectors/MAC/CMAC-DES3.txt version [7b40c26c2f].

Added tests/test_vectors/MAC/HMAC.rsp version [23d90fe189].

Added tests/test_vectors/MAC/HMAC.test version [3f775f13fb].

Added tests/test_vectors/MAC/HMAC_MD5.test version [bda682a8ec].

Added tests/test_vectors/MAC/HMAC_MD5.txt version [28320e2e15].

Added tests/test_vectors/MAC/HMAC_RIPEMD128.test version [d9301fcecf].

Added tests/test_vectors/MAC/HMAC_RIPEMD128.txt version [3e487cc771].

Added tests/test_vectors/MAC/HMAC_RIPEMD160.test version [a79db16564].

Added tests/test_vectors/MAC/HMAC_RIPEMD160.txt version [bb21e99891].

Added tests/test_vectors/MAC/HMAC_SHA1.test version [3eee92fdc9].

Added tests/test_vectors/MAC/HMAC_SHA1.txt version [bbeb4deaa9].

Added tests/test_vectors/MAC/HMAC_SHA224.test version [42a431f4b0].

Added tests/test_vectors/MAC/HMAC_SHA224.txt version [55c849f12e].

Added tests/test_vectors/MAC/HMAC_SHA256.test version [42297378eb].

Added tests/test_vectors/MAC/HMAC_SHA256.txt version [32c296d1a9].

Added tests/test_vectors/MAC/HMAC_SHA3-224.test version [5684f09a47].

Added tests/test_vectors/MAC/HMAC_SHA3-224.txt version [7733ead9c2].

Added tests/test_vectors/MAC/HMAC_SHA3-256.test version [fc1173d064].

Added tests/test_vectors/MAC/HMAC_SHA3-256.txt version [c17f79ca22].

Added tests/test_vectors/MAC/HMAC_SHA3-384.test version [ad0d13b496].

Added tests/test_vectors/MAC/HMAC_SHA3-384.txt version [8df953a228].

Added tests/test_vectors/MAC/HMAC_SHA3-512.test version [3e50a3d7da].

Added tests/test_vectors/MAC/HMAC_SHA3-512.txt version [a1ac4ceeaf].

Added tests/test_vectors/MAC/HMAC_SHA384.test version [3a67faccd9].

Added tests/test_vectors/MAC/HMAC_SHA384.txt version [28134b68af].

Added tests/test_vectors/MAC/HMAC_SHA512.test version [4ce64d21bf].

Added tests/test_vectors/MAC/HMAC_SHA512.txt version [ffd58ca5b8].

Added tests/test_vectors/MAC/all.tcl version [4b0e755a54].

Added tests/test_vectors/MAC/make_test.tcl version [6510cbad4a].

Added tests/test_vectors/all.tcl version [4b0e755a54].

Modified win/makefile.vc from [11d5b7bf2c] to [40a127f356].    [diff]