Home
last modified time | relevance | path

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

/freebsd-9-stable/sys/kgssapi/krb5/
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) in krb5_set_key() argument
111 krb5_random_to_key(struct krb5_key_state *ks, const void *keydata) in krb5_random_to_key()
[all …]
Dkcrypto.c63 struct krb5_key_state *
66 struct krb5_key_state *ks; in krb5_create_key()
68 ks = malloc(sizeof(struct krb5_key_state), M_GSSAPI, M_WAITOK); in krb5_create_key()
78 krb5_free_key(struct krb5_key_state *ks) in krb5_free_key()
184 struct krb5_key_state *
185 krb5_derive_key(struct krb5_key_state *inkey, in krb5_derive_key()
188 struct krb5_key_state *dk; in krb5_derive_key()
227 static struct krb5_key_state *
228 krb5_get_usage_key(struct krb5_key_state *basekey, int usage, int which) in krb5_get_usage_key()
247 struct krb5_key_state *
[all …]
Dkcrypto_arcfour.c45 arcfour_init(struct krb5_key_state *ks) in arcfour_init()
52 arcfour_destroy(struct krb5_key_state *ks) in arcfour_destroy()
58 arcfour_set_key(struct krb5_key_state *ks, const void *in) in arcfour_set_key()
67 arcfour_random_to_key(struct krb5_key_state *ks, const void *in) in arcfour_random_to_key()
103 arcfour_derive_key(const struct krb5_key_state *ks, uint32_t usage, in arcfour_derive_key()
131 arcfour_encrypt(const struct krb5_key_state *ks, struct mbuf *inout, in arcfour_encrypt()
162 arcfour_checksum(const struct krb5_key_state *ks, int usage, in arcfour_checksum()
Dkcrypto_des.c52 des1_init(struct krb5_key_state *ks) in des1_init()
62 des1_destroy(struct krb5_key_state *ks) in des1_destroy()
74 des1_set_key(struct krb5_key_state *ks, const void *in) in des1_set_key()
99 des1_random_to_key(struct krb5_key_state *ks, const void *in) in des1_random_to_key()
161 des1_encrypt_1(const struct krb5_key_state *ks, int buftype, void *buf, in des1_encrypt_1()
202 des1_encrypt(const struct krb5_key_state *ks, struct mbuf *inout, in des1_encrypt()
211 des1_decrypt(const struct krb5_key_state *ks, struct mbuf *inout, in des1_decrypt()
227 des1_checksum(const struct krb5_key_state *ks, int usage, in des1_checksum()
Dkcrypto_des3.c53 des3_init(struct krb5_key_state *ks) in des3_init()
63 des3_destroy(struct krb5_key_state *ks) in des3_destroy()
74 des3_set_key(struct krb5_key_state *ks, const void *in) in des3_set_key()
105 des3_random_to_key(struct krb5_key_state *ks, const void *in) in des3_random_to_key()
171 des3_encrypt_1(const struct krb5_key_state *ks, struct mbuf *inout, in des3_encrypt_1()
212 des3_encrypt(const struct krb5_key_state *ks, struct mbuf *inout, in des3_encrypt()
220 des3_decrypt(const struct krb5_key_state *ks, struct mbuf *inout, in des3_decrypt()
228 des3_checksum(const struct krb5_key_state *ks, int usage, in des3_checksum()
370 struct krb5_key_state *key, *dk;
Dkcrypto_aes.c50 aes_init(struct krb5_key_state *ks) in aes_init()
60 aes_destroy(struct krb5_key_state *ks) in aes_destroy()
71 aes_set_key(struct krb5_key_state *ks, const void *in) in aes_set_key()
105 aes_random_to_key(struct krb5_key_state *ks, const void *in) in aes_random_to_key()
132 aes_encrypt_1(const struct krb5_key_state *ks, int buftype, void *buf, in aes_encrypt_1()
173 aes_encrypt(const struct krb5_key_state *ks, struct mbuf *inout, in aes_encrypt()
244 aes_decrypt(const struct krb5_key_state *ks, struct mbuf *inout, in aes_decrypt()
311 aes_checksum(const struct krb5_key_state *ks, int usage, in aes_checksum()
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_Kc;
[all …]