TuyaOS
枚举
crypto_driver_common.h 文件参考

Definitions for all PSA crypto drivers 更多...

#include <stddef.h>
#include <stdint.h>
#include "crypto_types.h"
#include "crypto_values.h"
#include <psa/crypto_sizes.h>
crypto_driver_common.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

枚举

enum  psa_encrypt_or_decrypt_t { PSA_CRYPTO_DRIVER_DECRYPT , PSA_CRYPTO_DRIVER_ENCRYPT }
 

详细描述

Definitions for all PSA crypto drivers

This file contains common definitions shared by all PSA crypto drivers. Do not include it directly: instead, include the header file(s) for the type(s) of driver that you are implementing. For example, if you are writing a dynamically registered driver for a secure element, include psa/crypto_se_driver.h.

This file is part of the PSA Crypto Driver Model, containing functions for driver developers to implement to enable hardware to be called in a standardized way by a PSA Cryptographic API implementation. The functions comprising the driver model, which driver authors implement, are not intended to be called by application developers.

枚举类型说明

◆ psa_encrypt_or_decrypt_t

For encrypt-decrypt functions, whether the operation is an encryption or a decryption.