[openssl-dev] Plea for a new public OpenSSL RNG API
Richard Levitte
levitte at openssl.org
Tue Aug 29 13:52:29 UTC 2017
In message <3a54fcefd17d4735920426d21b3b868e at Ex13.ncp.local> on Tue, 29 Aug 2017 13:39:02 +0000, "Dr. Matthias St. Pierre" <Matthias.St.Pierre at ncp-e.com> said:
Matthias.St.Pierre> Just a sudden inspiration: If the RAND_DRBG becomes a truly independent API it might be better to strip the RAND_ prefix and redesign the API such that one has
Matthias.St.Pierre>
Matthias.St.Pierre> - a DRBG_CTX structure for the data members
Matthias.St.Pierre> - a DRBG_METHOD structure for its methods
Matthias.St.Pierre>
Matthias.St.Pierre> Would this look more OpenSSL-like to you?
Yes. And per fairly recent recommendations to avoid cluttering the
name space, that would be OSSL_DRGB_CTX and OSSL_DRGB_METHOD, btw.
--
Richard Levitte levitte at openssl.org
OpenSSL Project http://www.openssl.org/~levitte/
More information about the openssl-dev
mailing list