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 19:37:26 +0200
Alan Barrett <> wrote:

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

Is there an issue if using something such as the following:

void *explicit_memset(void *, size_t, int);
void explicit_bzero(void *, size_t);

To remain compatible with memset(3)/bzero(3) (or macros
EXPLICIT_MEMSET, EXPLICIT_BZERO with the same signature)?


Home | Main Index | Thread Index | Old Index