Home
last modified time | relevance | path

Searched refs:crypto_dev (Results 1 – 1 of 1) sorted by relevance

/Zephyr-4.2.1/tests/crypto/crypto_aes/src/
Dmain.c119 static const struct device *crypto_dev; variable
123 crypto_dev = get_crypto_dev(); in crypto_aes_setup()
124 zassert_true(crypto_dev && device_is_ready(crypto_dev), "Crypto device is not ready"); in crypto_aes_setup()
153 int rc = cipher_begin_session(crypto_dev, &ctx, CRYPTO_CIPHER_ALGO_AES, in ZTEST()
163 cipher_free_session(crypto_dev, &ctx); in ZTEST()
169 cipher_free_session(crypto_dev, &ctx); in ZTEST()
189 int rc = cipher_begin_session(crypto_dev, &ctx, CRYPTO_CIPHER_ALGO_AES, in ZTEST()
199 cipher_free_session(crypto_dev, &ctx); in ZTEST()
205 cipher_free_session(crypto_dev, &ctx); in ZTEST()
230 int rc = cipher_begin_session(crypto_dev, &ctx, CRYPTO_CIPHER_ALGO_AES, in ZTEST()
[all …]