Mistake on this page?
Report an issue in GitHub or email us
crypto_driver_common.h File Reference

Definitions for all PSA crypto drivers. More...

#include <stddef.h>
#include <stdint.h>
#include "crypto_types.h"
#include "crypto_values.h"

Go to the source code of this file.


Detailed Description

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 driver for a chip that provides both a hardware random generator and an accelerator for some cryptographic algorithms, include psa/crypto_entropy_driver.h and psa/crypto_accel_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.

Definition in file crypto_driver_common.h.

Enumeration Type Documentation

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

Definition at line 49 of file crypto_driver_common.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.