Lines Matching refs:length
280 size_t length, in chachapoly_crypt_and_tag() argument
298 ret = mbedtls_chachapoly_update( ctx, length, input, output ); in chachapoly_crypt_and_tag()
309 size_t length, in mbedtls_chachapoly_encrypt_and_tag() argument
321 CHACHAPOLY_VALIDATE_RET( length == 0 || input != NULL ); in mbedtls_chachapoly_encrypt_and_tag()
322 CHACHAPOLY_VALIDATE_RET( length == 0 || output != NULL ); in mbedtls_chachapoly_encrypt_and_tag()
325 length, nonce, aad, aad_len, in mbedtls_chachapoly_encrypt_and_tag()
330 size_t length, in mbedtls_chachapoly_auth_decrypt() argument
346 CHACHAPOLY_VALIDATE_RET( length == 0 || input != NULL ); in mbedtls_chachapoly_auth_decrypt()
347 CHACHAPOLY_VALIDATE_RET( length == 0 || output != NULL ); in mbedtls_chachapoly_auth_decrypt()
350 MBEDTLS_CHACHAPOLY_DECRYPT, length, nonce, in mbedtls_chachapoly_auth_decrypt()
362 mbedtls_platform_zeroize( output, length ); in mbedtls_chachapoly_auth_decrypt()