123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- #ifndef NRF_CRYPTO_HASH_BACKEND_H__
- #define NRF_CRYPTO_HASH_BACKEND_H__
- #include "sdk_common.h"
- #include "cc310_backend_hash.h"
- #include "mbedtls_backend_hash.h"
- #include "oberon_backend_hash.h"
- #include "cc310_bl_backend_hash.h"
- #include "nrf_sw_backend_hash.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- #if !NRF_MODULE_ENABLED(NRF_CRYPTO_HASH_SHA256)
- typedef nrf_crypto_hash_internal_context_t nrf_crypto_backend_hash_sha256_context_t;
- #endif
- #if !NRF_MODULE_ENABLED(NRF_CRYPTO_HASH_SHA512)
- typedef nrf_crypto_hash_internal_context_t nrf_crypto_backend_hash_sha512_context_t;
- #endif
- typedef union
- {
- nrf_crypto_backend_hash_sha256_context_t hash_sha256_context;
- nrf_crypto_backend_hash_sha512_context_t hash_sha512_context;
- } nrf_crypto_backend_hash_context_t;
- #ifdef __cplusplus
- }
- #endif
- #endif
|