Lines Matching refs:olen
580 size_t ilen, unsigned char *output, size_t *olen) in mbedtls_cipher_update() argument
598 *olen = 0; in mbedtls_cipher_update()
609 *olen = ilen; in mbedtls_cipher_update()
624 output, ilen, olen); in mbedtls_cipher_update()
632 output, ilen, olen); in mbedtls_cipher_update()
638 *olen = ilen; in mbedtls_cipher_update()
687 *olen += block_size; in mbedtls_cipher_update()
729 *olen += ilen; in mbedtls_cipher_update()
746 *olen = ilen; in mbedtls_cipher_update()
762 *olen = ilen; in mbedtls_cipher_update()
779 *olen = ilen; in mbedtls_cipher_update()
802 *olen = ilen; in mbedtls_cipher_update()
816 *olen = ilen; in mbedtls_cipher_update()
1015 unsigned char *output, size_t *olen) in mbedtls_cipher_finish() argument
1030 *olen = 0; in mbedtls_cipher_finish()
1107 olen); in mbedtls_cipher_finish()
1111 *olen = mbedtls_cipher_get_block_size(ctx); in mbedtls_cipher_finish()
1312 unsigned char *output, size_t *olen) in mbedtls_cipher_crypt() argument
1360 output, ilen, olen); in mbedtls_cipher_crypt()
1366 output + *olen, ilen - *olen, in mbedtls_cipher_crypt()
1372 *olen += part_len; in mbedtls_cipher_crypt()
1386 output, olen)) != 0) { in mbedtls_cipher_crypt()
1390 if ((ret = mbedtls_cipher_finish(ctx, output + *olen, in mbedtls_cipher_crypt()
1395 *olen += finish_olen; in mbedtls_cipher_crypt()
1409 unsigned char *output, size_t *olen, in mbedtls_cipher_aead_encrypt() argument
1435 output, ilen + tag_len, olen); in mbedtls_cipher_aead_encrypt()
1440 *olen -= tag_len; in mbedtls_cipher_aead_encrypt()
1447 *olen = ilen; in mbedtls_cipher_aead_encrypt()
1455 *olen = ilen; in mbedtls_cipher_aead_encrypt()
1469 *olen = ilen; in mbedtls_cipher_aead_encrypt()
1486 unsigned char *output, size_t *olen, in mbedtls_cipher_aead_decrypt() argument
1512 output, ilen, olen); in mbedtls_cipher_aead_decrypt()
1527 *olen = ilen; in mbedtls_cipher_aead_decrypt()
1543 *olen = ilen; in mbedtls_cipher_aead_decrypt()
1565 *olen = ilen; in mbedtls_cipher_aead_decrypt()
1590 size_t *olen, size_t tag_len) in mbedtls_cipher_auth_encrypt_ext() argument
1613 output, olen, output_len); in mbedtls_cipher_auth_encrypt_ext()
1624 input, ilen, output, olen, in mbedtls_cipher_auth_encrypt_ext()
1626 *olen += tag_len; in mbedtls_cipher_auth_encrypt_ext()
1641 size_t *olen, size_t tag_len) in mbedtls_cipher_auth_decrypt_ext() argument
1664 output, olen, output_len); in mbedtls_cipher_auth_decrypt_ext()
1675 input, ilen - tag_len, output, olen, in mbedtls_cipher_auth_decrypt_ext()