Re: Plea for a new public OpenSSL RNG API

"Dr. Matthias St. Pierre" <[email protected]>
Newsgroups gmane.comp.encryption.openssl.devel
Message-ID <[email protected]>
> -----Ursprüngliche Nachricht-----
> Von: openssl-dev [mailto:[email protected]] Im Auftrag von Richard Levitte
> Gesendet: Dienstag, 29. August 2017 15:29
> An: [email protected]
> Betreff: Re: [openssl-dev] Plea for a new public OpenSSL RNG API
> 
> In message <[email protected]> on Tue, 29 Aug 2017 13:27:20 +0000, "Dr.
> Matthias St. Pierre" <[email protected]> said:
> 
> Matthias.St.Pierre> > Essentially, the argument for your last remark is in-structure vtable
> Matthias.St.Pierre> > vs refered to vtable.  I tend to prefer the latter (and that's the
> Matthias.St.Pierre> > usual OpenSSL pattern too, even though there are exceptions).
> Matthias.St.Pierre>
> Matthias.St.Pierre> You are the experts and much more familiar with
> Matthias.St.Pierre> the code then I am. My role was only to give the
> Matthias.St.Pierre> starting shot, the rest is up to you.
> 
> Fair enough!  :-)


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

- a DRBG_CTX     structure for the data members
- a DRBG_METHOD  structure for its methods

Would this look more OpenSSL-like to you?

Matthias

-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
smime.p7s (application/x-pkcs7-signature, 4.2 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.