Lines Matching defs:scratch
139 byte scratch[16];
180 camellia_encrypt(&ctx,scratch,plaintext);
181 if(memcmp(scratch,ciphertext_128,sizeof(ciphertext_128))!=0)
183 camellia_decrypt(&ctx,scratch,scratch);
184 if(memcmp(scratch,plaintext,sizeof(plaintext))!=0)
188 camellia_encrypt(&ctx,scratch,plaintext);
189 if(memcmp(scratch,ciphertext_192,sizeof(ciphertext_192))!=0)
191 camellia_decrypt(&ctx,scratch,scratch);
192 if(memcmp(scratch,plaintext,sizeof(plaintext))!=0)
196 camellia_encrypt(&ctx,scratch,plaintext);
197 if(memcmp(scratch,ciphertext_256,sizeof(ciphertext_256))!=0)
199 camellia_decrypt(&ctx,scratch,scratch);
200 if(memcmp(scratch,plaintext,sizeof(plaintext))!=0)