Home | History | Annotate | Download | only in des

Lines Matching defs:in

10  * apply to all code found in this distribution, be it the RC4, RSA,
15 * Copyright remains Eric Young's, and as such any Copyright notices in
17 * If this package is used in a product, Eric Young should be given attribution
19 * This can be in the form of a textual message at program startup or
20 * in documentation (online or textual) provided with the package.
22 * Redistribution and use in source and binary forms, with or without
27 * 2. Redistributions in binary form must reproduce the above copyright
28 * notice, this list of conditions and the following disclaimer in the
43 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
47 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
48 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
300 const uint8_t *in;
305 in = key->bytes;
307 c2l(in, c);
308 c2l(in, d);
310 /* do PC1 in 47 simple operations :-)
334 * point in time to investigate */
392 * the loop. This required the DES_SPtrans values in sp.h to be
457 * loop. This required the DES_SPtrans values in sp.h to be rotated 1 bit to
552 const uint8_t *in = in_block->bytes;
555 c2l(in, l);
557 c2l(in, l);
567 void DES_ncbc_encrypt(const uint8_t *in, uint8_t *out, size_t len,
581 c2l(in, tin0);
582 c2l(in, tin1);
594 c2ln(in, tin0, tin1, len);
612 c2l(in, tin0);
614 c2l(in, tin1);
625 c2l(in, tin0);
627 c2l(in, tin1);
648 const uint8_t *in = input->bytes;
651 c2l(in, l0);
652 c2l(in, l1);
666 void DES_ede3_cbc_encrypt(const uint8_t *in, uint8_t *out, size_t len,
682 c2l(in, tin0);
683 c2l(in, tin1);
697 c2ln(in, tin0, tin1, len);
719 c2l(in, tin0);
720 c2l(in, tin1);
739 c2l(in, tin0);
740 c2l(in, tin1);
766 void DES_ede2_cbc_encrypt(const uint8_t *in, uint8_t *out, size_t len,
771 DES_ede3_cbc_encrypt(in, out, len, ks1, ks2, ks1, ivec, enc);