Lines Matching refs:keystate
77 struct keystate { struct
126 struct keystate *state; /* Key information, can also be passed sep. */
127 enum cryptoerr (*init)(struct keystate *, u_int8_t *, u_int16_t);
128 void (*encrypt)(struct keystate *, u_int8_t *, u_int16_t);
129 void (*decrypt)(struct keystate *, u_int8_t *, u_int16_t);
132 extern struct keystate *crypto_clone_keystate(struct keystate *);
133 extern void crypto_decrypt(struct keystate *, u_int8_t *, u_int16_t);
134 extern void crypto_encrypt(struct keystate *, u_int8_t *, u_int16_t);
136 extern struct keystate *crypto_init(struct crypto_xf *, u_int8_t *, u_int16_t,
138 extern void crypto_init_iv(struct keystate *, u_int8_t *, size_t);
139 extern void crypto_update_iv(struct keystate *);