summaryrefslogtreecommitdiffstats
path: root/src/plugins/preauth/securid_sam2/extern.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/preauth/securid_sam2/extern.h')
-rw-r--r--src/plugins/preauth/securid_sam2/extern.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/plugins/preauth/securid_sam2/extern.h b/src/plugins/preauth/securid_sam2/extern.h
new file mode 100644
index 0000000000..8bea143bb1
--- /dev/null
+++ b/src/plugins/preauth/securid_sam2/extern.h
@@ -0,0 +1,18 @@
+ krb5_error_code sam_get_db_entry(krb5_context , krb5_principal,
+ int *, krb5_db_entry **);
+
+krb5_error_code
+securid_make_sam_challenge_2_and_cksum (krb5_context context,
+ krb5_sam_challenge_2 *sc2, krb5_sam_challenge_2_body *sc2b,
+ krb5_keyblock *cksum_key);
+krb5_error_code get_securid_edata_2(krb5_context context,
+ krb5_db_entry *client,
+ krb5_sam_challenge_2_body *sc2b,
+ krb5_sam_challenge_2 *sc2);
+
+krb5_error_code verify_securid_data_2(krb5_context context,
+ krb5_db_entry *client,
+ krb5_sam_response_2 *sr2,
+ krb5_enc_tkt_part *enc_tkt_reply,
+ krb5_pa_data *pa,
+ krb5_sam_challenge_2 **sc2_out);