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
74 # define M_do_cipher(ctx, out, in, inl) FIPS_cipher(ctx, out, in, inl)
76 # define M_do_cipher(ctx, out, in, inl) ctx->cipher->do_cipher(ctx, out, in, inl)
214 /* we assume block size is a power of 2 in *cryptUpdate */
271 const unsigned char *in, int inl)
274 return EVP_EncryptUpdate(ctx, out, outl, in, inl);
276 return EVP_DecryptUpdate(ctx, out, outl, in, inl);
323 const unsigned char *in, int inl)
328 i = M_do_cipher(ctx, out, in, inl);
342 if (M_do_cipher(ctx, out, in, inl)) {
355 memcpy(&(ctx->buf[i]), in, inl);
363 * Once we've processed the first j bytes from in, the amount of
374 memcpy(&(ctx->buf[i]), in, j);
378 in += j;
387 if (!M_do_cipher(ctx, out, in, inl))
393 memcpy(ctx->buf, &(in[inl]), i);
399 const unsigned char *in, int inl)
407 return evp_EncryptDecryptUpdate(ctx, out, outl, in, inl);
466 const unsigned char *in, int inl)
478 fix_len = M_do_cipher(ctx, out, in, inl);
493 return evp_EncryptDecryptUpdate(ctx, out, outl, in, inl);
518 if (!evp_EncryptDecryptUpdate(ctx, out, outl, in, inl))
698 int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in)
700 if ((in == NULL) || (in->cipher == NULL)) {
706 if (in->engine && !ENGINE_init(in->engine)) {
713 memcpy(out, in, sizeof(*out));
715 if (in->cipher_data && in->cipher->ctx_size) {
716 out->cipher_data = OPENSSL_malloc(in->cipher->ctx_size);
722 memcpy(out->cipher_data, in->cipher_data, in->cipher->ctx_size);
725 if (in->cipher->flags & EVP_CIPH_CUSTOM_COPY)
726 if (!in->cipher->ctrl((EVP_CIPHER_CTX *)in, EVP_CTRL_COPY, 0, out)) {