[svn] / ecrypt / trunk / submissions / mir-1 / ref / unused / test.c  

svn: ecrypt/trunk/submissions/mir-1/ref/unused/test.c

File: [svn] / ecrypt / trunk / submissions / mir-1 / ref / unused / test.c (download) (as text)
Revision: 1, Sun Jun 26 18:46:26 2005 UTC (7 years, 11 months ago) by cdecanni
File size: 312 byte(s)
* imported original ECRYPT submissions after first automatic cleanup.
#include "mir1.h"


int main(int argc, char* arg)
{
	uc key[16]={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
	uc iv[8]={0,1,2,3,4,5,6,7};
	uc keystream[1024];
	ECRYPT_ctx state;

	ECRYPT_keysetup(&state, key, 128, 64);
	ECRYPT_ivsetup(&state, iv);
    ECRYPT_keystream_bytes(&state, keystream, 1024);

	return 0;
}


eSTREAM Project

Powered by ViewCVS 1.0-dev
(Powered by Apache)

ViewCVS and CVS Help