Lines Matching refs:out_len
248 int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len, in EVP_EncryptUpdate() argument
257 *out_len = i; in EVP_EncryptUpdate()
263 *out_len = 0; in EVP_EncryptUpdate()
269 *out_len = in_len; in EVP_EncryptUpdate()
272 *out_len = 0; in EVP_EncryptUpdate()
284 *out_len = 0; in EVP_EncryptUpdate()
295 *out_len = bl; in EVP_EncryptUpdate()
298 *out_len = 0; in EVP_EncryptUpdate()
307 *out_len += in_len; in EVP_EncryptUpdate()
317 int EVP_EncryptFinal_ex(EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len) { in EVP_EncryptFinal_ex() argument
326 *out_len = ret; in EVP_EncryptFinal_ex()
334 *out_len = 0; in EVP_EncryptFinal_ex()
345 *out_len = 0; in EVP_EncryptFinal_ex()
356 *out_len = b; in EVP_EncryptFinal_ex()
362 int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len, in EVP_DecryptUpdate() argument
370 *out_len = 0; in EVP_DecryptUpdate()
373 *out_len = r; in EVP_DecryptUpdate()
379 *out_len = 0; in EVP_DecryptUpdate()
384 return EVP_EncryptUpdate(ctx, out, out_len, in, in_len); in EVP_DecryptUpdate()
398 if (!EVP_EncryptUpdate(ctx, out, out_len, in, in_len)) { in EVP_DecryptUpdate()
405 *out_len -= b; in EVP_DecryptUpdate()
407 memcpy(ctx->final, &out[*out_len], b); in EVP_DecryptUpdate()
413 *out_len += b; in EVP_DecryptUpdate()
419 int EVP_DecryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out, int *out_len) { in EVP_DecryptFinal_ex() argument
422 *out_len = 0; in EVP_DecryptFinal_ex()
429 *out_len = i; in EVP_DecryptFinal_ex()
441 *out_len = 0; in EVP_DecryptFinal_ex()
472 *out_len = n; in EVP_DecryptFinal_ex()
474 *out_len = 0; in EVP_DecryptFinal_ex()
485 int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len, in EVP_CipherUpdate() argument
488 return EVP_EncryptUpdate(ctx, out, out_len, in, in_len); in EVP_CipherUpdate()
490 return EVP_DecryptUpdate(ctx, out, out_len, in, in_len); in EVP_CipherUpdate()
494 int EVP_CipherFinal_ex(EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len) { in EVP_CipherFinal_ex() argument
496 return EVP_EncryptFinal_ex(ctx, out, out_len); in EVP_CipherFinal_ex()
498 return EVP_DecryptFinal_ex(ctx, out, out_len); in EVP_CipherFinal_ex()