summaryrefslogtreecommitdiffstats
path: root/crypto (follow)
Commit message (Collapse)AuthorAgeFilesLines
* For the UI functions that return an int, 0 or any positive number is aRichard Levitte2001-06-231-3/+3
| | | | | success return, any negative number is a failure. Make sure we check the return value with that in mind.
* Fix hwcrhk_insert_card.Dr. Stephen Henson2001-06-231-7/+12
|
* In UI_dup_*() function, use the duped string, not the original.Dr. Stephen Henson2001-06-231-3/+5
|
* This fixes "Spurious test failures on IRIX?" reported in April. ApparentlyAndy Polyakov2001-06-221-185/+245
| | | | | I was wrong in conclusions about when addition starts overflowing in combaX routines.
* Fix memory leak when RAND is used: need to cleanupDr. Stephen Henson2001-06-212-3/+5
| | | | RANDs ENGINE reference in ENGINE_cleanup().
* Since there is a way to create UI_METHODs, implement a destructor asRichard Levitte2001-06-203-17/+19
| | | | | | | well. This probably requires reference counters and locks as well. To be implemented later.
* Change all calls to low level digest routines in the library andDr. Stephen Henson2001-06-2017-108/+84
| | | | | | | | | | applications to use EVP. Add missing calls to HMAC_cleanup() and don't assume HMAC_CTX can be copied using memcpy(). Note: this is almost identical to the patch submitted to openssl-dev by Verdon Walker <VWalker@novell.com> except some redundant EVP_add_digest_()/EVP_cleanup() calls were removed and some changes made to avoid compiler warnings.
* cp is only used when DSA is built.Richard Levitte2001-06-191-1/+1
|
* - Add the possibility to control engines through control names butRichard Levitte2001-06-194-44/+226
| | | | | | | | | with arbitrary arguments instead of just a string. - Change the key loaders to take a UI_METHOD instead of a callback function pointer. NOTE: this breaks binary compatibility with earlier versions of OpenSSL [engine]. - Addapt the nCipher code for these new conditions and add a card insertion callback.
* The default flag should be for default passwords only. Otherwise,Richard Levitte2001-06-191-4/+4
| | | | someone having a default that is not a password will be confused.
* Enhance the user interface with better support for dialog boxRichard Levitte2001-06-194-95/+263
| | | | | | prompting, application-defined prompts, the possibility to use defaults (for example default passwords from somewhere else) and interrupts/cancelations.
* Don't set pointer if add_lock_callback used.Dr. Stephen Henson2001-06-191-1/+0
|
* Fix a memory leak (there's another around here somewhere, though).Ben Laurie2001-06-171-10/+29
| | | | PR:
* Delete a redundant line.Ben Laurie2001-06-161-1/+0
|
* For MSDOS, the tty filename still is "con", not "/dev/tty" ...Bodo Möller2001-06-111-2/+7
|
* Get rid of "possible WAW dependency" warnings.Andy Polyakov2001-06-111-0/+5
| | | | | | Submitted by: Reviewed by: PR:
* Earlier OpenSSL versions printed prompts to stderr.Bodo Möller2001-06-111-38/+39
| | | | | | | | | In the new crypto/ui/, this was changed into tty (which is usually /dev/tty), i.e. the FILE * used for reading passwords from the user. However stdio buffering for read/write streams is not without pitfalls (passwords would be echoed on some systems). To avoid problems, split tty into tty_in and tty_out (which are opened separately).
* Initialize UI ex_data.Dr. Stephen Henson2001-06-111-1/+1
|
* Add support for MS CSP Name PKCS#12 attribute.Dr. Stephen Henson2001-06-1111-162/+88
|
* more error codes fixedUlf Möller2001-06-081-3/+2
|
* ERR_peek_error() returns "unsigned long".Lutz Jänicke2001-06-071-1/+2
|
* Don't forget to initialise.Richard Levitte2001-06-071-0/+2
|
* when checking OAEP, signal just a single kind of 'decoding error'Bodo Möller2001-06-061-10/+11
|
* move check to avoid memory leak.Ulf Möller2001-06-061-8/+8
|
* make sure we don't write to seed[-1]Ulf Möller2001-06-061-0/+5
|
* 'make update'Richard Levitte2001-06-058-160/+209
|
* Defining __USE_XOPEN_EXTENDED was the wrong thing. Instead, defineRichard Levitte2001-06-052-2/+4
| | | | _XOPEN_SOURCE.
* A good use of the UI interface is as a password callback replacementRichard Levitte2001-06-053-0/+26
| | | | | | | | | | (for new functions...). One might still want to be able to pass down a user-data pointer to be used by the UI. However, ex_data doesn't quite cut it, since that means the appropriate index to it might need to be shared between parts that aren't really related in that sense, and would require the currently hidden (static) index holders to be uncovered. Not a good thing. Therefore, add the possibility to add a user-data pointer to a UI.
* Accept digits in symbol names. Spotted by Brian Havard ↵Richard Levitte2001-06-041-1/+1
| | | | <brianh@kheldar.apana.org.au>
* Confusion between algorithms resolved.Richard Levitte2001-06-012-2/+2
|
* nCipher callbacks shall return 0 on success, something else otherwise.Richard Levitte2001-06-011-3/+3
|
* Stop mishandling the type number in dynlock lockingRichard Levitte2001-06-011-3/+2
|
* increase DEFAULT_BUFFER_SIZE (4K instead of just 1K)Bodo Möller2001-06-011-1/+1
|
* Don't decrement the reference counter twice when destroying dynamicRichard Levitte2001-06-011-2/+2
| | | | links.
* Fix a memory leak in 'sk_dup' in the case a realloc() fails. Also, tidy upGeoff Thorpe2001-05-311-5/+7
| | | | a bit of weird code in sk_new.
* Get rid of RAW dependency warnings.Andy Polyakov2001-05-311-7/+7
| | | | | | Submitted by: Reviewed by: PR:
* Assembler support for IA-64. See the source code commentary for furtherAndy Polyakov2001-05-281-0/+1484
| | | | | | | | | | details (performance numbers and accompanying discussions:-). Note that the code is not engaged in ./Configure yet. I'll add it later this week along with updates for .spec file. Submitted by: Reviewed by: PR:
* We had the password callback for ENGINEs pretty much wrong. AndRichard Levitte2001-05-253-40/+32
| | | | | | | | | | | | | | | passwords that were given to the key loading functions were completely ignored, at least in the ncipher code, and then we made the assumption that the callback wanted a prompt as user argument. All that is now changed, and the application author is forced to give a callback function of type pem_callback_cb and possibly an argument for it, just as for all other functions that want to generate password prompting. NOTE: this change creates binary and source incompatibilities with previous versions of OpenSSL [engine]. It's worth it this time, to get it right (or at least better and with a chance that it'll work).
* Add missing variable length cipher flag for Blowfish.Dr. Stephen Henson2001-05-252-2/+3
| | | | | | Only use trust settings if either trust or reject settings are present, otherwise use compatibility mode. This stops root CAs being rejected if they have alias of keyid set.
* Fix for new UI functions under Win32.Dr. Stephen Henson2001-05-171-1/+4
| | | | | | | | For some unknown reason fopen("con", "w") is the only way to make this work. Using "r+" and "w+" causes the fopen call to fail and the fallback (using stdin) doesn't work because writing to stdin fails.
* New internal function OPENSSL_gmtime, which is intended to do the sameRichard Levitte2001-05-167-73/+286
| | | | as gmtime_r() on the systems where that is defined.
* Increase ENTROPY_NEEDED to support Rijndael's larger key size.Lutz Jänicke2001-05-151-1/+1
|
* Do not forget to increment the pointers...Richard Levitte2001-05-151-0/+2
|
* Low-case the names of the system routines, since some versions ofRichard Levitte2001-05-151-2/+2
| | | | | DEC C only have them declared that way (it doesn't really matter, since the linker is case-insensitive by default)
* branch on equal is beql, not beq...Richard Levitte2001-05-151-1/+1
|
* Make sure strdup() is properly declared.Richard Levitte2001-05-141-0/+9
|
* Make sure memset() is properly declared.Richard Levitte2001-05-141-0/+1
|
* ui was forgotten when installing libcrypto and it's headers.Richard Levitte2001-05-141-1/+2
|
* Remove the password reading objects from LIB_DES.Richard Levitte2001-05-141-3/+3
|
* Make more short aliases for symbols that are longer than 31Richard Levitte2001-05-141-0/+14
| | | | characters.