diff options
Diffstat (limited to 'board/cr50/dcrypto/internal.h')
-rw-r--r-- | board/cr50/dcrypto/internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/board/cr50/dcrypto/internal.h b/board/cr50/dcrypto/internal.h index 638c6357f8..696ad2de9d 100644 --- a/board/cr50/dcrypto/internal.h +++ b/board/cr50/dcrypto/internal.h @@ -188,6 +188,12 @@ void HMAC_SHA256_hw_init(struct hmac_sha256_ctx *ctx, const void *key, const struct sha256_digest *HMAC_SHA256_hw_final(struct hmac_sha256_ctx *ctx); /* + * Hardware AES. + */ +enum dcrypto_result dcrypto_aes_init(const uint8_t *key, size_t key_len, + const uint8_t *iv, enum cipher_mode c_mode, + enum encrypt_mode e_mode); +/* * BIGNUM. */ #define LITE_BN_BITS2 32 |