1/* 2 * Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved. 3 * 4 * Licensed under the Apache License 2.0 (the "License"). You may not use 5 * this file except in compliance with the License. You can obtain a copy 6 * in the file LICENSE in the source distribution or at 7 * https://www.openssl.org/source/license.html 8 */ 9 10#include <openssl/core.h> 11#include <openssl/types.h> 12 13/* Digests */ 14extern const OSSL_DISPATCH ossl_sha1_functions[]; 15extern const OSSL_DISPATCH ossl_sha224_functions[]; 16extern const OSSL_DISPATCH ossl_sha256_functions[]; 17extern const OSSL_DISPATCH ossl_sha384_functions[]; 18extern const OSSL_DISPATCH ossl_sha512_functions[]; 19extern const OSSL_DISPATCH ossl_sha512_224_functions[]; 20extern const OSSL_DISPATCH ossl_sha512_256_functions[]; 21extern const OSSL_DISPATCH ossl_sha3_224_functions[]; 22extern const OSSL_DISPATCH ossl_sha3_256_functions[]; 23extern const OSSL_DISPATCH ossl_sha3_384_functions[]; 24extern const OSSL_DISPATCH ossl_sha3_512_functions[]; 25extern const OSSL_DISPATCH ossl_keccak_kmac_128_functions[]; 26extern const OSSL_DISPATCH ossl_keccak_kmac_256_functions[]; 27extern const OSSL_DISPATCH ossl_shake_128_functions[]; 28extern const OSSL_DISPATCH ossl_shake_256_functions[]; 29extern const OSSL_DISPATCH ossl_blake2s256_functions[]; 30extern const OSSL_DISPATCH ossl_blake2b512_functions[]; 31extern const OSSL_DISPATCH ossl_md5_functions[]; 32extern const OSSL_DISPATCH ossl_md5_sha1_functions[]; 33extern const OSSL_DISPATCH ossl_sm3_functions[]; 34extern const OSSL_DISPATCH ossl_md2_functions[]; 35extern const OSSL_DISPATCH ossl_md4_functions[]; 36extern const OSSL_DISPATCH ossl_mdc2_functions[]; 37extern const OSSL_DISPATCH ossl_wp_functions[]; 38extern const OSSL_DISPATCH ossl_ripemd160_functions[]; 39extern const OSSL_DISPATCH ossl_nullmd_functions[]; 40 41/* Ciphers */ 42extern const OSSL_DISPATCH ossl_null_functions[]; 43extern const OSSL_DISPATCH ossl_aes256ecb_functions[]; 44extern const OSSL_DISPATCH ossl_aes192ecb_functions[]; 45extern const OSSL_DISPATCH ossl_aes128ecb_functions[]; 46extern const OSSL_DISPATCH ossl_aes256cbc_functions[]; 47extern const OSSL_DISPATCH ossl_aes192cbc_functions[]; 48extern const OSSL_DISPATCH ossl_aes128cbc_functions[]; 49extern const OSSL_DISPATCH ossl_aes256cbc_cts_functions[]; 50extern const OSSL_DISPATCH ossl_aes192cbc_cts_functions[]; 51extern const OSSL_DISPATCH ossl_aes128cbc_cts_functions[]; 52extern const OSSL_DISPATCH ossl_aes256ofb_functions[]; 53extern const OSSL_DISPATCH ossl_aes192ofb_functions[]; 54extern const OSSL_DISPATCH ossl_aes128ofb_functions[]; 55extern const OSSL_DISPATCH ossl_aes256cfb_functions[]; 56extern const OSSL_DISPATCH ossl_aes192cfb_functions[]; 57extern const OSSL_DISPATCH ossl_aes128cfb_functions[]; 58extern const OSSL_DISPATCH ossl_aes256cfb1_functions[]; 59extern const OSSL_DISPATCH ossl_aes192cfb1_functions[]; 60extern const OSSL_DISPATCH ossl_aes128cfb1_functions[]; 61extern const OSSL_DISPATCH ossl_aes256cfb8_functions[]; 62extern const OSSL_DISPATCH ossl_aes192cfb8_functions[]; 63extern const OSSL_DISPATCH ossl_aes128cfb8_functions[]; 64extern const OSSL_DISPATCH ossl_aes256ctr_functions[]; 65extern const OSSL_DISPATCH ossl_aes192ctr_functions[]; 66extern const OSSL_DISPATCH ossl_aes128ctr_functions[]; 67extern const OSSL_DISPATCH ossl_aes256xts_functions[]; 68extern const OSSL_DISPATCH ossl_aes128xts_functions[]; 69#ifndef OPENSSL_NO_OCB 70extern const OSSL_DISPATCH ossl_aes256ocb_functions[]; 71extern const OSSL_DISPATCH ossl_aes192ocb_functions[]; 72extern const OSSL_DISPATCH ossl_aes128ocb_functions[]; 73#endif /* OPENSSL_NO_OCB */ 74extern const OSSL_DISPATCH ossl_aes256gcm_functions[]; 75extern const OSSL_DISPATCH ossl_aes192gcm_functions[]; 76extern const OSSL_DISPATCH ossl_aes128gcm_functions[]; 77extern const OSSL_DISPATCH ossl_aes256ccm_functions[]; 78extern const OSSL_DISPATCH ossl_aes192ccm_functions[]; 79extern const OSSL_DISPATCH ossl_aes128ccm_functions[]; 80extern const OSSL_DISPATCH ossl_aes256wrap_functions[]; 81extern const OSSL_DISPATCH ossl_aes192wrap_functions[]; 82extern const OSSL_DISPATCH ossl_aes128wrap_functions[]; 83extern const OSSL_DISPATCH ossl_aes256wrappad_functions[]; 84extern const OSSL_DISPATCH ossl_aes192wrappad_functions[]; 85extern const OSSL_DISPATCH ossl_aes128wrappad_functions[]; 86extern const OSSL_DISPATCH ossl_aes256wrapinv_functions[]; 87extern const OSSL_DISPATCH ossl_aes192wrapinv_functions[]; 88extern const OSSL_DISPATCH ossl_aes128wrapinv_functions[]; 89extern const OSSL_DISPATCH ossl_aes256wrappadinv_functions[]; 90extern const OSSL_DISPATCH ossl_aes192wrappadinv_functions[]; 91extern const OSSL_DISPATCH ossl_aes128wrappadinv_functions[]; 92extern const OSSL_DISPATCH ossl_aes256cbc_hmac_sha1_functions[]; 93extern const OSSL_DISPATCH ossl_aes128cbc_hmac_sha1_functions[]; 94extern const OSSL_DISPATCH ossl_aes256cbc_hmac_sha256_functions[]; 95extern const OSSL_DISPATCH ossl_aes128cbc_hmac_sha256_functions[]; 96 97#ifndef OPENSSL_NO_ARIA 98extern const OSSL_DISPATCH ossl_aria256gcm_functions[]; 99extern const OSSL_DISPATCH ossl_aria192gcm_functions[]; 100extern const OSSL_DISPATCH ossl_aria128gcm_functions[]; 101extern const OSSL_DISPATCH ossl_aria256ccm_functions[]; 102extern const OSSL_DISPATCH ossl_aria192ccm_functions[]; 103extern const OSSL_DISPATCH ossl_aria128ccm_functions[]; 104extern const OSSL_DISPATCH ossl_aria256ecb_functions[]; 105extern const OSSL_DISPATCH ossl_aria192ecb_functions[]; 106extern const OSSL_DISPATCH ossl_aria128ecb_functions[]; 107extern const OSSL_DISPATCH ossl_aria256cbc_functions[]; 108extern const OSSL_DISPATCH ossl_aria192cbc_functions[]; 109extern const OSSL_DISPATCH ossl_aria128cbc_functions[]; 110extern const OSSL_DISPATCH ossl_aria256ofb_functions[]; 111extern const OSSL_DISPATCH ossl_aria192ofb_functions[]; 112extern const OSSL_DISPATCH ossl_aria128ofb_functions[]; 113extern const OSSL_DISPATCH ossl_aria256cfb_functions[]; 114extern const OSSL_DISPATCH ossl_aria192cfb_functions[]; 115extern const OSSL_DISPATCH ossl_aria128cfb_functions[]; 116extern const OSSL_DISPATCH ossl_aria256cfb1_functions[]; 117extern const OSSL_DISPATCH ossl_aria192cfb1_functions[]; 118extern const OSSL_DISPATCH ossl_aria128cfb1_functions[]; 119extern const OSSL_DISPATCH ossl_aria256cfb8_functions[]; 120extern const OSSL_DISPATCH ossl_aria192cfb8_functions[]; 121extern const OSSL_DISPATCH ossl_aria128cfb8_functions[]; 122extern const OSSL_DISPATCH ossl_aria256ctr_functions[]; 123extern const OSSL_DISPATCH ossl_aria192ctr_functions[]; 124extern const OSSL_DISPATCH ossl_aria128ctr_functions[]; 125#endif /* OPENSSL_NO_ARIA */ 126#ifndef OPENSSL_NO_CAMELLIA 127extern const OSSL_DISPATCH ossl_camellia256ecb_functions[]; 128extern const OSSL_DISPATCH ossl_camellia192ecb_functions[]; 129extern const OSSL_DISPATCH ossl_camellia128ecb_functions[]; 130extern const OSSL_DISPATCH ossl_camellia256cbc_functions[]; 131extern const OSSL_DISPATCH ossl_camellia192cbc_functions[]; 132extern const OSSL_DISPATCH ossl_camellia128cbc_functions[]; 133extern const OSSL_DISPATCH ossl_camellia256cbc_cts_functions[]; 134extern const OSSL_DISPATCH ossl_camellia192cbc_cts_functions[]; 135extern const OSSL_DISPATCH ossl_camellia128cbc_cts_functions[]; 136extern const OSSL_DISPATCH ossl_camellia256ofb_functions[]; 137extern const OSSL_DISPATCH ossl_camellia192ofb_functions[]; 138extern const OSSL_DISPATCH ossl_camellia128ofb_functions[]; 139extern const OSSL_DISPATCH ossl_camellia256cfb_functions[]; 140extern const OSSL_DISPATCH ossl_camellia192cfb_functions[]; 141extern const OSSL_DISPATCH ossl_camellia128cfb_functions[]; 142extern const OSSL_DISPATCH ossl_camellia256cfb1_functions[]; 143extern const OSSL_DISPATCH ossl_camellia192cfb1_functions[]; 144extern const OSSL_DISPATCH ossl_camellia128cfb1_functions[]; 145extern const OSSL_DISPATCH ossl_camellia256cfb8_functions[]; 146extern const OSSL_DISPATCH ossl_camellia192cfb8_functions[]; 147extern const OSSL_DISPATCH ossl_camellia128cfb8_functions[]; 148extern const OSSL_DISPATCH ossl_camellia256ctr_functions[]; 149extern const OSSL_DISPATCH ossl_camellia192ctr_functions[]; 150extern const OSSL_DISPATCH ossl_camellia128ctr_functions[]; 151#endif /* OPENSSL_NO_CAMELLIA */ 152#ifndef OPENSSL_NO_BF 153extern const OSSL_DISPATCH ossl_blowfish128ecb_functions[]; 154extern const OSSL_DISPATCH ossl_blowfish128cbc_functions[]; 155extern const OSSL_DISPATCH ossl_blowfish128ofb64_functions[]; 156extern const OSSL_DISPATCH ossl_blowfish128cfb64_functions[]; 157#endif /* OPENSSL_NO_BF */ 158#ifndef OPENSSL_NO_IDEA 159extern const OSSL_DISPATCH ossl_idea128ecb_functions[]; 160extern const OSSL_DISPATCH ossl_idea128cbc_functions[]; 161extern const OSSL_DISPATCH ossl_idea128ofb64_functions[]; 162extern const OSSL_DISPATCH ossl_idea128cfb64_functions[]; 163#endif /* OPENSSL_NO_IDEA */ 164#ifndef OPENSSL_NO_CAST 165extern const OSSL_DISPATCH ossl_cast5128ecb_functions[]; 166extern const OSSL_DISPATCH ossl_cast5128cbc_functions[]; 167extern const OSSL_DISPATCH ossl_cast5128ofb64_functions[]; 168extern const OSSL_DISPATCH ossl_cast5128cfb64_functions[]; 169#endif /* OPENSSL_NO_CAST */ 170#ifndef OPENSSL_NO_SEED 171extern const OSSL_DISPATCH ossl_seed128ecb_functions[]; 172extern const OSSL_DISPATCH ossl_seed128cbc_functions[]; 173extern const OSSL_DISPATCH ossl_seed128ofb128_functions[]; 174extern const OSSL_DISPATCH ossl_seed128cfb128_functions[]; 175#endif /* OPENSSL_NO_SEED */ 176#ifndef OPENSSL_NO_SM4 177extern const OSSL_DISPATCH ossl_sm4128ecb_functions[]; 178extern const OSSL_DISPATCH ossl_sm4128cbc_functions[]; 179extern const OSSL_DISPATCH ossl_sm4128ctr_functions[]; 180extern const OSSL_DISPATCH ossl_sm4128ofb128_functions[]; 181extern const OSSL_DISPATCH ossl_sm4128cfb128_functions[]; 182#endif /* OPENSSL_NO_SM4 */ 183#ifndef OPENSSL_NO_RC5 184extern const OSSL_DISPATCH ossl_rc5128ecb_functions[]; 185extern const OSSL_DISPATCH ossl_rc5128cbc_functions[]; 186extern const OSSL_DISPATCH ossl_rc5128ofb64_functions[]; 187extern const OSSL_DISPATCH ossl_rc5128cfb64_functions[]; 188#endif /* OPENSSL_NO_RC5 */ 189#ifndef OPENSSL_NO_RC2 190extern const OSSL_DISPATCH ossl_rc2128ecb_functions[]; 191extern const OSSL_DISPATCH ossl_rc2128cbc_functions[]; 192extern const OSSL_DISPATCH ossl_rc240cbc_functions[]; 193extern const OSSL_DISPATCH ossl_rc264cbc_functions[]; 194extern const OSSL_DISPATCH ossl_rc2128cfb128_functions[]; 195extern const OSSL_DISPATCH ossl_rc2128ofb128_functions[]; 196#endif /* OPENSSL_NO_RC2 */ 197#ifndef OPENSSL_NO_DES 198extern const OSSL_DISPATCH ossl_tdes_ede3_ecb_functions[]; 199extern const OSSL_DISPATCH ossl_tdes_ede3_cbc_functions[]; 200# ifndef FIPS_MODULE 201extern const OSSL_DISPATCH ossl_tdes_ede3_ofb_functions[]; 202extern const OSSL_DISPATCH ossl_tdes_ede3_cfb_functions[]; 203extern const OSSL_DISPATCH ossl_tdes_ede3_cfb8_functions[]; 204extern const OSSL_DISPATCH ossl_tdes_ede3_cfb1_functions[]; 205 206extern const OSSL_DISPATCH ossl_tdes_ede2_ecb_functions[]; 207extern const OSSL_DISPATCH ossl_tdes_ede2_cbc_functions[]; 208extern const OSSL_DISPATCH ossl_tdes_ede2_ofb_functions[]; 209extern const OSSL_DISPATCH ossl_tdes_ede2_cfb_functions[]; 210 211extern const OSSL_DISPATCH ossl_tdes_desx_cbc_functions[]; 212extern const OSSL_DISPATCH ossl_tdes_wrap_cbc_functions[]; 213 214extern const OSSL_DISPATCH ossl_des_ecb_functions[]; 215extern const OSSL_DISPATCH ossl_des_cbc_functions[]; 216extern const OSSL_DISPATCH ossl_des_ofb64_functions[]; 217extern const OSSL_DISPATCH ossl_des_cfb64_functions[]; 218extern const OSSL_DISPATCH ossl_des_cfb1_functions[]; 219extern const OSSL_DISPATCH ossl_des_cfb8_functions[]; 220# endif /* FIPS_MODULE */ 221#endif /* OPENSSL_NO_DES */ 222 223#ifndef OPENSSL_NO_RC4 224extern const OSSL_DISPATCH ossl_rc440_functions[]; 225extern const OSSL_DISPATCH ossl_rc4128_functions[]; 226# ifndef OPENSSL_NO_MD5 227extern const OSSL_DISPATCH ossl_rc4_hmac_ossl_md5_functions[]; 228# endif /* OPENSSL_NO_MD5 */ 229#endif /* OPENSSL_NO_RC4 */ 230#ifndef OPENSSL_NO_CHACHA 231extern const OSSL_DISPATCH ossl_chacha20_functions[]; 232# ifndef OPENSSL_NO_POLY1305 233extern const OSSL_DISPATCH ossl_chacha20_ossl_poly1305_functions[]; 234# endif /* OPENSSL_NO_POLY1305 */ 235#endif /* OPENSSL_NO_CHACHA */ 236 237 238#ifndef OPENSSL_NO_SIV 239extern const OSSL_DISPATCH ossl_aes128siv_functions[]; 240extern const OSSL_DISPATCH ossl_aes192siv_functions[]; 241extern const OSSL_DISPATCH ossl_aes256siv_functions[]; 242#endif /* OPENSSL_NO_SIV */ 243 244/* MACs */ 245extern const OSSL_DISPATCH ossl_blake2bmac_functions[]; 246extern const OSSL_DISPATCH ossl_blake2smac_functions[]; 247extern const OSSL_DISPATCH ossl_cmac_functions[]; 248extern const OSSL_DISPATCH ossl_gmac_functions[]; 249extern const OSSL_DISPATCH ossl_hmac_functions[]; 250extern const OSSL_DISPATCH ossl_kmac128_functions[]; 251extern const OSSL_DISPATCH ossl_kmac256_functions[]; 252extern const OSSL_DISPATCH ossl_siphash_functions[]; 253extern const OSSL_DISPATCH ossl_poly1305_functions[]; 254 255/* KDFs / PRFs */ 256extern const OSSL_DISPATCH ossl_kdf_pbkdf1_functions[]; 257extern const OSSL_DISPATCH ossl_kdf_pbkdf2_functions[]; 258extern const OSSL_DISPATCH ossl_kdf_pkcs12_functions[]; 259#ifndef OPENSSL_NO_SCRYPT 260extern const OSSL_DISPATCH ossl_kdf_scrypt_functions[]; 261#endif 262extern const OSSL_DISPATCH ossl_kdf_tls1_prf_functions[]; 263extern const OSSL_DISPATCH ossl_kdf_hkdf_functions[]; 264extern const OSSL_DISPATCH ossl_kdf_tls1_3_kdf_functions[]; 265extern const OSSL_DISPATCH ossl_kdf_sshkdf_functions[]; 266extern const OSSL_DISPATCH ossl_kdf_sskdf_functions[]; 267extern const OSSL_DISPATCH ossl_kdf_x963_kdf_functions[]; 268extern const OSSL_DISPATCH ossl_kdf_kbkdf_functions[]; 269extern const OSSL_DISPATCH ossl_kdf_x942_kdf_functions[]; 270extern const OSSL_DISPATCH ossl_kdf_krb5kdf_functions[]; 271 272/* RNGs */ 273extern const OSSL_DISPATCH ossl_test_rng_functions[]; 274extern const OSSL_DISPATCH ossl_seed_src_functions[]; 275extern const OSSL_DISPATCH ossl_drbg_hash_functions[]; 276extern const OSSL_DISPATCH ossl_drbg_ossl_hmac_functions[]; 277extern const OSSL_DISPATCH ossl_drbg_ctr_functions[]; 278extern const OSSL_DISPATCH crngt_functions[]; 279 280/* Key management */ 281extern const OSSL_DISPATCH ossl_dh_keymgmt_functions[]; 282extern const OSSL_DISPATCH ossl_dhx_keymgmt_functions[]; 283extern const OSSL_DISPATCH ossl_dsa_keymgmt_functions[]; 284extern const OSSL_DISPATCH ossl_rsa_keymgmt_functions[]; 285extern const OSSL_DISPATCH ossl_rsapss_keymgmt_functions[]; 286extern const OSSL_DISPATCH ossl_x25519_keymgmt_functions[]; 287extern const OSSL_DISPATCH ossl_x448_keymgmt_functions[]; 288extern const OSSL_DISPATCH ossl_ed25519_keymgmt_functions[]; 289extern const OSSL_DISPATCH ossl_ed448_keymgmt_functions[]; 290extern const OSSL_DISPATCH ossl_ec_keymgmt_functions[]; 291extern const OSSL_DISPATCH ossl_kdf_keymgmt_functions[]; 292extern const OSSL_DISPATCH ossl_mac_legacy_keymgmt_functions[]; 293extern const OSSL_DISPATCH ossl_cmac_legacy_keymgmt_functions[]; 294#ifndef OPENSSL_NO_SM2 295extern const OSSL_DISPATCH ossl_sm2_keymgmt_functions[]; 296#endif 297 298/* Key Exchange */ 299extern const OSSL_DISPATCH ossl_dh_keyexch_functions[]; 300extern const OSSL_DISPATCH ossl_x25519_keyexch_functions[]; 301extern const OSSL_DISPATCH ossl_x448_keyexch_functions[]; 302extern const OSSL_DISPATCH ossl_ecdh_keyexch_functions[]; 303extern const OSSL_DISPATCH ossl_kdf_tls1_prf_keyexch_functions[]; 304extern const OSSL_DISPATCH ossl_kdf_hkdf_keyexch_functions[]; 305extern const OSSL_DISPATCH ossl_kdf_scrypt_keyexch_functions[]; 306 307/* Signature */ 308extern const OSSL_DISPATCH ossl_dsa_signature_functions[]; 309extern const OSSL_DISPATCH ossl_rsa_signature_functions[]; 310extern const OSSL_DISPATCH ossl_ed25519_signature_functions[]; 311extern const OSSL_DISPATCH ossl_ed448_signature_functions[]; 312extern const OSSL_DISPATCH ossl_ecdsa_signature_functions[]; 313extern const OSSL_DISPATCH ossl_mac_legacy_hmac_signature_functions[]; 314extern const OSSL_DISPATCH ossl_mac_legacy_siphash_signature_functions[]; 315extern const OSSL_DISPATCH ossl_mac_legacy_poly1305_signature_functions[]; 316extern const OSSL_DISPATCH ossl_mac_legacy_cmac_signature_functions[]; 317extern const OSSL_DISPATCH ossl_sm2_signature_functions[]; 318 319/* Asym Cipher */ 320extern const OSSL_DISPATCH ossl_rsa_asym_cipher_functions[]; 321#ifndef OPENSSL_NO_SM2 322extern const OSSL_DISPATCH ossl_sm2_asym_cipher_functions[]; 323#endif 324 325/* Asym Key encapsulation */ 326extern const OSSL_DISPATCH ossl_rsa_asym_kem_functions[]; 327 328/* Encoders */ 329extern const OSSL_DISPATCH ossl_rsa_to_PKCS1_der_encoder_functions[]; 330extern const OSSL_DISPATCH ossl_rsa_to_PKCS1_pem_encoder_functions[]; 331extern const OSSL_DISPATCH ossl_rsa_to_EncryptedPrivateKeyInfo_der_encoder_functions[]; 332extern const OSSL_DISPATCH ossl_rsa_to_EncryptedPrivateKeyInfo_pem_encoder_functions[]; 333extern const OSSL_DISPATCH ossl_rsa_to_PrivateKeyInfo_der_encoder_functions[]; 334extern const OSSL_DISPATCH ossl_rsa_to_PrivateKeyInfo_pem_encoder_functions[]; 335extern const OSSL_DISPATCH ossl_rsa_to_RSA_der_encoder_functions[]; 336extern const OSSL_DISPATCH ossl_rsa_to_RSA_pem_encoder_functions[]; 337extern const OSSL_DISPATCH ossl_rsa_to_SubjectPublicKeyInfo_der_encoder_functions[]; 338extern const OSSL_DISPATCH ossl_rsa_to_SubjectPublicKeyInfo_pem_encoder_functions[]; 339extern const OSSL_DISPATCH ossl_rsa_to_msblob_encoder_functions[]; 340extern const OSSL_DISPATCH ossl_rsa_to_pvk_encoder_functions[]; 341extern const OSSL_DISPATCH ossl_rsa_to_text_encoder_functions[]; 342extern const OSSL_DISPATCH ossl_rsa_to_type_specific_keypair_der_encoder_functions[]; 343extern const OSSL_DISPATCH ossl_rsa_to_type_specific_keypair_pem_encoder_functions[]; 344 345extern const OSSL_DISPATCH ossl_rsapss_to_PKCS1_der_encoder_functions[]; 346extern const OSSL_DISPATCH ossl_rsapss_to_PKCS1_pem_encoder_functions[]; 347extern const OSSL_DISPATCH ossl_rsapss_to_EncryptedPrivateKeyInfo_der_encoder_functions[]; 348extern const OSSL_DISPATCH ossl_rsapss_to_EncryptedPrivateKeyInfo_pem_encoder_functions[]; 349extern const OSSL_DISPATCH ossl_rsapss_to_PrivateKeyInfo_der_encoder_functions[]; 350extern const OSSL_DISPATCH ossl_rsapss_to_PrivateKeyInfo_pem_encoder_functions[]; 351extern const OSSL_DISPATCH ossl_rsapss_to_SubjectPublicKeyInfo_der_encoder_functions[]; 352extern const OSSL_DISPATCH ossl_rsapss_to_SubjectPublicKeyInfo_pem_encoder_functions[]; 353extern const OSSL_DISPATCH ossl_rsapss_to_text_encoder_functions[]; 354 355extern const OSSL_DISPATCH ossl_dh_to_DH_der_encoder_functions[]; 356extern const OSSL_DISPATCH ossl_dh_to_DH_pem_encoder_functions[]; 357extern const OSSL_DISPATCH ossl_dh_to_PKCS3_der_encoder_functions[]; 358extern const OSSL_DISPATCH ossl_dh_to_PKCS3_pem_encoder_functions[]; 359extern const OSSL_DISPATCH ossl_dh_to_EncryptedPrivateKeyInfo_der_encoder_functions[]; 360extern const OSSL_DISPATCH ossl_dh_to_EncryptedPrivateKeyInfo_pem_encoder_functions[]; 361extern const OSSL_DISPATCH ossl_dh_to_PrivateKeyInfo_der_encoder_functions[]; 362extern const OSSL_DISPATCH ossl_dh_to_PrivateKeyInfo_pem_encoder_functions[]; 363extern const OSSL_DISPATCH ossl_dh_to_SubjectPublicKeyInfo_der_encoder_functions[]; 364extern const OSSL_DISPATCH ossl_dh_to_SubjectPublicKeyInfo_pem_encoder_functions[]; 365extern const OSSL_DISPATCH ossl_dh_to_type_specific_params_der_encoder_functions[]; 366extern const OSSL_DISPATCH ossl_dh_to_type_specific_params_pem_encoder_functions[]; 367extern const OSSL_DISPATCH ossl_dh_to_text_encoder_functions[]; 368 369extern const OSSL_DISPATCH ossl_dhx_to_DHX_der_encoder_functions[]; 370extern const OSSL_DISPATCH ossl_dhx_to_DHX_pem_encoder_functions[]; 371extern const OSSL_DISPATCH ossl_dhx_to_EncryptedPrivateKeyInfo_der_encoder_functions[]; 372extern const OSSL_DISPATCH ossl_dhx_to_EncryptedPrivateKeyInfo_pem_encoder_functions[]; 373extern const OSSL_DISPATCH ossl_dhx_to_PrivateKeyInfo_der_encoder_functions[]; 374extern const OSSL_DISPATCH ossl_dhx_to_PrivateKeyInfo_pem_encoder_functions[]; 375extern const OSSL_DISPATCH ossl_dhx_to_SubjectPublicKeyInfo_der_encoder_functions[]; 376extern const OSSL_DISPATCH ossl_dhx_to_SubjectPublicKeyInfo_pem_encoder_functions[]; 377extern const OSSL_DISPATCH ossl_dhx_to_X9_42_der_encoder_functions[]; 378extern const OSSL_DISPATCH ossl_dhx_to_X9_42_pem_encoder_functions[]; 379extern const OSSL_DISPATCH ossl_dhx_to_type_specific_params_der_encoder_functions[]; 380extern const OSSL_DISPATCH ossl_dhx_to_type_specific_params_pem_encoder_functions[]; 381extern const OSSL_DISPATCH ossl_dhx_to_text_encoder_functions[]; 382 383extern const OSSL_DISPATCH ossl_dsa_to_DSA_der_encoder_functions[]; 384extern const OSSL_DISPATCH ossl_dsa_to_DSA_pem_encoder_functions[]; 385extern const OSSL_DISPATCH ossl_dsa_to_EncryptedPrivateKeyInfo_der_encoder_functions[]; 386extern const OSSL_DISPATCH ossl_dsa_to_EncryptedPrivateKeyInfo_pem_encoder_functions[]; 387extern const OSSL_DISPATCH ossl_dsa_to_PrivateKeyInfo_der_encoder_functions[]; 388extern const OSSL_DISPATCH ossl_dsa_to_PrivateKeyInfo_pem_encoder_functions[]; 389extern const OSSL_DISPATCH ossl_dsa_to_SubjectPublicKeyInfo_der_encoder_functions[]; 390extern const OSSL_DISPATCH ossl_dsa_to_SubjectPublicKeyInfo_pem_encoder_functions[]; 391extern const OSSL_DISPATCH ossl_dsa_to_type_specific_pem_encoder_functions[]; 392extern const OSSL_DISPATCH ossl_dsa_to_type_specific_der_encoder_functions[]; 393extern const OSSL_DISPATCH ossl_dsa_to_msblob_encoder_functions[]; 394extern const OSSL_DISPATCH ossl_dsa_to_pvk_encoder_functions[]; 395extern const OSSL_DISPATCH ossl_dsa_to_text_encoder_functions[]; 396 397extern const OSSL_DISPATCH ossl_ec_to_EC_der_encoder_functions[]; 398extern const OSSL_DISPATCH ossl_ec_to_EC_pem_encoder_functions[]; 399extern const OSSL_DISPATCH ossl_ec_to_blob_encoder_functions[]; 400extern const OSSL_DISPATCH ossl_ec_to_EncryptedPrivateKeyInfo_der_encoder_functions[]; 401extern const OSSL_DISPATCH ossl_ec_to_EncryptedPrivateKeyInfo_pem_encoder_functions[]; 402extern const OSSL_DISPATCH ossl_ec_to_PrivateKeyInfo_der_encoder_functions[]; 403extern const OSSL_DISPATCH ossl_ec_to_PrivateKeyInfo_pem_encoder_functions[]; 404extern const OSSL_DISPATCH ossl_ec_to_SubjectPublicKeyInfo_der_encoder_functions[]; 405extern const OSSL_DISPATCH ossl_ec_to_SubjectPublicKeyInfo_pem_encoder_functions[]; 406extern const OSSL_DISPATCH ossl_ec_to_X9_62_der_encoder_functions[]; 407extern const OSSL_DISPATCH ossl_ec_to_X9_62_pem_encoder_functions[]; 408extern const OSSL_DISPATCH ossl_ec_to_type_specific_no_pub_pem_encoder_functions[]; 409extern const OSSL_DISPATCH ossl_ec_to_type_specific_no_pub_der_encoder_functions[]; 410extern const OSSL_DISPATCH ossl_ec_to_text_encoder_functions[]; 411 412#ifndef OPENSSL_NO_SM2 413extern const OSSL_DISPATCH ossl_sm2_to_SM2_der_encoder_functions[]; 414extern const OSSL_DISPATCH ossl_sm2_to_SM2_pem_encoder_functions[]; 415extern const OSSL_DISPATCH ossl_sm2_to_blob_encoder_functions[]; 416extern const OSSL_DISPATCH ossl_sm2_to_EncryptedPrivateKeyInfo_der_encoder_functions[]; 417extern const OSSL_DISPATCH ossl_sm2_to_EncryptedPrivateKeyInfo_pem_encoder_functions[]; 418extern const OSSL_DISPATCH ossl_sm2_to_PrivateKeyInfo_der_encoder_functions[]; 419extern const OSSL_DISPATCH ossl_sm2_to_PrivateKeyInfo_pem_encoder_functions[]; 420extern const OSSL_DISPATCH ossl_sm2_to_SubjectPublicKeyInfo_der_encoder_functions[]; 421extern const OSSL_DISPATCH ossl_sm2_to_SubjectPublicKeyInfo_pem_encoder_functions[]; 422extern const OSSL_DISPATCH ossl_sm2_to_type_specific_no_pub_pem_encoder_functions[]; 423extern const OSSL_DISPATCH ossl_sm2_to_type_specific_no_pub_der_encoder_functions[]; 424extern const OSSL_DISPATCH ossl_sm2_to_text_encoder_functions[]; 425#endif 426 427extern const OSSL_DISPATCH ossl_ed25519_to_EncryptedPrivateKeyInfo_der_encoder_functions[]; 428extern const OSSL_DISPATCH ossl_ed25519_to_EncryptedPrivateKeyInfo_pem_encoder_functions[]; 429extern const OSSL_DISPATCH ossl_ed25519_to_PrivateKeyInfo_der_encoder_functions[]; 430extern const OSSL_DISPATCH ossl_ed25519_to_PrivateKeyInfo_pem_encoder_functions[]; 431extern const OSSL_DISPATCH ossl_ed25519_to_SubjectPublicKeyInfo_der_encoder_functions[]; 432extern const OSSL_DISPATCH ossl_ed25519_to_SubjectPublicKeyInfo_pem_encoder_functions[]; 433extern const OSSL_DISPATCH ossl_ed25519_to_OSSL_current_der_encoder_functions[]; 434extern const OSSL_DISPATCH ossl_ed25519_to_text_encoder_functions[]; 435 436extern const OSSL_DISPATCH ossl_ed448_to_EncryptedPrivateKeyInfo_der_encoder_functions[]; 437extern const OSSL_DISPATCH ossl_ed448_to_EncryptedPrivateKeyInfo_pem_encoder_functions[]; 438extern const OSSL_DISPATCH ossl_ed448_to_PrivateKeyInfo_der_encoder_functions[]; 439extern const OSSL_DISPATCH ossl_ed448_to_PrivateKeyInfo_pem_encoder_functions[]; 440extern const OSSL_DISPATCH ossl_ed448_to_SubjectPublicKeyInfo_der_encoder_functions[]; 441extern const OSSL_DISPATCH ossl_ed448_to_SubjectPublicKeyInfo_pem_encoder_functions[]; 442extern const OSSL_DISPATCH ossl_ed448_to_OSSL_current_der_encoder_functions[]; 443extern const OSSL_DISPATCH ossl_ed448_to_text_encoder_functions[]; 444 445extern const OSSL_DISPATCH ossl_x25519_to_EncryptedPrivateKeyInfo_der_encoder_functions[]; 446extern const OSSL_DISPATCH ossl_x25519_to_EncryptedPrivateKeyInfo_pem_encoder_functions[]; 447extern const OSSL_DISPATCH ossl_x25519_to_PrivateKeyInfo_der_encoder_functions[]; 448extern const OSSL_DISPATCH ossl_x25519_to_PrivateKeyInfo_pem_encoder_functions[]; 449extern const OSSL_DISPATCH ossl_x25519_to_SubjectPublicKeyInfo_der_encoder_functions[]; 450extern const OSSL_DISPATCH ossl_x25519_to_SubjectPublicKeyInfo_pem_encoder_functions[]; 451extern const OSSL_DISPATCH ossl_x25519_to_OSSL_current_der_encoder_functions[]; 452extern const OSSL_DISPATCH ossl_x25519_to_text_encoder_functions[]; 453 454extern const OSSL_DISPATCH ossl_x448_to_EncryptedPrivateKeyInfo_der_encoder_functions[]; 455extern const OSSL_DISPATCH ossl_x448_to_EncryptedPrivateKeyInfo_pem_encoder_functions[]; 456extern const OSSL_DISPATCH ossl_x448_to_PrivateKeyInfo_der_encoder_functions[]; 457extern const OSSL_DISPATCH ossl_x448_to_PrivateKeyInfo_pem_encoder_functions[]; 458extern const OSSL_DISPATCH ossl_x448_to_SubjectPublicKeyInfo_der_encoder_functions[]; 459extern const OSSL_DISPATCH ossl_x448_to_SubjectPublicKeyInfo_pem_encoder_functions[]; 460extern const OSSL_DISPATCH ossl_x448_to_OSSL_current_der_encoder_functions[]; 461extern const OSSL_DISPATCH ossl_x448_to_text_encoder_functions[]; 462 463/* Decoders */ 464extern const OSSL_DISPATCH ossl_PrivateKeyInfo_der_to_dh_decoder_functions[]; 465extern const OSSL_DISPATCH ossl_SubjectPublicKeyInfo_der_to_dh_decoder_functions[]; 466extern const OSSL_DISPATCH ossl_type_specific_params_der_to_dh_decoder_functions[]; 467extern const OSSL_DISPATCH ossl_DH_der_to_dh_decoder_functions[]; 468 469extern const OSSL_DISPATCH ossl_PrivateKeyInfo_der_to_dhx_decoder_functions[]; 470extern const OSSL_DISPATCH ossl_SubjectPublicKeyInfo_der_to_dhx_decoder_functions[]; 471extern const OSSL_DISPATCH ossl_type_specific_params_der_to_dhx_decoder_functions[]; 472extern const OSSL_DISPATCH ossl_DHX_der_to_dhx_decoder_functions[]; 473 474extern const OSSL_DISPATCH ossl_PrivateKeyInfo_der_to_dsa_decoder_functions[]; 475extern const OSSL_DISPATCH ossl_SubjectPublicKeyInfo_der_to_dsa_decoder_functions[]; 476extern const OSSL_DISPATCH ossl_type_specific_der_to_dsa_decoder_functions[]; 477extern const OSSL_DISPATCH ossl_DSA_der_to_dsa_decoder_functions[]; 478extern const OSSL_DISPATCH ossl_msblob_to_dsa_decoder_functions[]; 479extern const OSSL_DISPATCH ossl_pvk_to_dsa_decoder_functions[]; 480 481extern const OSSL_DISPATCH ossl_PrivateKeyInfo_der_to_ec_decoder_functions[]; 482extern const OSSL_DISPATCH ossl_SubjectPublicKeyInfo_der_to_ec_decoder_functions[]; 483extern const OSSL_DISPATCH ossl_type_specific_no_pub_der_to_ec_decoder_functions[]; 484extern const OSSL_DISPATCH ossl_EC_der_to_ec_decoder_functions[]; 485 486extern const OSSL_DISPATCH ossl_PrivateKeyInfo_der_to_x25519_decoder_functions[]; 487extern const OSSL_DISPATCH ossl_SubjectPublicKeyInfo_der_to_x25519_decoder_functions[]; 488 489extern const OSSL_DISPATCH ossl_PrivateKeyInfo_der_to_x448_decoder_functions[]; 490extern const OSSL_DISPATCH ossl_SubjectPublicKeyInfo_der_to_x448_decoder_functions[]; 491 492extern const OSSL_DISPATCH ossl_PrivateKeyInfo_der_to_ed25519_decoder_functions[]; 493extern const OSSL_DISPATCH ossl_SubjectPublicKeyInfo_der_to_ed25519_decoder_functions[]; 494 495extern const OSSL_DISPATCH ossl_PrivateKeyInfo_der_to_ed448_decoder_functions[]; 496extern const OSSL_DISPATCH ossl_SubjectPublicKeyInfo_der_to_ed448_decoder_functions[]; 497 498#ifndef OPENSSL_NO_SM2 499extern const OSSL_DISPATCH ossl_PrivateKeyInfo_der_to_sm2_decoder_functions[]; 500extern const OSSL_DISPATCH ossl_SubjectPublicKeyInfo_der_to_sm2_decoder_functions[]; 501#endif 502 503extern const OSSL_DISPATCH ossl_PrivateKeyInfo_der_to_rsa_decoder_functions[]; 504extern const OSSL_DISPATCH ossl_SubjectPublicKeyInfo_der_to_rsa_decoder_functions[]; 505extern const OSSL_DISPATCH ossl_type_specific_keypair_der_to_rsa_decoder_functions[]; 506extern const OSSL_DISPATCH ossl_RSA_der_to_rsa_decoder_functions[]; 507extern const OSSL_DISPATCH ossl_msblob_to_rsa_decoder_functions[]; 508extern const OSSL_DISPATCH ossl_pvk_to_rsa_decoder_functions[]; 509 510extern const OSSL_DISPATCH ossl_PrivateKeyInfo_der_to_rsapss_decoder_functions[]; 511extern const OSSL_DISPATCH ossl_SubjectPublicKeyInfo_der_to_rsapss_decoder_functions[]; 512 513extern const OSSL_DISPATCH ossl_EncryptedPrivateKeyInfo_der_to_der_decoder_functions[]; 514extern const OSSL_DISPATCH ossl_SubjectPublicKeyInfo_der_to_der_decoder_functions[]; 515extern const OSSL_DISPATCH ossl_pem_to_der_decoder_functions[]; 516 517extern const OSSL_DISPATCH ossl_file_store_functions[]; 518