Lines Matching refs:out_len

259 int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len,  in EVP_EncryptUpdate()  argument
268 *out_len = i; in EVP_EncryptUpdate()
274 *out_len = 0; in EVP_EncryptUpdate()
280 *out_len = in_len; in EVP_EncryptUpdate()
283 *out_len = 0; in EVP_EncryptUpdate()
295 *out_len = 0; in EVP_EncryptUpdate()
306 *out_len = bl; in EVP_EncryptUpdate()
309 *out_len = 0; in EVP_EncryptUpdate()
318 *out_len += in_len; in EVP_EncryptUpdate()
328 int EVP_EncryptFinal_ex(EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len) { in EVP_EncryptFinal_ex() argument
337 *out_len = ret; in EVP_EncryptFinal_ex()
345 *out_len = 0; in EVP_EncryptFinal_ex()
355 *out_len = 0; in EVP_EncryptFinal_ex()
366 *out_len = b; in EVP_EncryptFinal_ex()
372 int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len, in EVP_DecryptUpdate() argument
380 *out_len = 0; in EVP_DecryptUpdate()
383 *out_len = r; in EVP_DecryptUpdate()
389 *out_len = 0; in EVP_DecryptUpdate()
394 return EVP_EncryptUpdate(ctx, out, out_len, in, in_len); in EVP_DecryptUpdate()
408 if (!EVP_EncryptUpdate(ctx, out, out_len, in, in_len)) { in EVP_DecryptUpdate()
415 *out_len -= b; in EVP_DecryptUpdate()
417 OPENSSL_memcpy(ctx->final, &out[*out_len], b); in EVP_DecryptUpdate()
423 *out_len += b; in EVP_DecryptUpdate()
429 int EVP_DecryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out, int *out_len) { in EVP_DecryptFinal_ex() argument
432 *out_len = 0; in EVP_DecryptFinal_ex()
439 *out_len = i; in EVP_DecryptFinal_ex()
450 *out_len = 0; in EVP_DecryptFinal_ex()
480 *out_len = n; in EVP_DecryptFinal_ex()
482 *out_len = 0; in EVP_DecryptFinal_ex()
493 int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len, in EVP_CipherUpdate() argument
496 return EVP_EncryptUpdate(ctx, out, out_len, in, in_len); in EVP_CipherUpdate()
498 return EVP_DecryptUpdate(ctx, out, out_len, in, in_len); in EVP_CipherUpdate()
502 int EVP_CipherFinal_ex(EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len) { in EVP_CipherFinal_ex() argument
504 return EVP_EncryptFinal_ex(ctx, out, out_len); in EVP_CipherFinal_ex()
506 return EVP_DecryptFinal_ex(ctx, out, out_len); in EVP_CipherFinal_ex()