hcrypto: Add exports for more crypto algorithms
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 12 Apr 2013 13:57:44 +0000 (14:57 +0100)
committerJeffrey Altman <jaltman@your-file-system.com>
Tue, 9 Jul 2013 04:26:05 +0000 (21:26 -0700)
Export some additional algorithms so we can make use
of them elsewhere in the code.

Change-Id: I676318a872a1e7b537112a3d60dac2edff478ae6
Reviewed-on: http://gerrit.openafs.org/10047
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Simon Wilkinson <simonxwilkinson@gmail.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

src/crypto/hcrypto/afshcrypto.def
src/crypto/hcrypto/libafshcrypto.map

index 00df6ba..1c41e52 100644 (file)
@@ -17,3 +17,25 @@ EXPORTS
        hc_UI_UTIL_read_pw_string               @16
        hc_DES_is_weak_key                      @17
        hc_DES_check_key_parity                 @18
+       hc_EVP_CIPHER_CTX_block_size            @19
+       hc_EVP_CIPHER_CTX_cleanup               @20
+       hc_EVP_CIPHER_CTX_init                  @21
+       hc_EVP_CIPHER_CTX_iv_length             @22
+       hc_EVP_Cipher                           @23
+       hc_EVP_CipherInit_ex                    @24
+       hc_EVP_Digest                           @25
+       hc_EVP_DigestFinal_ex                   @26
+       hc_EVP_DigestInit_ex                    @27
+       hc_EVP_DigestUpdate                     @28
+       hc_EVP_MD_CTX_create                    @29
+       hc_EVP_MD_CTX_destroy                   @30
+       hc_EVP_aes_128_cbc                      @31
+       hc_EVP_aes_256_cbc                      @32
+       hc_EVP_des_ede3_cbc                     @33
+       hc_EVP_md5                              @34
+       hc_EVP_rc4                              @35
+       hc_EVP_sha1                             @36
+       hc_RAND_status                          @37
+       hc_RAND_file_name                       @38
+       hc_RAND_add                             @39
+       hc_RAND_write_file                      @40
index e3a038a..a123c0a 100644 (file)
        hc_MD5_Update;
        hc_RAND_bytes;
        hc_UI_UTIL_read_pw_string;
+       hc_EVP_CIPHER_CTX_block_size;
+       hc_EVP_CIPHER_CTX_cleanup;
+       hc_EVP_CIPHER_CTX_init;
+       hc_EVP_CIPHER_CTX_iv_length;
+       hc_EVP_Cipher;
+       hc_EVP_CipherInit_ex;
+       hc_EVP_Digest;
+       hc_EVP_DigestFinal_ex;
+       hc_EVP_DigestInit_ex;
+       hc_EVP_DigestUpdate;
+       hc_EVP_MD_CTX_create;
+       hc_EVP_MD_CTX_destroy;
+       hc_EVP_aes_128_cbc;
+       hc_EVP_aes_256_cbc;
+       hc_EVP_des_ede3_cbc;
+       hc_EVP_md5;
+       hc_EVP_rc4;
+       hc_EVP_sha1;
+       hc_RAND_status;
+       hc_RAND_file_name;
+       hc_RAND_add;
+       hc_RAND_write_file;
     local:
        *;
 };