Lines Matching refs:out

35  *    The word 'cryptographic' can be left out if the rouines from the library
224 int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl,
228 return EVP_EncryptUpdate(ctx,out,outl,in,inl);
229 else return EVP_DecryptUpdate(ctx,out,outl,in,inl);
232 int EVP_CipherFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl)
235 return EVP_EncryptFinal_ex(ctx,out,outl);
236 else return EVP_DecryptFinal_ex(ctx,out,outl);
239 int EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl)
242 return EVP_EncryptFinal(ctx,out,outl);
243 else return EVP_DecryptFinal(ctx,out,outl);
270 int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl,
278 if(ctx->cipher->do_cipher(ctx,out,in,inl))
305 if(!ctx->cipher->do_cipher(ctx,out,ctx->buf,bl)) return 0;
308 out+=bl;
318 if(!ctx->cipher->do_cipher(ctx,out,in,inl)) return 0;
328 int EVP_EncryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl)
331 ret = EVP_EncryptFinal_ex(ctx, out, outl);
335 int EVP_EncryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl)
362 ret=ctx->cipher->do_cipher(ctx,out,ctx->buf,b);
371 int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl,
384 return EVP_EncryptUpdate(ctx, out, outl, in, inl);
391 memcpy(out,ctx->final,b);
392 out+=b;
399 if(!EVP_EncryptUpdate(ctx,out,outl,in,inl))
408 memcpy(ctx->final,&out[*outl],b);
419 int EVP_DecryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl)
422 ret = EVP_DecryptFinal_ex(ctx, out, outl);
426 int EVP_DecryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl)
467 out[i]=ctx->final[i];