History log of /openssl/crypto/rsa/rsa_lib.c (Results 126 – 150 of 162)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OpenSSL-engine-0_9_6j, OpenSSL_0_9_7b, OpenSSL_0_9_6j
# 721688c2 08-Apr-2003 Richard Levitte

Include rand.h, so RAND_status() and friends get properly declared.


# 5679bcce 02-Apr-2003 Bodo Möller

make RSA blinding thread-safe


# c554155b 20-Mar-2003 Bodo Möller

make sure RSA blinding works when the PRNG is not properly seeded;
enable it automatically for the built-in engine


Revision tags: OpenSSL-engine-0_9_6i, OpenSSL_0_9_6i, OpenSSL_0_9_7a
# 0b13e9f0 30-Jan-2003 Richard Levitte

Add the possibility to build without the ENGINE framework.
PR: 287


Revision tags: OpenSSL_0_9_7, OpenSSL_0_9_7-beta6, STATE_after_zlib, STATE_before_zlib, OpenSSL_0_9_7-beta5, OpenSSL-engine-0_9_6h, OpenSSL_0_9_6h, OpenSSL_0_9_7-beta4, OpenSSL-engine-0_9_6g, OpenSSL_0_9_6g, OpenSSL-engine-0_9_6f, OpenSSL_0_9_6f, OpenSSL_0_9_7-beta3, OpenSSL-engine-0_9_6e, OpenSSL_0_9_6e, OpenSSL_0_9_7-beta2, OpenSSL_0_9_7-beta1, AFTER_COMPAQ_PATCH, BEFORE_COMPAQ_PATCH, OpenSSL-engine-0_9_6d, OpenSSL_0_9_6d, OpenSSL-engine-0_9_6d-beta1, OpenSSL_0_9_6d-beta1
# 0c372b94 09-Mar-2002 Dr. Stephen Henson

Make {RSA,DSA,DH}_new_method obtain and release an ENGINE
functional reference in all cases.


Revision tags: OpenSSL-engine-0_9_6c, OpenSSL_0_9_6c
# d7e02997 25-Sep-2001 Geoff Thorpe

Fiddling.


# cb78486d 25-Sep-2001 Geoff Thorpe

This commits changes to various parts of libcrypto required by the recent
ENGINE surgery. DH, DSA, RAND, and RSA now use *both* "method" and ENGINE
pointers to manage their hooking with ENGIN

This commits changes to various parts of libcrypto required by the recent
ENGINE surgery. DH, DSA, RAND, and RSA now use *both* "method" and ENGINE
pointers to manage their hooking with ENGINE. Previously their use of
"method" pointers was replaced by use of ENGINE references. See
crypto/engine/README for details.

Also, remove the ENGINE iterations from evp_test - even when the
cipher/digest code is committed in, this functionality would require a
different set of API calls.

show more ...


# 6ac4e8bd 03-Sep-2001 Bodo Möller

Rename recently introduced functions for improved code clarity:
[DR]SA_up => [DR]SA_up_ref


# 79aa04ef 01-Sep-2001 Geoff Thorpe

Make the necessary changes to work with the recent "ex_data" overhaul.
See the commit log message for that for more information.

NB: X509_STORE_CTX's use of "ex_data" support was actuall

Make the necessary changes to work with the recent "ex_data" overhaul.
See the commit log message for that for more information.

NB: X509_STORE_CTX's use of "ex_data" support was actually misimplemented
(initialisation by "memset" won't/can't/doesn't work). This fixes that but
requires that X509_STORE_CTX_init() be able to handle errors - so its
prototype has been changed to return 'int' rather than 'void'. All uses of
that function throughout the source code have been tracked down and
adjusted.

show more ...


# 5cbc2e8b 25-Aug-2001 Geoff Thorpe

Give DH, DSA, and RSA functions to "up" their reference counts. Otherwise,
dependant code has to directly increment the "references" value of each
such structure using the corresponding lock.

Give DH, DSA, and RSA functions to "up" their reference counts. Otherwise,
dependant code has to directly increment the "references" value of each
such structure using the corresponding lock. Apart from code duplication,
this provided no "REF_CHECK/REF_PRINT" checking and violated
encapsulation.

show more ...


# b7727ee6 12-Aug-2001 Geoff Thorpe

The indexes returned by ***_get_ex_new_index() functions are used when
setting stack (actually, array) values in ex_data. So only increment the
global counters if the underlying CRYPTO_get_ex

The indexes returned by ***_get_ex_new_index() functions are used when
setting stack (actually, array) values in ex_data. So only increment the
global counters if the underlying CRYPTO_get_ex_new_index() call succeeds.
This change doesn't make "ex_data" right (see the comment at the head of
ex_data.c to know why), but at least makes the source code marginally less
frustrating.

show more ...


Revision tags: OpenSSL-engine-0_9_6b, OpenSSL_0_9_6b
# 0c9de428 23-Jun-2001 Dr. Stephen Henson

In {RSA,DSA,DH}_new_method(x) need to increase the reference
count of the ENGINE is x is not NULL since it will be freed
in {RSA,DSA,DH}_free().


# 7ae551fd 30-Apr-2001 Geoff Thorpe

In RSA, DSA, DH, and RAND - if the "***_new()" function fails because the
ENGINE code does not return a default, set an error.


Revision tags: OpenSSL_0_9_6a, OpenSSL-engine-0_9_6a, OpenSSL-engine-0_9_6a-beta3, OpenSSL_0_9_6a-beta3, OpenSSL-engine-0_9_6a-beta2, OpenSSL_0_9_6a-beta2, OpenSSL-engine-0_9_6a-beta1, OpenSSL_0_9_6a-beta1
# 12c2fe8d 20-Feb-2001 Ulf Möller

Use BN_rand_range().


# 7abe8305 26-Nov-2000 Geoff Thorpe

Ensure that the "ex_data" member of an RSA structure is initialised before
the RSA_METHOD's "init()" handler is called, and is cleaned up after the
RSA_METHOD's "finish()" handler is called.

Ensure that the "ex_data" member of an RSA structure is initialised before
the RSA_METHOD's "init()" handler is called, and is cleaned up after the
RSA_METHOD's "finish()" handler is called. Custom RSA_METHODs may wish to
initialise contexts and other specifics in the RSA structure upon creation
and that was previously not possible - "ex_data" is where that stuff
should go and it was being initialised too late for it to be used.

show more ...


# 0b5806b5 08-Nov-2000 Richard Levitte

Really stupid glitch (a comment not properly ended) fixed.


# ccb9643f 08-Nov-2000 Richard Levitte

Remove references to RSAref. The glue library is but a memory to fade
away now...


Revision tags: rsaref
# 29c1f061 06-Nov-2000 Richard Levitte

Constify the RSA library.


# 5270e702 26-Oct-2000 Richard Levitte

Merge the engine branch into the main trunk. All conflicts resolved.
At the same time, add VMS support for Rijndael.


Revision tags: BEFORE_engine, OpenSSL_0_9_6-beta2, OpenSSL_0_9_6-beta1, OpenSSL_0_9_6, OpenSSL-engine-0_9_6, OpenSSL-engine-0_9_6-beta3, OpenSSL_0_9_6-beta3, OpenSSL-engine-0_9_6-beta2, OpenSSL-engine-0_9_6-beta1
# 26a3a48d 01-Jun-2000 Richard Levitte

There have been a number of complaints from a number of sources that names
like Malloc, Realloc and especially Free conflict with already existing names
on some operating systems or other pac

There have been a number of complaints from a number of sources that names
like Malloc, Realloc and especially Free conflict with already existing names
on some operating systems or other packages. That is reason enough to change
the names of the OpenSSL memory allocation macros to something that has a
better chance of being unique, like prepending them with OPENSSL_.

This change includes all the name changes needed throughout all C files.

show more ...


Revision tags: OpenSSL_0_9_5
# deb4d50e 20-Apr-2000 Geoff Thorpe

Previously, the default RSA_METHOD was NULL until the first RSA structure was
initialised, at which point an appropriate default was chosen. This meant a
call to RSA_get_default_method might

Previously, the default RSA_METHOD was NULL until the first RSA structure was
initialised, at which point an appropriate default was chosen. This meant a
call to RSA_get_default_method might have returned FALSE.

This change fixes that; now any called to RSA_new(), RSA_new_method(NULL), or
RSA_get_default_method() will ensure that a default is chosen if it wasn't
already.

show more ...


Revision tags: OpenSSL_0_9_5a, OpenSSL_0_9_5a-beta2, OpenSSL_0_9_5a-beta1, OpenSSL_0_9_5beta2, OpenSSL_0_9_5beta1
# 9b141126 05-Feb-2000 Ulf Möller

New functions BN_CTX_start(), BN_CTX_get(), BN_CTX_end() to access
temporary BIGNUMs. BN_CTX still uses a fixed number of BIGNUMs, but
the BN_CTX implementation could now easily be changed.


# dd9d233e 23-Jan-2000 Dr. Stephen Henson

Tidy up CRYPTO_EX_DATA structures.


# c1cd88a0 08-Sep-1999 Dr. Stephen Henson

Oops... forgot the other RSA_NULL patches...


Revision tags: OpenSSL_0_9_4
# ce8b2574 29-Jun-1999 Dr. Stephen Henson

New functions to allow RSA_METHODs to be changed without poking round in
RSA structure internals.


1234567