/* domestic/crypt_conn.c */
extern afs_int32 rxkad_DecryptPacket (const struct rx_connection *conn,
- const fc_KeySchedule *schedule, const fc_InitializationVector *ivec,
- const int len, struct rx_packet *packet);
+ const fc_KeySchedule *schedule, const afs_uint32 *ivec,
+ int len, struct rx_packet *packet);
extern afs_int32 rxkad_EncryptPacket (const struct rx_connection *conn,
- const fc_KeySchedule *schedule, const fc_InitializationVector *ivec,
- const int len, struct rx_packet *packet);
+ const fc_KeySchedule *schedule, const afs_uint32 *iv,
+ int len, struct rx_packet *packet);
/* domestic/fcrypt.c */
-extern int fc_keysched (struct ktc_encryptionKey *key,
+extern int fc_keysched (void *key,
fc_KeySchedule schedule);
extern afs_int32 fc_ecb_encrypt(afs_uint32 *clear, afs_uint32 *cipher,
fc_KeySchedule schedule, int encrypt);
-extern afs_int32 fc_cbc_encrypt (char *input, char *output, afs_int32 length,
+extern afs_int32 fc_cbc_encrypt (afs_uint32 *input, afs_uint32 *output,
+ afs_int32 length,
fc_KeySchedule key, afs_uint32 *xor, int encrypt);
/* rxkad_client.c */
extern afs_uint32 life_to_time (afs_uint32 start, unsigned char life);
extern unsigned char time_to_life (afs_uint32 start, afs_uint32 end);
+/* ticket5.c */
+extern int tkt_DecodeTicket5(char *ticket, afs_int32 ticket_len,
+ int (*get_key)(char *, int, struct ktc_encryptionKey *),
+ char *get_key_rock,
+ int serv_kvno,
+ char *name,
+ char *inst,
+ char *cell,
+ char *session_key,
+ afs_int32 *host,
+ afs_int32 *start,
+ afs_int32 *end);
#endif