diff options
author | Paul Selkirk <paul@psgd.org> | 2018-08-15 17:30:14 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2019-04-09 18:05:09 -0400 |
commit | 985be957079973244e0e9cbef9c5d0db90c96bf0 (patch) | |
tree | c4afc4d0696ad6f4d57318c125268db495e4a959 /hal.h | |
parent | 1c07fa52b09b04f0cd3807bf11005b03739d1c2a (diff) |
Add support for Joachim's keywrap core.
Diffstat (limited to 'hal.h')
-rw-r--r-- | hal.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -118,6 +118,9 @@ #define ECDSA384_NAME "ecdsa384" #define ECDSA384_VERSION "0.20" +#define KEYWRAP_NAME "key wrap" +#define KEYWRAP_VERSION "0.70" + /* * C API error codes. Defined in this form so we can keep the tokens * and error strings together. See errorstrings.c. @@ -372,6 +375,8 @@ extern const hal_hash_descriptor_t *hal_hmac_get_descriptor(const hal_hmac_state * AES key wrap functions. */ +extern int hal_aes_use_keywrap_core(int onoff); + extern hal_error_t hal_aes_keywrap(hal_core_t *core, const uint8_t *kek, const size_t kek_length, const uint8_t *plaintext, const size_t plaintext_length, |