diff options
Diffstat (limited to 'crypto/modes/modes.h')
-rw-r--r-- | crypto/modes/modes.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/modes/modes.h b/crypto/modes/modes.h index 880f020d58e2a..fd488499a0b49 100644 --- a/crypto/modes/modes.h +++ b/crypto/modes/modes.h @@ -148,6 +148,16 @@ int CRYPTO_xts128_encrypt(const XTS128_CONTEXT *ctx, const unsigned char *inp, unsigned char *out, size_t len, int enc); +size_t CRYPTO_128_wrap(void *key, const unsigned char *iv, + unsigned char *out, + const unsigned char *in, size_t inlen, + block128_f block); + +size_t CRYPTO_128_unwrap(void *key, const unsigned char *iv, + unsigned char *out, + const unsigned char *in, size_t inlen, + block128_f block); + #ifdef __cplusplus } #endif |