Lines Matching refs:olen
620 size_t ilen, unsigned char *output, size_t *olen) in mbedtls_cipher_update() argument
638 *olen = 0; in mbedtls_cipher_update()
649 *olen = ilen; in mbedtls_cipher_update()
664 output, ilen, olen); in mbedtls_cipher_update()
672 output, ilen, olen); in mbedtls_cipher_update()
678 *olen = ilen; in mbedtls_cipher_update()
727 *olen += block_size; in mbedtls_cipher_update()
769 *olen += ilen; in mbedtls_cipher_update()
786 *olen = ilen; in mbedtls_cipher_update()
802 *olen = ilen; in mbedtls_cipher_update()
819 *olen = ilen; in mbedtls_cipher_update()
842 *olen = ilen; in mbedtls_cipher_update()
856 *olen = ilen; in mbedtls_cipher_update()
1060 unsigned char *output, size_t *olen) in mbedtls_cipher_finish() argument
1075 *olen = 0; in mbedtls_cipher_finish()
1152 olen); in mbedtls_cipher_finish()
1156 *olen = mbedtls_cipher_get_block_size(ctx); in mbedtls_cipher_finish()
1357 unsigned char *output, size_t *olen) in mbedtls_cipher_crypt() argument
1405 output, ilen, olen); in mbedtls_cipher_crypt()
1411 output + *olen, ilen - *olen, in mbedtls_cipher_crypt()
1417 *olen += part_len; in mbedtls_cipher_crypt()
1431 output, olen)) != 0) { in mbedtls_cipher_crypt()
1435 if ((ret = mbedtls_cipher_finish(ctx, output + *olen, in mbedtls_cipher_crypt()
1440 *olen += finish_olen; in mbedtls_cipher_crypt()
1454 unsigned char *output, size_t *olen, in mbedtls_cipher_aead_encrypt() argument
1480 output, ilen + tag_len, olen); in mbedtls_cipher_aead_encrypt()
1485 *olen -= tag_len; in mbedtls_cipher_aead_encrypt()
1492 *olen = ilen; in mbedtls_cipher_aead_encrypt()
1500 *olen = ilen; in mbedtls_cipher_aead_encrypt()
1514 *olen = ilen; in mbedtls_cipher_aead_encrypt()
1531 unsigned char *output, size_t *olen, in mbedtls_cipher_aead_decrypt() argument
1557 output, ilen, olen); in mbedtls_cipher_aead_decrypt()
1572 *olen = ilen; in mbedtls_cipher_aead_decrypt()
1588 *olen = ilen; in mbedtls_cipher_aead_decrypt()
1610 *olen = ilen; in mbedtls_cipher_aead_decrypt()
1635 size_t *olen, size_t tag_len) in mbedtls_cipher_auth_encrypt_ext() argument
1658 output, olen, output_len); in mbedtls_cipher_auth_encrypt_ext()
1669 input, ilen, output, olen, in mbedtls_cipher_auth_encrypt_ext()
1671 *olen += tag_len; in mbedtls_cipher_auth_encrypt_ext()
1686 size_t *olen, size_t tag_len) in mbedtls_cipher_auth_decrypt_ext() argument
1709 output, olen, output_len); in mbedtls_cipher_auth_decrypt_ext()
1720 input, ilen - tag_len, output, olen, in mbedtls_cipher_auth_decrypt_ext()