• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/evp/

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
191 /* we assume block size is a power of 2 in *cryptUpdate */
233 const unsigned char *in, int inl)
236 return EVP_EncryptUpdate(ctx,out,outl,in,inl);
237 else return EVP_DecryptUpdate(ctx,out,outl,in,inl);
279 const unsigned char *in, int inl)
291 if(ctx->cipher->do_cipher(ctx,out,in,inl))
309 memcpy(&(ctx->buf[i]),in,inl);
317 memcpy(&(ctx->buf[i]),in,j);
320 in+=j;
331 if(!ctx->cipher->do_cipher(ctx,out,in,inl)) return 0;
336 memcpy(ctx->buf,&(in[inl]),i);
385 const unsigned char *in, int inl)
397 return EVP_EncryptUpdate(ctx, out, outl, in, inl);
412 if(!EVP_EncryptUpdate(ctx,out,outl,in,inl))
570 int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in)
572 if ((in == NULL) || (in->cipher == NULL))
579 if (in->engine && !ENGINE_init(in->engine))
587 memcpy(out,in,sizeof *out);
589 if (in->cipher_data && in->cipher->ctx_size)
591 out->cipher_data=OPENSSL_malloc(in->cipher->ctx_size);
597 memcpy(out->cipher_data,in->cipher_data,in->cipher->ctx_size);
600 if (in->cipher->flags & EVP_CIPH_CUSTOM_COPY)
601 return in->cipher->ctrl((EVP_CIPHER_CTX *)in, EVP_CTRL_COPY, 0, out);