diff options
author | Matt Braithwaite <mab@google.com> | 2015-08-01 00:42:36 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-08-01 01:26:15 +0300 |
commit | 2f252fed10e14ecd8b926aadf9a2f6075c5db1c0 (patch) | |
tree | d2c663a204d2ddb5485bb53965f7fafc35cac1ea /include/openssl/des.h | |
parent | c5b23a19ea18d429774eaada2666ab08f8131eb2 (diff) |
Add |DES_set_key_unchecked| as an alias for |DES_set_key|.
Change-Id: I00296b0602a95b51366586b30ccd95261dd7007b
Reviewed-on: https://boringssl-review.googlesource.com/5532
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/des.h')
-rw-r--r-- | include/openssl/des.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/openssl/des.h b/include/openssl/des.h index aa92c7b1..25a74686 100644 --- a/include/openssl/des.h +++ b/include/openssl/des.h @@ -144,6 +144,10 @@ OPENSSL_EXPORT void DES_ede2_cbc_encrypt(const uint8_t *in, uint8_t *out, /* Deprecated functions. */ +/* DES_set_key_unchecked calls |DES_set_key|. */ +OPENSSL_EXPORT void DES_set_key_unchecked(const DES_cblock *key, + DES_key_schedule *schedule); + OPENSSL_EXPORT void DES_ede3_cfb64_encrypt(const uint8_t *in, uint8_t *out, long length, DES_key_schedule *ks1, DES_key_schedule *ks2, |