Lines Matching defs:KEY
36 #define KEY zen_nb_t
45 typedef int t_zencod_dump_key (FILE *stream, char *msg, KEY *key);
51 typedef KEY *t_zencod_new_number (unsigned long len, unsigned char *data);
52 typedef int t_zencod_init_number (KEY *n, unsigned long len, unsigned char *data);
61 typedef int t_zencod_rsa_mod_exp (KEY *y, KEY *x, KEY *n, KEY *e);
63 typedef int t_zencod_rsa_mod_exp_crt (KEY *y, KEY *x, KEY *p, KEY *q,
64 KEY *edp, KEY *edq, KEY *qinv);
70 typedef int t_zencod_dsa_do_sign (unsigned int hash, KEY *data, KEY *random,
71 KEY *p, KEY *q, KEY *g, KEY *x, KEY *r, KEY *s);
72 typedef int t_zencod_dsa_do_verify (unsigned int hash, KEY *data,
73 KEY *p, KEY *q, KEY *g, KEY *y,
74 KEY *r, KEY *s, KEY *v);
81 typedef int t_zencod_dh_generate_key (KEY *y, KEY *x, KEY *g, KEY *n, int gen_x);
82 typedef int t_zencod_dh_compute_key (KEY *k, KEY *y, KEY *x, KEY *n);
90 typedef int t_zencod_rand_bytes (KEY *rand, unsigned int flags);
96 typedef int t_zencod_math_mod_exp (KEY *r, KEY *a, KEY *e, KEY *n);
117 /* typedef int t_zencod_hash ( KEY *output, const KEY *input, int algo ) ;
118 * typedef int t_zencod_sha_hash ( KEY *output, const KEY *input, int algo ) ;
122 typedef int t_zencod_md5_update ( ZEN_MD_DATA *data, const KEY *input ) ;
123 typedef int t_zencod_md5_do_final ( ZEN_MD_DATA *data, KEY *output ) ;
126 typedef int t_zencod_sha1_update ( ZEN_MD_DATA *data, const KEY *input ) ;
127 typedef int t_zencod_sha1_do_final ( ZEN_MD_DATA *data, KEY *output ) ;
139 typedef int t_zencod_rc4_cipher ( KEY *output, const KEY *input, const KEY *key,
150 typedef int t_zencod_xdes_cipher ( KEY *output, const KEY *input, const KEY *key_1,
151 const KEY *key_2, const KEY *key_3, const KEY *iv, int mode ) ;
154 #undef KEY