Lines Matching refs:KEY

35 # define KEY     zen_nb_t
43 typedef int t_zencod_dump_key(FILE *stream, char *msg, KEY * key);
48 typedef KEY *t_zencod_new_number(unsigned long len, unsigned char *data);
49 typedef int t_zencod_init_number(KEY * n, unsigned long len,
59 typedef int t_zencod_rsa_mod_exp(KEY * y, KEY * x, KEY * n, KEY * e);
64 typedef int t_zencod_rsa_mod_exp_crt(KEY * y, KEY * x, KEY * p, KEY * q,
65 KEY * edp, KEY * edq, KEY * qinv);
70 typedef int t_zencod_dsa_do_sign(unsigned int hash, KEY * data,
71 KEY * random, KEY * p, KEY * q, KEY * g,
72 KEY * x, KEY * r, KEY * s);
73 typedef int t_zencod_dsa_do_verify(unsigned int hash, KEY * data, KEY * p,
74 KEY * q, KEY * g, KEY * y, KEY * r,
75 KEY * s, KEY * v);
81 typedef int t_zencod_dh_generate_key(KEY * y, KEY * x, KEY * g, KEY * n,
83 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);
95 typedef int t_zencod_math_mod_exp(KEY * r, KEY * a, KEY * e, KEY * n);
113 * typedef int t_zencod_hash ( KEY *output, const KEY *input, int algo ) ;
114 * typedef int t_zencod_sha_hash ( KEY *output, const KEY *input, int algo ) ;
118 typedef int t_zencod_md5_update(ZEN_MD_DATA *data, const KEY * input);
119 typedef int t_zencod_md5_do_final(ZEN_MD_DATA *data, KEY * output);
122 typedef int t_zencod_sha1_update(ZEN_MD_DATA *data, const KEY * input);
123 typedef int t_zencod_sha1_do_final(ZEN_MD_DATA *data, KEY * output);
137 typedef int t_zencod_rc4_cipher(KEY * output, const KEY * input,
138 const KEY * key, unsigned char *index_1,
149 typedef int t_zencod_xdes_cipher(KEY * output, const KEY * input,
150 const KEY * key_1, const KEY * key_2,
151 const KEY * key_3, const KEY * iv,
154 # undef KEY