Hello I want to create Authentication vectors (AV) by using the milenage.h and rijndael.h. which are present in the third party directory. suppose for creating MAC_A. I have written the code as follows. int main() { int i; u8 k[16]= "616c6963650000000000000000000000"; //wrong assignments u8 rand[16]; u8 sqn[6] = "0000000063dd"; //wrong assignments u8 amf[2] = "0000"; //wrong assignments u8 mac_a[8]; u8 op[16] = "cdc202d5123e20f62b6d676ac72cb318"; //wrong assignments i = pj_rand(); // it generates a random less 32 bits integer. printf("%d\n",i); // it prints 2705443 rand = i; f1( k, rand, sqn, amf, mac_a, op ); //function for creting MAC_A present in the milenage.h printf("%s\n",mac_a); // here i want to print the mac_a. return 0; } here my doubt is the value assigned to the k, sqn, amf and op are Unicode values. Then how can i convert the Unicode values to the u8 char values. The second doubt is the random number generated by the pj_rand() function is always 2705443 for my system, which remains unchanged for all the run. Is that correct? Pls suggest me a proper way so that i can create the authentication vectors , AUTN , RAND and NONCE values properly for my server side program. Plz suggest. Regd's Sanjay