sym_pkinit.c
1 struct krb5_dh_moduli; 2 struct _krb5_krb_auth_data; 3 struct AlgorithmIdentifier; 4 struct _krb5_key_data; 5 struct _krb5_checksum_type; 6 struct _krb5_key_type; 7 struct _krb5_encryption_type; 8 struct _krb5_srv_query_ctx; 9 struct krb5_fast_state; 10 struct _krb5_srp_group; 11 struct _krb5_srp; 12 13 #define KRB5_DEPRECATED 14 #define KRB5_DEPRECATED_FUNCTION(x) 15 #define GSSAPI_DEPRECATED 16 #define HC_DEPRECATED 17 #define HC_DEPRECATED_CRYPTO 18 #define GSSAPI_DEPRECATED_FUNCTION(x) 19 20 #include <config.h> 21 #include <krb5.h> 22 #include <krb5cf-protos.h> 23 #include <krb5_asn1.h> 24 #include "crypto-headers.h" 25 #include <gssapi_rewrite.h> 26 #include <GSS.h> 27 #include <GSSPrivate.h> 28 #include <gssapi.h> 29 #include <gssapi_krb5.h> 30 #include <gssapi_scram.h> 31 #include <gssapi_spnego.h> 32 #include <gssapi_ntlm.h> 33 #include <gssapi_netlogon.h> 34 #include <gssapi_apple.h> 35 #include <gssapi_spi.h> 36 #include <GSSItem.h> 37 #include <heimbase.h> 38 #include <heimbasepriv.h> 39 #include <hx509.h> 40 #include <krb5-private.h> 41 #include <roken.h> 42 #include <rtbl.h> 43 #include <parse_bytes.h> 44 #include <krb5_err.h> 45 #include <heim_err.h> 46 #include <krb_err.h> 47 #include <hdb_err.h> 48 #include <hx509_err.h> 49 #include <heim-ipc.h> 50 #include <wind.h> 51 #include <parse_units.h> 52 #include <parse_time.h> 53 #include <base64.h> 54 #include <hex.h> 55 #include <com_err.h> 56 #include <der.h> 57 #include <rfc2459_asn1.h> 58 #include <cms_asn1.h> 59 #include <spnego_asn1.h> 60 #include <gkrb5_err.h> 61 #include <heimcred.h> 62 63 krb5_error_code _gsskrb5_init (krb5_context *); 64 65 extern int _krb5_AES_string_to_default_iterator; 66 67 struct hx509_collector; 68 struct hx_expr; 69 struct hx509_generate_private_context; 70 struct hx509_keyset_ops; 71 typedef struct hx509_path hx509_path; 72 typedef void (*_hx509_cert_release_func)(struct hx509_cert_data *, void *); 73 74 #include <hx509-private.h> 75 76 extern const void *pkinit_sym_export[]; 77 78 #pragma clang diagnostic push 79 #pragma clang diagnostic ignored "-Wdeprecated-declarations" 80 const void *pkinit_sym_export[] = { 81 #ifdef PKINIT 82 (const void *)_krb5_parse_moduli, 83 (const void *)_krb5_pk_kdf, 84 (const void *)_krb5_pk_load_id, 85 (const void *)_krb5_pk_mk_ContentInfo, 86 (const void *)_krb5_pk_octetstring2key, 87 (const void *)_krb5_dh_group_ok, 88 (const void *)krb5_pk_enterprise_cert, 89 (const void *)_krb5_pk_enterprise_cert, 90 (const void *)_krb5_pk_match_cert, 91 (const void *)_krb5_pk_find_cert, 92 #endif 93 NULL 94 }; 95 96 #pragma clang diagnostic pop 97