Lines Matching refs:olen

271                    size_t ilen, unsigned char *output, size_t *olen )  in mbedtls_cipher_update()  argument
276 if( NULL == ctx || NULL == ctx->cipher_info || NULL == olen ) in mbedtls_cipher_update()
281 *olen = 0; in mbedtls_cipher_update()
289 *olen = ilen; in mbedtls_cipher_update()
303 *olen = ilen; in mbedtls_cipher_update()
357 *olen += block_size; in mbedtls_cipher_update()
397 *olen += ilen; in mbedtls_cipher_update()
414 *olen = ilen; in mbedtls_cipher_update()
430 *olen = ilen; in mbedtls_cipher_update()
445 *olen = ilen; in mbedtls_cipher_update()
627 unsigned char *output, size_t *olen ) in mbedtls_cipher_finish() argument
629 if( NULL == ctx || NULL == ctx->cipher_info || NULL == olen ) in mbedtls_cipher_finish()
632 *olen = 0; in mbedtls_cipher_finish()
692 olen ); in mbedtls_cipher_finish()
695 *olen = mbedtls_cipher_get_block_size( ctx ); in mbedtls_cipher_finish()
815 unsigned char *output, size_t *olen ) in mbedtls_cipher_crypt() argument
826 if( ( ret = mbedtls_cipher_update( ctx, input, ilen, output, olen ) ) != 0 ) in mbedtls_cipher_crypt()
829 if( ( ret = mbedtls_cipher_finish( ctx, output + *olen, &finish_olen ) ) != 0 ) in mbedtls_cipher_crypt()
832 *olen += finish_olen; in mbedtls_cipher_crypt()
845 unsigned char *output, size_t *olen, in mbedtls_cipher_auth_encrypt() argument
851 *olen = ilen; in mbedtls_cipher_auth_encrypt()
860 *olen = ilen; in mbedtls_cipher_auth_encrypt()
877 unsigned char *output, size_t *olen, in mbedtls_cipher_auth_decrypt() argument
885 *olen = ilen; in mbedtls_cipher_auth_decrypt()
901 *olen = ilen; in mbedtls_cipher_auth_decrypt()