Lines Matching refs:krb5_key_state
59 struct krb5_key_state;
61 typedef void init_func(struct krb5_key_state *ks);
62 typedef void destroy_func(struct krb5_key_state *ks);
63 typedef void set_key_func(struct krb5_key_state *ks, const void *in);
64 typedef void random_to_key_func(struct krb5_key_state *ks, const void *in);
65 typedef void encrypt_func(const struct krb5_key_state *ks,
67 typedef void checksum_func(const struct krb5_key_state *ks, int usage,
89 struct krb5_key_state { struct
100 krb5_set_key(struct krb5_key_state *ks, const void *keydata) in krb5_set_key() argument
107 krb5_random_to_key(struct krb5_key_state *ks, const void *keydata) in krb5_random_to_key()
114 krb5_encrypt(const struct krb5_key_state *ks, struct mbuf *inout, in krb5_encrypt()
122 krb5_decrypt(const struct krb5_key_state *ks, struct mbuf *inout, in krb5_decrypt()
130 krb5_checksum(const struct krb5_key_state *ks, int usage, in krb5_checksum()
139 extern struct krb5_key_state *
141 extern void krb5_free_key(struct krb5_key_state *ks);
142 extern struct krb5_key_state *
143 krb5_derive_key(struct krb5_key_state *inkey,
145 extern struct krb5_key_state *
146 krb5_get_encryption_key(struct krb5_key_state *basekey, int usage);
147 extern struct krb5_key_state *
148 krb5_get_integrity_key(struct krb5_key_state *basekey, int usage);
149 extern struct krb5_key_state *
150 krb5_get_checksum_key(struct krb5_key_state *basekey, int usage);