//
//#include <stdio.h>
//#include <string.h>
//#include <assert.h>
//
///////BIG N libs///////
//#include "BigN/bigd.h"
//#include "BigN/bigdRand.h"
//#define BB BIGD
//#define EMPTYLINE printf("\n\r");
//
//void randomize (void){
	//
	//srand(PHY_RandomReq());
//}
//
//
	//
//
//
//int TestF(){
	//
	//EMPTYLINE
	//printf("Toto je TESTF - random number\n\r");
	//
	//BIGD v, w;
//
	//v = bdNew();
	//w = bdNew();
	//
	//EMPTYLINE
	//bdRandomSeeded(v, 16, (const unsigned char*)"", 0, my_rand);  // 508 bitovy klic
	//bdPrintHex("random HEX=\r\n", v,"\n\r");
	//
	//EMPTYLINE
	//bdPrintDecimal("random DEC =", v, "\n\r");
	//
	//bdFree(&v);
	//
	//EMPTYLINE
	//bdRandomBits(w, 10);
	//bdPrintBits("Nahodne bity = ", w, "\n\r");
	//
	//bdFree(&w);
	//
//}
//
//
//int my_rand(unsigned char *bytes, size_t nbytes, const unsigned char *seed, size_t seedlen)
	///* Our own (very insecure) random generator call-back function using good old rand()
	//This demonstrates the required format for BD_RANDFUNC
	//-- replace this in practice with your own cryptographically-secure function.
	//*/
	//{
		//unsigned int myseed;
		//size_t i;
		//int offset;
//
		///* Use time - then blend in seed, if any */
		//myseed = (unsigned)time(NULL);
		//if (seed)
		//{
			//for (offset = 0, i = 0; i < seedlen; i++, offset = (offset + 1) % sizeof(unsigned))
			//myseed ^= ((unsigned int)seed[i] << (offset * 8));
		//}
		//
	//
		//srand(myseed);
		//while (nbytes--)
		//{
			//*bytes++ = rand() & 0xFF;
		//}
//
		//return 0;
	//}
//
//
	//
	//
	////void randomize(void){
		////
		////srand(PHY_RandomReq());
	////}