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
70 # define M_do_cipher(ctx, out, in, inl) \
71 EVP_Cipher(ctx,out,in,inl)
73 # define M_do_cipher(ctx, out, in, inl) \
74 ctx->cipher->do_cipher(ctx,out,in,inl)
96 const unsigned char *in, int inl)
99 return EVP_EncryptUpdate(ctx, out, outl, in, inl);
101 return EVP_DecryptUpdate(ctx, out, outl, in, inl);
147 const unsigned char *in, int inl)
157 if (M_do_cipher(ctx, out, in, inl)) {
170 memcpy(&(ctx->buf[i]), in, inl);
176 memcpy(&(ctx->buf[i]), in, j);
180 in += j;
189 if (!M_do_cipher(ctx, out, in, inl))
195 memcpy(ctx->buf, &(in[inl]), i);
241 const unsigned char *in, int inl)
252 return EVP_EncryptUpdate(ctx, out, outl, in, inl);
264 if (!EVP_EncryptUpdate(ctx, out, outl, in, inl))