> -----Ursprüngliche Nachricht-----
> Von: openssl-dev [mailto:openssl-dev-boun...@openssl.org] Im Auftrag von 
> Richard Levitte
> Gesendet: Dienstag, 29. August 2017 15:29
> An: openssl-dev@openssl.org
> Betreff: Re: [openssl-dev] Plea for a new public OpenSSL RNG API
> 
> In message <e6faf983220642c192bba281b9b32...@ex13.ncp.local> on Tue, 29 Aug 
> 2017 13:27:20 +0000, "Dr.
> Matthias St. Pierre" <matthias.st.pie...@ncp-e.com> 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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to