Lines Matching refs:nonce
130 const unsigned char nonce[12], in mbedtls_chachapoly_starts()
136 CHACHAPOLY_VALIDATE_RET( nonce != NULL ); in mbedtls_chachapoly_starts()
139 ret = mbedtls_chacha20_starts( &ctx->chacha20_ctx, nonce, 0U ); in mbedtls_chachapoly_starts()
295 const unsigned char nonce[12], in chachapoly_crypt_and_tag()
304 ret = mbedtls_chachapoly_starts( ctx, nonce, mode ); in chachapoly_crypt_and_tag()
324 const unsigned char nonce[12], in mbedtls_chachapoly_encrypt_and_tag()
332 CHACHAPOLY_VALIDATE_RET( nonce != NULL ); in mbedtls_chachapoly_encrypt_and_tag()
339 length, nonce, aad, aad_len, in mbedtls_chachapoly_encrypt_and_tag()
345 const unsigned char nonce[12], in mbedtls_chachapoly_auth_decrypt()
357 CHACHAPOLY_VALIDATE_RET( nonce != NULL ); in mbedtls_chachapoly_auth_decrypt()
364 MBEDTLS_CHACHAPOLY_DECRYPT, length, nonce, in mbedtls_chachapoly_auth_decrypt()