Mon Nov 13 11:49:02 1995 Theodore Y. Ts'o <tytso@dcl>
+ * k5-int.h: Added typedef for krb5_preauth_proces_proc, and
+ changed the prototype of krb5_process_padata() to take
+ additional arguments for returning the decryption key to
+ use for decrypting the as_reply, as well as passing in the
+ decrypt_proc procedure in case some preauth types want to
+ call decrypt_proc themselves.
+
* krb5.hin: Add prototypes for krb5_encrypt_data(),
krb5_decrypt_data().
krb5_kdc_req *,
krb5_pa_data **));
-typedef krb5_error_code (krb5_preauth_verify_proc)
- KRB5_PROTOTYPE((krb5_context, krb5_principal client, krb5_address **src_addr,
- krb5_data *data));
+typedef krb5_error_code (krb5_preauth_process_proc)
+ KRB5_PROTOTYPE((krb5_context,
+ krb5_pa_data *,
+ krb5_kdc_req *,
+ krb5_kdc_rep *,
+ krb5_error_code ( * )(krb5_context,
+ krb5_const krb5_enctype,
+ krb5_data *,
+ krb5_const_pointer,
+ krb5_keyblock **),
+ krb5_const_pointer,
+ krb5_error_code ( * )(krb5_context,
+ krb5_const krb5_keyblock *,
+ krb5_const_pointer,
+ krb5_kdc_rep * ),
+ krb5_keyblock **,
+ krb5_creds *,
+ krb5_int32 *,
+ krb5_int32 *));
typedef struct _krb5_preauth_ops {
krb5_magic magic;
int type;
int flags;
krb5_preauth_obtain_proc *obtain;
- krb5_preauth_verify_proc *verify;
+ krb5_preauth_process_proc *process;
} krb5_preauth_ops;
krb5_error_code krb5_obtain_padata
krb5_data *,
krb5_const_pointer,
krb5_keyblock **),
- krb5_const_pointer,
+ krb5_const_pointer,
+ krb5_error_code ( * )(krb5_context,
+ krb5_const krb5_keyblock *,
+ krb5_const_pointer,
+ krb5_kdc_rep * ),
+ krb5_keyblock **,
krb5_creds *,
krb5_int32 *));