Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
crypto_driver_api Struct Reference

Crypto driver API definition. More...

#include <crypto.h>

Data Fields

int(* query_hw_caps )(const struct device *dev)
 
int(* cipher_begin_session )(const struct device *dev, struct cipher_ctx *ctx, enum cipher_algo algo, enum cipher_mode mode, enum cipher_op op_type)
 
int(* cipher_free_session )(const struct device *dev, struct cipher_ctx *ctx)
 
int(* cipher_async_callback_set )(const struct device *dev, cipher_completion_cb cb)
 
int(* hash_begin_session )(const struct device *dev, struct hash_ctx *ctx, enum hash_algo algo)
 
int(* hash_free_session )(const struct device *dev, struct hash_ctx *ctx)
 
int(* hash_async_callback_set )(const struct device *dev, hash_completion_cb cb)
 

Detailed Description

Crypto driver API definition.

Field Documentation

◆ cipher_async_callback_set

int(* crypto_driver_api::cipher_async_callback_set) (const struct device *dev, cipher_completion_cb cb)

◆ cipher_begin_session

int(* crypto_driver_api::cipher_begin_session) (const struct device *dev, struct cipher_ctx *ctx, enum cipher_algo algo, enum cipher_mode mode, enum cipher_op op_type)

◆ cipher_free_session

int(* crypto_driver_api::cipher_free_session) (const struct device *dev, struct cipher_ctx *ctx)

◆ hash_async_callback_set

int(* crypto_driver_api::hash_async_callback_set) (const struct device *dev, hash_completion_cb cb)

◆ hash_begin_session

int(* crypto_driver_api::hash_begin_session) (const struct device *dev, struct hash_ctx *ctx, enum hash_algo algo)

◆ hash_free_session

int(* crypto_driver_api::hash_free_session) (const struct device *dev, struct hash_ctx *ctx)

◆ query_hw_caps

int(* crypto_driver_api::query_hw_caps) (const struct device *dev)

The documentation for this struct was generated from the following file: