NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: OpenSSL EVP_get_digestbyname()
On Thu, 23 Apr 2020 13:12:35 +0200
Jan Danielsson <jan.m.danielsson%gmail.com@localhost> wrote:
> On 2020-04-23 13:00, Sad Clouds wrote:
> > I've been looking at OpenSSL documentation and openssl/evp.h file
> > and not quite finding the answer, maybe I'm looking in the wrong
> > place?
> >
> > Does anyone know if there is a complete list of C macros that define
> > message digest strings, which can be used as arguments to
> > EVP_get_digestbyname() function? Thanks.
>
> Does the EVP_MAC_do_all_sorted() call in apps/openssl.c help? It's
> not exactly what you're asking for. (It's used to generate the output
> of "openssl list -digest-algorithms").
>
> --
> Kind Regards,
> Jan
I think I found them, the SN_* macros - /usr/include/openssl/obj_mac.h
#define SN_sha3_256 "SHA3-256"
#define SN_sha3_384 "SHA3-384"
#define SN_sha3_512 "SHA3-512"
... and so on.
Home |
Main Index |
Thread Index |
Old Index