tech-security archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: crypto_memset (was: Re: Zero it if you're going to copy it out.)

On Sun, 22 Jul 2012, Jean-Yves Migeon wrote:
On 22.07.2012 18:01, Alan Barrett wrote:
I have an implementation of memset_s.  It's fairly intrusive, in that
several header files need extra declarations for strange types, and I
haven't implemented the constraint handler callbacks.

Strange types?

The prototype is

        memset_s(void *s, rsize_t smax, int c, rsize_t n);

where errno_t and rsize_t have to be defined in various headers.

--apb (Alan Barrett)

Home | Main Index | Thread Index | Old Index