Searched refs:krb5_key_state (Results 1 - 7 of 7) sorted by relevance

/freebsd-9.3-release/sys/kgssapi/krb5/
H A Dkcrypto.h59 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
104 krb5_set_key(struct krb5_key_state *ks, const void *keydata)
111 krb5_random_to_key(struct krb5_key_state *k
[all...]
H A Dkcrypto.c63 struct krb5_key_state *
66 struct krb5_key_state *ks;
68 ks = malloc(sizeof(struct krb5_key_state), M_GSSAPI, M_WAITOK);
78 krb5_free_key(struct krb5_key_state *ks)
184 struct krb5_key_state *
185 krb5_derive_key(struct krb5_key_state *inkey,
188 struct krb5_key_state *dk;
227 static struct krb5_key_state *
228 krb5_get_usage_key(struct krb5_key_state *basekey, int usage, int which)
247 struct krb5_key_state *
[all...]
H A Dkcrypto_arcfour.c45 arcfour_init(struct krb5_key_state *ks)
52 arcfour_destroy(struct krb5_key_state *ks)
58 arcfour_set_key(struct krb5_key_state *ks, const void *in)
67 arcfour_random_to_key(struct krb5_key_state *ks, const void *in)
103 arcfour_derive_key(const struct krb5_key_state *ks, uint32_t usage,
131 arcfour_encrypt(const struct krb5_key_state *ks, struct mbuf *inout,
162 arcfour_checksum(const struct krb5_key_state *ks, int usage,
H A Dkcrypto_des.c52 des1_init(struct krb5_key_state *ks)
62 des1_destroy(struct krb5_key_state *ks)
74 des1_set_key(struct krb5_key_state *ks, const void *in)
99 des1_random_to_key(struct krb5_key_state *ks, const void *in)
161 des1_encrypt_1(const struct krb5_key_state *ks, int buftype, void *buf,
202 des1_encrypt(const struct krb5_key_state *ks, struct mbuf *inout,
211 des1_decrypt(const struct krb5_key_state *ks, struct mbuf *inout,
227 des1_checksum(const struct krb5_key_state *ks, int usage,
H A Dkcrypto_aes.c50 aes_init(struct krb5_key_state *ks)
60 aes_destroy(struct krb5_key_state *ks)
71 aes_set_key(struct krb5_key_state *ks, const void *in)
105 aes_random_to_key(struct krb5_key_state *ks, const void *in)
132 aes_encrypt_1(const struct krb5_key_state *ks, int buftype, void *buf,
173 aes_encrypt(const struct krb5_key_state *ks, struct mbuf *inout,
244 aes_decrypt(const struct krb5_key_state *ks, struct mbuf *inout,
311 aes_checksum(const struct krb5_key_state *ks, int usage,
H A Dkcrypto_des3.c53 des3_init(struct krb5_key_state *ks)
63 des3_destroy(struct krb5_key_state *ks)
74 des3_set_key(struct krb5_key_state *ks, const void *in)
105 des3_random_to_key(struct krb5_key_state *ks, const void *in)
171 des3_encrypt_1(const struct krb5_key_state *ks, struct mbuf *inout,
212 des3_encrypt(const struct krb5_key_state *ks, struct mbuf *inout,
220 des3_decrypt(const struct krb5_key_state *ks, struct mbuf *inout,
228 des3_checksum(const struct krb5_key_state *ks, int usage,
370 struct krb5_key_state *key, *dk;
H A Dkrb5_mech.c108 struct krb5_key_state *kc_tokenkey;
109 struct krb5_key_state *kc_encryptkey;
110 struct krb5_key_state *kc_checksumkey;
112 struct krb5_key_state *kc_send_seal_Ke;
113 struct krb5_key_state *kc_send_seal_Ki;
114 struct krb5_key_state *kc_send_seal_Kc;
115 struct krb5_key_state *kc_send_sign_Kc;
117 struct krb5_key_state *kc_recv_seal_Ke;
118 struct krb5_key_state *kc_recv_seal_Ki;
119 struct krb5_key_state *kc_recv_seal_K
[all...]

Completed in 101 milliseconds