Lines Matching defs:krb5_key_state
61 struct krb5_key_state;
63 typedef void init_func(struct krb5_key_state *ks);
64 typedef void destroy_func(struct krb5_key_state *ks);
65 typedef void set_key_func(struct krb5_key_state *ks, const void *in);
66 typedef void random_to_key_func(struct krb5_key_state *ks, const void *in);
67 typedef void encrypt_func(const struct krb5_key_state *ks,
69 typedef void checksum_func(const struct krb5_key_state *ks, int usage,
91 struct krb5_key_state {
102 krb5_set_key(struct krb5_key_state *ks, const void *keydata)
109 krb5_random_to_key(struct krb5_key_state *ks, const void *keydata)
116 krb5_encrypt(const struct krb5_key_state *ks, struct mbuf *inout,
124 krb5_decrypt(const struct krb5_key_state *ks, struct mbuf *inout,
132 krb5_checksum(const struct krb5_key_state *ks, int usage,
141 extern struct krb5_key_state *
143 extern void krb5_free_key(struct krb5_key_state *ks);
144 extern struct krb5_key_state *
145 krb5_derive_key(struct krb5_key_state *inkey,
147 extern struct krb5_key_state *
148 krb5_get_encryption_key(struct krb5_key_state *basekey, int usage);
149 extern struct krb5_key_state *
150 krb5_get_integrity_key(struct krb5_key_state *basekey, int usage);
151 extern struct krb5_key_state *
152 krb5_get_checksum_key(struct krb5_key_state *basekey, int usage);