More on in-memory zeroisation

Thierry Moreau thierry.moreau at connotech.com
Wed Dec 12 16:24:43 EST 2007


/************ testf.c ************/
#include <stdio.h>
#include <string.h>

typedef void *(*fpt_t)(void *, int, size_t);

void f(fpt_t arg)
{
	if (memset==arg)
		printf("Hello world!\n");
}

/************ test.c ************/
#include <stdlib.h>
#include <string.h>

typedef void *(*fpt_t)(void *, int, size_t);

extern void f(fpt_t arg);

int main(int argc, char *argv[])
{
	f(memset);
	return EXIT_SUCCESS;
}

/*   I don't want to argue too theoretically.

             - Thierry Moreau */

---------------------------------------------------------------------
The Cryptography Mailing List
Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com



More information about the cryptography mailing list