diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-03-18 01:00:38 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-03-18 01:00:38 +0000 |
commit | 6e3bc4f0730a3cb7d2d263153cb234da51637b38 (patch) | |
tree | 4014d7cad18d13c1483b6f5fd580c2deda17ccee /crypto/aes/aes.h | |
parent | c36e936b60abcc426b74135b9ce4fd2950725c68 (diff) |
More support for KEK RecipientInfo.
Generalise RecipientInfo and enveloped data handling so applications can
add their own key lookup routines as well as using the standard ones.
Diffstat (limited to 'crypto/aes/aes.h')
-rw-r--r-- | crypto/aes/aes.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/aes/aes.h b/crypto/aes/aes.h index 949a754a0f..51f91e6079 100644 --- a/crypto/aes/aes.h +++ b/crypto/aes/aes.h @@ -128,6 +128,13 @@ void AES_bi_ige_encrypt(const unsigned char *in, unsigned char *out, const AES_KEY *key2, const unsigned char *ivec, const int enc); +int AES_wrap_key(AES_KEY *key, const unsigned char *iv, + unsigned char *out, + const unsigned char *in, unsigned int inlen); +int AES_unwrap_key(AES_KEY *key, const unsigned char *iv, + unsigned char *out, + const unsigned char *in, unsigned int inlen); + #ifdef __cplusplus } |