Searched refs:krb5_key_state (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/kgssapi/krb5/ |
H A D | kcrypto.h | 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() [all …]
|
H A D | kcrypto.c | 59 struct krb5_key_state * 62 struct krb5_key_state *ks; in krb5_create_key() 64 ks = malloc(sizeof(struct krb5_key_state), M_GSSAPI, M_WAITOK); in krb5_create_key() 74 krb5_free_key(struct krb5_key_state *ks) in krb5_free_key() 180 struct krb5_key_state * 181 krb5_derive_key(struct krb5_key_state *inkey, in krb5_derive_key() 184 struct krb5_key_state *dk; in krb5_derive_key() 222 static struct krb5_key_state * 223 krb5_get_usage_key(struct krb5_key_state *basekey, int usage, int which) in krb5_get_usage_key() 242 struct krb5_key_state * [all …]
|
H A D | kcrypto_aes.c | 50 aes_init(struct krb5_key_state *ks) in aes_init() 60 aes_destroy(struct krb5_key_state *ks) in aes_destroy() 73 aes_set_key(struct krb5_key_state *ks, const void *in) in aes_set_key() 110 aes_random_to_key(struct krb5_key_state *ks, const void *in) in aes_random_to_key() 137 aes_encrypt_1(const struct krb5_key_state *ks, int buftype, void *buf, in aes_encrypt_1() 176 aes_encrypt(const struct krb5_key_state *ks, struct mbuf *inout, in aes_encrypt() 247 aes_decrypt(const struct krb5_key_state *ks, struct mbuf *inout, in aes_decrypt() 316 aes_checksum(const struct krb5_key_state *ks, int usage, in aes_checksum()
|
H A D | krb5_mech.c | 108 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 …]
|