Lines Matching refs:out
35 * The word 'cryptographic' can be left out if the rouines from the library
80 unsigned char out[80];
82 char *text="Hello to all people out there";
117 idea_ecb_encrypt(in,out,&key);
118 if (memcmp(out,c,8) != 0)
123 printf("%02X ",out[i]);
133 idea_ecb_encrypt(c,out,&dkey);
134 if (memcmp(out,in,8) != 0)
139 printf("%02X ",out[i]);
151 idea_cbc_encrypt((unsigned char *)text,out,strlen(text)+1,&key,iv,1);
153 idea_cbc_encrypt(out,out,8,&dkey,iv,0);
154 idea_cbc_encrypt(&(out[8]),&(out[8]),strlen(text)+1-8,&dkey,iv,0);
155 if (memcmp(text,out,strlen(text)+1) != 0)