diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2014-02-20 23:15:24 -0800 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2014-02-20 23:15:24 -0800 |
commit | 926cd095fc01cadd4fd139b55df6f0c139207a01 (patch) | |
tree | 88daec35b3999be6c86329d96f23a917abd7b99a /common/ssl_calls.h | |
parent | b81bd005bf52dabf3ca054050a9be9a40929a8f3 (diff) | |
download | xrdp-proprietary-926cd095fc01cadd4fd139b55df6f0c139207a01.tar.gz xrdp-proprietary-926cd095fc01cadd4fd139b55df6f0c139207a01.zip |
common: added des3 calls for fips
Diffstat (limited to 'common/ssl_calls.h')
-rw-r--r-- | common/ssl_calls.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/common/ssl_calls.h b/common/ssl_calls.h index 3b59537a..ab29675c 100644 --- a/common/ssl_calls.h +++ b/common/ssl_calls.h @@ -1,7 +1,7 @@ /** * xrdp: A Remote Desktop Protocol server. * - * Copyright (C) Jay Sorg 2004-2013 + * Copyright (C) Jay Sorg 2004-2014 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -53,6 +53,16 @@ void APP_CC ssl_md5_transform(void* md5_info, char* data, int len); void APP_CC ssl_md5_complete(void* md5_info, char* data); +void *APP_CC +ssl_des3_encrypt_info_create(const char *key, const char* ivec); +void *APP_CC +ssl_des3_decrypt_info_create(const char *key, const char* ivec); +void APP_CC +ssl_des3_info_delete(void *des3); +int APP_CC +ssl_des3_encrypt(void *des3, int length, const char *in_data, char *out_data); +int APP_CC +ssl_des3_decrypt(void *des3, int length, const char *in_data, char *out_data); int APP_CC ssl_mod_exp(char* out, int out_len, char* in, int in_len, char* mod, int mod_len, char* exp, int exp_len); |