20#ifndef CRYPTO_MANAGEMENT_H
21#define CRYPTO_MANAGEMENT_H
30#if !defined(MBEDTLS_CONFIG_FILE)
33#include MBEDTLS_CONFIG_FILE
40#if defined( CRYPTO_PRESENT )
48#define CRYPTO_MANAGEMENT_SAVE_DDATA0 (0x1U << 3)
50#define CRYPTO_MANAGEMENT_SAVE_DDATA1 (0x1U << 4)
52#define CRYPTO_MANAGEMENT_SAVE_DDATA2 (0x1U << 5)
54#define CRYPTO_MANAGEMENT_SAVE_DDATA3 (0x1U << 6)
56#define CRYPTO_MANAGEMENT_SAVE_DDATA4 (0x1U << 7)
58#define CRYPTO_MANAGEMENT_SAVE_UPTO_SEQ0 (0x1U)
60#define CRYPTO_MANAGEMENT_SAVE_UPTO_SEQ1 (0x2U)
62#define CRYPTO_MANAGEMENT_SAVE_UPTO_SEQ2 (0x3U)
64#define CRYPTO_MANAGEMENT_SAVE_UPTO_SEQ3 (0x4U)
66#define CRYPTO_MANAGEMENT_SAVE_UPTO_SEQ4 (0x5U)
73CRYPTO_TypeDef *crypto_management_acquire(
void );
80CRYPTO_TypeDef *crypto_management_acquire_default(
void );
87void crypto_management_release( CRYPTO_TypeDef *device );
101CRYPTO_TypeDef *crypto_management_acquire_preemption( uint32_t regmask );
111void crypto_management_release_preemption( CRYPTO_TypeDef *device );
Configuration options (set of defines)