diff options
author | Paul Selkirk <paul@psgd.org> | 2020-02-26 14:06:16 -0500 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2020-02-26 14:06:49 -0500 |
commit | b983fd7369f0c09cf80657d25dc37bfce38b9606 (patch) | |
tree | 34a40c694e36d642b3ae437b09efd43dbe9481fd /hal.h | |
parent | f5cbba5b3b5c684ff86c7f9083aac79738e7103f (diff) | |
parent | e4fa00258cd920d4ea91b024ee007f5b44bac196 (diff) |
Merge branch 'js_keywrap' to 'master'
Diffstat (limited to 'hal.h')
-rw-r--r-- | hal.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -123,6 +123,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. @@ -377,6 +380,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, |