Martin Sjgren wrote:
>
> Hello
>
> Is there a way to get a list of cipher strings for all the ciphers
> currently in openssl, or do I have to do what apps/enc.c does? I.E. check
> a lot of NO_* macros and hope that the constant exist?
>
My initial thought was that you couldn't. However on examination it
seems that you might be able to by using the function
OBJ_name_do_all or OBJ_name_do_all_sorted, if they work. I'm not sure
these functions have ever been tested though as at least
OBJ_name_do_all_sorted looks buggy and OBJ_name_do_all realies on a
structure thats only defined in crypto/objects/o_names.c
These should allow all the algorithms added via
OpenSSL_add_all_algoroithms() to be accessed.
Steve.
--
Dr Stephen N. Henson. http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED]
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]