Enumerating supported algorithms

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Enumerating supported algorithms

Dmitry Belyavsky
Greetings!

What shall I look at whether I want to enumerate all, for example,
digest algorithms supported in a particular build?

Thank you!

--
SY, Dmitry Belyavsky (ICQ UIN 11116575)

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

RE: Enumerating supported algorithms

Frédéric Donnat-2
Hi,

In fact, to see if algorithm are really available, you could OPENSSL_add_All_algorithm() (or a similar function OPENSSL_add_all_digest()), and then try to get them using their name using some EVP_get_digestbyname().

hope it could help.

Fred

-----Original Message-----
From: Dmitry Belyavsky [mailto:[hidden email]]
Sent: Wed 10/12/2005 10:32 AM
To: [hidden email]
Cc:
Subject: Enumerating supported algorithms
Greetings!

What shall I look at whether I want to enumerate all, for example,
digest algorithms supported in a particular build?

Thank you!

--
SY, Dmitry Belyavsky (ICQ UIN 11116575)

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

RE: Enumerating supported algorithms

Dmitry Belyavsky
Greetings!

On Wed, 12 Oct 2005, [Windows-1252] Fr?d?ric Donnat wrote:

> In fact, to see if algorithm are really available, you could OPENSSL_add_All_algorithm() (or a similar function OPENSSL_add_all_digest()), and then try to get them using their name using some EVP_get_digestbyname().
>
> hope it could help.

No, that is not what I need. I need an enumeration.

Thank you!

--
SY, Dmitry Belyavsky (ICQ UIN 11116575)

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Enumerating supported algorithms

Nils Larsch-2
In reply to this post by Dmitry Belyavsky
On Wed, Oct 12, 2005, Dmitry Belyavsky wrote:

> Greetings!
>
> What shall I look at whether I want to enumerate all, for example,
> digest algorithms supported in a particular build?

you could use OBJ_NAME_do_all_sorted(OBJ_NAME_TYPE_MD_METH, ...)
to get a list of all algorithms added by OpenSSL_add_all_digests etc.

Cheers,
Nils

--
Nils Larsch             [hidden email]            
OpenSSL Project         http://www.openssl.org/~nils/
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]