Lines Matching full:crypto
9 * @brief Crypto Cipher APIs
11 * This file contains the Crypto Abstraction layer APIs.
24 #include <zephyr/crypto/hash.h>
28 * @brief Crypto APIs
29 * @defgroup crypto Crypto
67 /** @brief Crypto driver API definition. */
71 /* Setup a crypto session */
79 /* Register async crypto op completion callback with the driver */
94 * The first two relate to crypto "session" setup / teardown. Further we
96 * actual crypto operation in the context of a session. Also we have an
101 * @brief Query the crypto hardware capabilities
104 * crypto device. Based on this the app can specify a subset of the supported
137 * @brief Crypto Cipher APIs
139 * @ingroup crypto
144 * @brief Setup a crypto session
156 * @param algo The crypto algorithm to be used in this session. e.g AES
194 * @brief Cleanup a crypto session
199 * @param ctx Pointer to the crypto context structure of the session
215 * @brief Registers an async crypto op completion callback with the driver
217 * The application can register an async crypto op completion callback handler
219 * cipher_do_op(). Based on crypto device hardware semantics, this is likely to
244 * @brief Perform single-block crypto operation (ECB cipher mode). This
247 * @param ctx Pointer to the crypto context of this op.
263 * @brief Perform Cipher Block Chaining (CBC) crypto operation.
265 * @param ctx Pointer to the crypto context of this op.
284 * @brief Perform Counter (CTR) mode crypto operation.
286 * @param ctx Pointer to the crypto context of this op.
296 * and is fully managed by the crypto provider.
311 * @brief Perform Counter with CBC-MAC (CCM) mode crypto operation
313 * @param ctx Pointer to the crypto context of this op.
333 * @brief Perform Galois/Counter Mode (GCM) crypto operation
335 * @param ctx Pointer to the crypto context of this op.
360 * @brief Crypto Hash APIs
362 * @ingroup crypto
414 * @param ctx Pointer to the crypto hash context structure of the session
434 * hash_compute(). Based on crypto device hardware semantics, this is likely to