/ ltc-methods.h
ltc-methods.h
  1  /*
  2   * Licensed under the Apache License, Version 2.0 (the "License");
  3   * you may not use this file except in compliance with the License.
  4   * See the NOTICE file distributed with this work for additional
  5   * information regarding copyright ownership.
  6   * You may obtain a copy of the License at
  7   *
  8   *     http://www.apache.org/licenses/LICENSE-2.0
  9   *
 10   * Unless required by applicable law or agreed to in writing, software
 11   * distributed under the License is distributed on an "AS IS" BASIS,
 12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13   * See the License for the specific language governing permissions and
 14   * limitations under the License.
 15   */
 16  
 17  /*
 18   * This includes the dispatcher and destroyers for all things implemented
 19   */
 20  
 21  #include <lsplugin/mkobject.h>
 22  #include <lsplugin/mkoperator.h>
 23  
 24  extern const LSplugin_key_desc_t ltc_dh_desc;
 25  extern const LSplugin_key_desc_t ltc_dsa_desc;
 26  extern const LSplugin_key_desc_t ltc_rsa_desc;
 27  extern const LSplugin_key_desc_t ltc_aes_desc;
 28  extern const LSplugin_key_desc_t ltc_des3_desc;
 29  extern const LSplugin_key_desc_t ltc_blowfish_desc;
 30  extern const LSplugin_key_desc_t ltc_twofish_desc;
 31  extern const LSplugin_key_desc_t ltc_cast5_desc;
 32  extern const LSplugin_key_desc_t ltc_kseed_desc;
 33  extern const LSplugin_key_desc_t ltc_camellia_desc;
 34  extern const LSplugin_key_desc_t ltc_chacha_desc;
 35  extern const LSplugin_key_desc_t ltc_rc4_desc;
 36  extern const LSplugin_key_desc_t ltc_poly1305_desc;
 37  extern const LSplugin_key_desc_t ltc_blake2b_desc;
 38  extern const LSplugin_key_desc_t ltc_blake2s_desc;
 39  
 40  extern const LSplugin_signer_desc_t ltc_rsa_sha1_signer_desc;
 41  extern const LSplugin_verifier_desc_t ltc_rsa_sha1_verifier_desc;
 42  
 43  extern const LSplugin_encryptor_desc_t ltc_aes_ecb_encryptor_desc;
 44  extern const LSplugin_decryptor_desc_t ltc_aes_ecb_decryptor_desc;
 45  extern const LSplugin_encryptor_desc_t ltc_des3_ecb_encryptor_desc;
 46  extern const LSplugin_decryptor_desc_t ltc_des3_ecb_decryptor_desc;
 47  extern const LSplugin_encryptor_desc_t ltc_blowfish_ecb_encryptor_desc;
 48  extern const LSplugin_decryptor_desc_t ltc_blowfish_ecb_decryptor_desc;
 49  extern const LSplugin_encryptor_desc_t ltc_twofish_ecb_encryptor_desc;
 50  extern const LSplugin_decryptor_desc_t ltc_twofish_ecb_decryptor_desc;
 51  extern const LSplugin_encryptor_desc_t ltc_cast5_ecb_encryptor_desc;
 52  extern const LSplugin_decryptor_desc_t ltc_cast5_ecb_decryptor_desc;
 53  extern const LSplugin_encryptor_desc_t ltc_kseed_ecb_encryptor_desc;
 54  extern const LSplugin_decryptor_desc_t ltc_kseed_ecb_decryptor_desc;
 55  extern const LSplugin_encryptor_desc_t ltc_camellia_ecb_encryptor_desc;
 56  extern const LSplugin_decryptor_desc_t ltc_camellia_ecb_decryptor_desc;
 57  
 58  extern const LSplugin_encryptor_desc_t ltc_aes_cbc_encryptor_desc;
 59  extern const LSplugin_decryptor_desc_t ltc_aes_cbc_decryptor_desc;
 60  extern const LSplugin_encryptor_desc_t ltc_des3_cbc_encryptor_desc;
 61  extern const LSplugin_decryptor_desc_t ltc_des3_cbc_decryptor_desc;
 62  extern const LSplugin_encryptor_desc_t ltc_blowfish_cbc_encryptor_desc;
 63  extern const LSplugin_decryptor_desc_t ltc_blowfish_cbc_decryptor_desc;
 64  extern const LSplugin_encryptor_desc_t ltc_twofish_cbc_encryptor_desc;
 65  extern const LSplugin_decryptor_desc_t ltc_twofish_cbc_decryptor_desc;
 66  extern const LSplugin_encryptor_desc_t ltc_cast5_cbc_encryptor_desc;
 67  extern const LSplugin_decryptor_desc_t ltc_cast5_cbc_decryptor_desc;
 68  extern const LSplugin_encryptor_desc_t ltc_kseed_cbc_encryptor_desc;
 69  extern const LSplugin_decryptor_desc_t ltc_kseed_cbc_decryptor_desc;
 70  extern const LSplugin_encryptor_desc_t ltc_camellia_cbc_encryptor_desc;
 71  extern const LSplugin_decryptor_desc_t ltc_camellia_cbc_decryptor_desc;
 72  
 73  extern const LSplugin_encryptor_desc_t ltc_aes_ctr_encryptor_desc;
 74  extern const LSplugin_decryptor_desc_t ltc_aes_ctr_decryptor_desc;
 75  extern const LSplugin_encryptor_desc_t ltc_des3_ctr_encryptor_desc;
 76  extern const LSplugin_decryptor_desc_t ltc_des3_ctr_decryptor_desc;
 77  extern const LSplugin_encryptor_desc_t ltc_blowfish_ctr_encryptor_desc;
 78  extern const LSplugin_decryptor_desc_t ltc_blowfish_ctr_decryptor_desc;
 79  extern const LSplugin_encryptor_desc_t ltc_twofish_ctr_encryptor_desc;
 80  extern const LSplugin_decryptor_desc_t ltc_twofish_ctr_decryptor_desc;
 81  extern const LSplugin_encryptor_desc_t ltc_cast5_ctr_encryptor_desc;
 82  extern const LSplugin_decryptor_desc_t ltc_cast5_ctr_decryptor_desc;
 83  extern const LSplugin_encryptor_desc_t ltc_kseed_ctr_encryptor_desc;
 84  extern const LSplugin_decryptor_desc_t ltc_kseed_ctr_decryptor_desc;
 85  extern const LSplugin_encryptor_desc_t ltc_camellia_ctr_encryptor_desc;
 86  extern const LSplugin_decryptor_desc_t ltc_camellia_ctr_decryptor_desc;
 87  
 88  extern const LSplugin_encryptor_desc_t ltc_aes_cfb_encryptor_desc;
 89  extern const LSplugin_decryptor_desc_t ltc_aes_cfb_decryptor_desc;
 90  extern const LSplugin_encryptor_desc_t ltc_des3_cfb_encryptor_desc;
 91  extern const LSplugin_decryptor_desc_t ltc_des3_cfb_decryptor_desc;
 92  extern const LSplugin_encryptor_desc_t ltc_blowfish_cfb_encryptor_desc;
 93  extern const LSplugin_decryptor_desc_t ltc_blowfish_cfb_decryptor_desc;
 94  extern const LSplugin_encryptor_desc_t ltc_twofish_cfb_encryptor_desc;
 95  extern const LSplugin_decryptor_desc_t ltc_twofish_cfb_decryptor_desc;
 96  extern const LSplugin_encryptor_desc_t ltc_cast5_cfb_encryptor_desc;
 97  extern const LSplugin_decryptor_desc_t ltc_cast5_cfb_decryptor_desc;
 98  extern const LSplugin_encryptor_desc_t ltc_kseed_cfb_encryptor_desc;
 99  extern const LSplugin_decryptor_desc_t ltc_kseed_cfb_decryptor_desc;
100  extern const LSplugin_encryptor_desc_t ltc_camellia_cfb_encryptor_desc;
101  extern const LSplugin_decryptor_desc_t ltc_camellia_cfb_decryptor_desc;
102  
103  extern const LSplugin_encryptor_desc_t ltc_aes_ofb_encryptor_desc;
104  extern const LSplugin_decryptor_desc_t ltc_aes_ofb_decryptor_desc;
105  extern const LSplugin_encryptor_desc_t ltc_des3_ofb_encryptor_desc;
106  extern const LSplugin_decryptor_desc_t ltc_des3_ofb_decryptor_desc;
107  extern const LSplugin_encryptor_desc_t ltc_blowfish_ofb_encryptor_desc;
108  extern const LSplugin_decryptor_desc_t ltc_blowfish_ofb_decryptor_desc;
109  extern const LSplugin_encryptor_desc_t ltc_twofish_ofb_encryptor_desc;
110  extern const LSplugin_decryptor_desc_t ltc_twofish_ofb_decryptor_desc;
111  extern const LSplugin_encryptor_desc_t ltc_cast5_ofb_encryptor_desc;
112  extern const LSplugin_decryptor_desc_t ltc_cast5_ofb_decryptor_desc;
113  extern const LSplugin_encryptor_desc_t ltc_kseed_ofb_encryptor_desc;
114  extern const LSplugin_decryptor_desc_t ltc_kseed_ofb_decryptor_desc;
115  extern const LSplugin_encryptor_desc_t ltc_camellia_ofb_encryptor_desc;
116  extern const LSplugin_decryptor_desc_t ltc_camellia_ofb_decryptor_desc;
117  
118  extern const LSplugin_encryptor_desc_t ltc_chacha_encryptor_desc;
119  extern const LSplugin_decryptor_desc_t ltc_chacha_decryptor_desc;
120  extern const LSplugin_encryptor_desc_t ltc_rc4_encryptor_desc;
121  extern const LSplugin_decryptor_desc_t ltc_rc4_decryptor_desc;
122  
123  extern const LSplugin_digester_desc_t ltc_whirlpool_desc;
124  extern const LSplugin_digester_desc_t ltc_sha3_512_desc;
125  extern const LSplugin_digester_desc_t ltc_sha512_desc;
126  extern const LSplugin_digester_desc_t ltc_blake2b_512_desc;
127  extern const LSplugin_digester_desc_t ltc_sha3_384_desc;
128  extern const LSplugin_digester_desc_t ltc_sha384_desc;
129  extern const LSplugin_digester_desc_t ltc_rmd320_desc;
130  extern const LSplugin_digester_desc_t ltc_sha512_256_desc;
131  extern const LSplugin_digester_desc_t ltc_sha3_256_desc;
132  extern const LSplugin_digester_desc_t ltc_sha256_desc;
133  extern const LSplugin_digester_desc_t ltc_rmd256_desc;
134  extern const LSplugin_digester_desc_t ltc_blake2s_256_desc;
135  extern const LSplugin_digester_desc_t ltc_blake2b_256_desc;
136  extern const LSplugin_digester_desc_t ltc_sha512_224_desc;
137  extern const LSplugin_digester_desc_t ltc_sha3_224_desc;
138  extern const LSplugin_digester_desc_t ltc_sha224_desc;
139  extern const LSplugin_digester_desc_t ltc_blake2s_224_desc;
140  extern const LSplugin_digester_desc_t ltc_blake2b_384_desc;
141  extern const LSplugin_digester_desc_t ltc_tiger_desc;
142  extern const LSplugin_digester_desc_t ltc_sha1_desc;
143  extern const LSplugin_digester_desc_t ltc_rmd160_desc;
144  extern const LSplugin_digester_desc_t ltc_blake2s_160_desc;
145  extern const LSplugin_digester_desc_t ltc_blake2b_160_desc;
146  extern const LSplugin_digester_desc_t ltc_rmd128_desc;
147  extern const LSplugin_digester_desc_t ltc_md5_desc;
148  extern const LSplugin_digester_desc_t ltc_md4_desc;
149  extern const LSplugin_digester_desc_t ltc_md2_desc;
150  extern const LSplugin_digester_desc_t ltc_blake2s_128_desc;
151  extern const LSplugin_digester_desc_t ltc_shake128_desc;
152  extern const LSplugin_digester_desc_t ltc_shake256_desc;
153  
154  extern const LSplugin_mac_desc_t ltc_poly1305_mac_desc;
155  extern const LSplugin_mac_desc_t ltc_blake2b_mac_desc;
156  extern const LSplugin_mac_desc_t ltc_blake2s_mac_desc;
157  
158  extern const LSplugin_rbg_desc_t ltc_fortuna_desc;