Home | History | Annotate | Download | only in des

Lines Matching defs:in

11  * apply to all code found in this distribution, be it the RC4, RSA,
16 * Copyright remains Eric Young's, and as such any Copyright notices in
18 * If this package is used in a product, Eric Young should be given attribution
20 * This can be in the form of a textual message at program startup or
21 * in documentation (online or textual) provided with the package.
23 * Redistribution and use in source and binary forms, with or without
28 * 2. Redistributions in binary form must reproduce the above copyright
29 * notice, this list of conditions and the following disclaimer in the
44 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
48 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
49 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
338 des_cblock in,out,outin,iv3,iv2;
412 memcpy(in,plain_data[i],8);
415 des_ecb_encrypt(&in,&out,ks,DES_ENCRYPT);
421 i+1,pt(key_data[i]),pt(in),pt(cipher_data[i]),
425 if (memcmp(in,outin,8) != 0)
428 i+1,pt(key_data[i]),pt(out),pt(in),pt(outin));
440 memcpy(in,plain_data[i],8);
443 des_ecb2_encrypt(&in,&out,ks,ks2,DES_ENCRYPT);
449 i+1,pt(key_data[i]),pt(in),pt(cipher_ecb2[i]),
453 if (memcmp(in,outin,8) != 0)
456 i+1,pt(key_data[i]),pt(out),pt(in),pt(outin));