History of file generic/tlsDigest.c at check-in 216b8859b87cbb08
2024-05-29
| ||
01:30 | Merged in changes from master file: [3071f42fa3] check-in: [9d265b298a] user: bohagan, branch: crypto, size: 40965 [annotate] [blame] [check-ins using] [diff] | |
2024-05-19
| ||
21:56 | Removed obsolete unstack commands from digest and encrypt modules. file: [46b363aa29] check-in: [8ae6d68bc3] user: bohagan, branch: crypto, size: 40966 [annotate] [blame] [check-ins using] [diff] | |
19:51 | Added more debug output to encrypt and digest files file: [dfd4a485c5] check-in: [6cccc0c9b2] user: bohagan, branch: crypto, size: 42527 [annotate] [blame] [check-ins using] [diff] | |
2024-03-13
| ||
23:07 | Finished SHAKE128 and SHAKE256 XOF hash functions by adding optional -length arg to set output length. file: [862bda43dc] check-in: [59eac2fc22] user: bohagan, branch: crypto, size: 42239 [annotate] [blame] [check-ins using] [diff] | |
2024-03-10
| ||
05:56 | Added global namespace qualifier to command names. Catch error for eval embedded tls.tcl script. file: [34b3c8adcd] check-in: [c0bbfde5a4] user: bohagan, branch: crypto, size: 41081 [annotate] [blame] [check-ins using] [diff] | |
2024-02-28
| ||
05:48 | Made TYPE_CMAC case into code block to allow variable definition file: [64399c1a47] check-in: [0d89817e1a] user: bohagan, branch: crypto, size: 41059 [annotate] [blame] [check-ins using] [diff] | |
2024-02-24
| ||
04:18 | Applied optimized get string and cast nulls to char pointers to branch files file: [c0e18b1097] check-in: [aefb94a730] user: bohagan, branch: crypto, size: 41037 [annotate] [blame] [check-ins using] [diff] | |
2024-02-04
| ||
23:25 | Code updates for gcc warnings file: [b9cf69269c] check-in: [e58f2c78c8] user: bohagan, branch: crypto, size: 41158 [annotate] [blame] [check-ins using] [diff] | |
03:31 | Merged changes from master branch file: [3601a02663] check-in: [fa17431520] user: bohagan, branch: crypto, size: 41032 [annotate] [blame] [check-ins using] [diff] | |
2024-01-29
| ||
02:41 | Updated to latest set of TCL 9.0 API changes. Made Tcl_Size updates. file: [71c1dbb17e] check-in: [ce307ddd1f] user: bohagan, branch: crypto, size: 40984 [annotate] [blame] [check-ins using] [diff] | |
2023-12-29
| ||
21:09 | Cast unused parameters to void to prevent unused parameter warnings Source: https://core.tcl-lang.org/tcltls/tktview/086954612f file: [fc965c1660] check-in: [f586ebd433] user: bohagan, branch: crypto, size: 40724 [annotate] [blame] [check-ins using] [diff] | |
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. file: [f2bddde2af] check-in: [94f8408d0d] user: bohagan, branch: crypto, size: 40470 [annotate] [blame] [check-ins using] [diff] | |
2023-12-23
| ||
21:23 | Added kdfs command to list supported KDFs file: [10998241d5] check-in: [baa6119ddf] user: bohagan, branch: crypto, size: 41577 [annotate] [blame] [check-ins using] [diff] | |
2023-12-16
| ||
04:56 | Changed options processing from using string compares in macros to using Tcl_GetIndexFromObj and switch. file: [188fdc0d84] check-in: [c7540ccbf1] user: bohagan, branch: crypto, size: 41575 [annotate] [blame] [check-ins using] [diff] | |
2023-12-11
| ||
05:24 | Added KDF module to derive keys and ivs from passwords and salts. Added -hash option as alias for -digest. file: [59f6eb5d91] check-in: [d4c2159faf] user: bohagan, branch: crypto, size: 40114 [annotate] [blame] [check-ins using] [diff] | |
2023-12-10
| ||
05:55 | Refactored tlsInfo.c file to clear errors, use Obj in var names, and pass name as object instead of string. Split cipher command from its info function. file: [8122b24581] check-in: [d7ab5a4ae1] user: bohagan, branch: crypto, size: 40085 [annotate] [blame] [check-ins using] [diff] | |
2023-12-08
| ||
03:03 | Digest optimizations to delay conversion to OpenSSL types to initialization procedure. Add MAC info and incomplete Pkey info functions. file: [65509e5caa] check-in: [d93493f320] user: bohagan, branch: crypto, size: 40116 [annotate] [blame] [check-ins using] [diff] | |
2023-12-03
| ||
02:24 | Added function to encrypt and decrypt using I/O channel file: [3c7733f450] check-in: [c3fb3a49db] user: bohagan, branch: crypto, size: 42205 [annotate] [blame] [check-ins using] [diff] | |
2023-12-02
| ||
21:51 | Added function to encrypt and decrypt using object command file: [ecefe3e7e3] check-in: [ae795d4c23] user: bohagan, branch: crypto, size: 42271 [annotate] [blame] [check-ins using] [diff] | |
20:24 | Added function to encrypt and decrypt a file file: [1c3c225c54] check-in: [db4e2fff2d] user: bohagan, branch: crypto, size: 42182 [annotate] [blame] [check-ins using] [diff] | |
2023-11-27
| ||
02:39 | Code Cleanup to use switch statements file: [995b6c10f9] check-in: [24e26c8844] user: bohagan, branch: crypto, size: 41828 [annotate] [blame] [check-ins using] [diff] | |
2023-11-25
| ||
05:23 | Split get digest, cipher, key, and mac ids into separate functions. Simplified DigestMain to pass Tcl objects to get functions. Pass mac id to functions. file: [83013db897] check-in: [0aae4d5b6f] user: bohagan, branch: crypto, size: 41783 [annotate] [blame] [check-ins using] [diff] | |
2023-11-23
| ||
03:26 | Added early version of mac command. Added back ability to provide data as last arg without -data option. file: [4e866a5357] check-in: [917a43a776] user: bohagan, branch: crypto, size: 39096 [annotate] [blame] [check-ins using] [diff] | |
02:52 | Added more message digest test cases from RFC 6234 and info command error test cases file: [2a3a6022af] check-in: [c6b0a3cd11] user: bohagan, branch: crypto, size: 38667 [annotate] [blame] [check-ins using] [diff] | |
2023-11-21
| ||
23:23 | Set default option name for first argument to md and mac commands if not specified by user. Return error message when no channel, command, data, or file arg is specified. file: [306b222bb6] check-in: [c7a5a6f8fa] user: bohagan, branch: crypto, size: 38667 [annotate] [blame] [check-ins using] [diff] | |
22:03 | Renamed digest command to md. Updated function names to use Digest prefix. file: [879253f9c1] check-in: [4134be17b3] user: bohagan, branch: crypto, size: 38166 [annotate] [blame] [check-ins using] [diff] | |
03:44 | Add digest and MAC use of EVP_DigestFinalXOF for XOF hash functions. Renamed security level option from -securitylevel to -security_level. Added more description info to digest and hash documentation. Added examples for tls::digest command to documentation. file: [766239257b] check-in: [c5c9b26ac8] user: bohagan, branch: crypto, size: 38035 [annotate] [blame] [check-ins using] [diff] | |
2023-11-18
| ||
05:59 | Optimized DigestInputProc to use common digest functions. Fixed write to channel digest transform. Updated comments file: [294d716507] check-in: [3120c0a647] user: bohagan, branch: crypto, size: 37790 [annotate] [blame] [check-ins using] [diff] | |
2023-11-17
| ||
21:46 | Optimized calc digest for data blob to use same functions as other cases. file: [075035113a] check-in: [d5db8e7da5] user: bohagan, branch: crypto, size: 37764 [annotate] [blame] [check-ins using] [diff] | |
18:31 | Changed digest command to make digest into a variable argument file: [5957db2945] check-in: [6f3bac05a8] user: bohagan, branch: crypto, size: 38459 [annotate] [blame] [check-ins using] [diff] | |
2023-11-14
| ||
00:53 | Updated error messages and optimized when to add error message to result. file: [03763b15bf] check-in: [2b4e85a3eb] user: bohagan, branch: crypto, size: 38061 [annotate] [blame] [check-ins using] [diff] | |
2023-11-13
| ||
03:14 | Changed hex output to use lowercase letters file: [9e69cd3c7b] check-in: [aef7825f91] user: bohagan, branch: crypto, size: 38178 [annotate] [blame] [check-ins using] [diff] | |
2023-11-10
| ||
22:23 | Added cmac and hmac convenience commands file: [71e9e504fd] check-in: [992cc75b71] user: bohagan, branch: crypto, size: 38178 [annotate] [blame] [check-ins using] [diff] | |
20:09 | Added Cipher MAC (CMAC) support file: [cd70ba2139] check-in: [49f76ba54c] user: bohagan, branch: crypto, size: 36821 [annotate] [blame] [check-ins using] [diff] | |
2023-11-06
| ||
23:46 | Added more comments and removed obsolete code file: [ff147d0f8d] check-in: [5a0296430f] user: bohagan, branch: crypto, size: 34288 [annotate] [blame] [check-ins using] [diff] | |
04:52 | Added an option to the digest command to allow the user to create a new command, use it to add data to a hash, and to get the final message digest. Refactored code to move common digest init, update, and finalize operations into common functions. file: [7c8820a0b3] check-in: [0c59081d81] user: bohagan, branch: crypto, size: 33865 [annotate] [blame] [check-ins using] [diff] | |
2023-11-05
| ||
21:46 | Track EOF for channels so get message digest is only performed once. Added more info to function documentation and comments file: [f6606c060c] check-in: [019f6eb9aa] user: bohagan, branch: crypto, size: 28941 [annotate] [blame] [check-ins using] [diff] | |
2023-11-04
| ||
03:14 | Added sha512 convenience command file: [ed2c00ddb4] check-in: [72569af7c5] user: bohagan, branch: crypto, size: 27935 [annotate] [blame] [check-ins using] [diff] | |
02:08 | Added key support to digest channel file: [fe4794bb6a] check-in: [b536b956a8] user: bohagan, branch: crypto, size: 27641 [annotate] [blame] [check-ins using] [diff] | |
2023-11-03
| ||
22:03 | Moved info commands to tlsInfo.c file. Moved REASON macro definition to tlsInt.h file so all files can use. file: [5e8cf5527f] check-in: [61a7c2c15a] user: bohagan, branch: crypto, size: 26729 [annotate] [blame] [check-ins using] [diff] | |
2023-10-30
| ||
19:18 | Added info to documentation on how to salt a password for a digest file: [7b2ad31134] check-in: [04c90026c3] user: bohagan, branch: crypto, size: 26708 [annotate] [blame] [check-ins using] [diff] | |
01:19 | Added digest unstack channel command file: [1140deb939] check-in: [25849c5ac1] user: bohagan, branch: crypto, size: 26707 [annotate] [blame] [check-ins using] [diff] | |
2023-10-29
| ||
21:06 | Added Hashed MAC (HMAC) support. Added -key option to specify key to create Hashed Message Authentication Code (HMAC). Implemented data and file support, but not channel yet. file: [c51db5e24a] check-in: [41ad133172] user: bohagan, branch: crypto, size: 25098 [annotate] [blame] [check-ins using] [diff] | |
00:33 | Added option to create a stacked channel to use as source for message digest data. Returns calculated digest after last read prior to EOF. file: [feada0df14] check-in: [750f0c1ad5] user: bohagan, branch: crypto, size: 23868 [annotate] [blame] [check-ins using] [diff] | |
2023-10-28
| ||
03:10 | Added digest file, hex, and binary options. Added option to calculate message digest for a file. Added options to set output format to bin or hex. file: [77db2d7c66] check-in: [fa2710a06c] user: bohagan, branch: crypto, size: 8637 [annotate] [blame] [check-ins using] [diff] | |
2023-10-27
| ||
23:01 | Added: Moved digest command to new tlsDigest.c file file: [e53726131a] check-in: [b120c6d336] user: bohagan, branch: crypto, size: 4136 [annotate] [blame] [check-ins using] | |