123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- #ifndef NRF_CRYPTO_HMAC_BACKEND_H__
- #define NRF_CRYPTO_HMAC_BACKEND_H__
- #include "sdk_common.h"
- #include "nrf_crypto_hmac_shared.h"
- #include "mbedtls_backend_hmac.h"
- #include "cc310_backend_hmac.h"
- #include "oberon_backend_hmac.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- #ifndef NRF_CRYPTO_HMAC_SHA256_ENABLED
- typedef nrf_crypto_hmac_internal_context_t nrf_crypto_backend_hmac_sha256_context_t;
- #endif
- #ifndef NRF_CRYPTO_HMAC_SHA512_ENABLED
- typedef nrf_crypto_hmac_internal_context_t nrf_crypto_backend_hmac_sha512_context_t;
- #endif
- typedef union
- {
- nrf_crypto_backend_hmac_sha256_context_t hmac_sha256_context;
- nrf_crypto_backend_hmac_sha512_context_t hmac_sha512_context;
- } nrf_crypto_backend_hmac_context_t;
- #ifdef __cplusplus
- }
- #endif
- #endif
|