Lines Matching defs:public
39 /* public key routines */
41 genkeys(char *public, char *secret)
42 common_key(char *secret, char *public, desData *deskey)
46 char public[HEXKEYBYTES + 1];
130 * get common key from my secret key and his public key
135 BIGNUM *public = BN_new();
142 (void)BN_hex2bn(&public, xpublic);
146 BN_mod_exp(common, public, secret, modulus, ctx);
154 BN_free(public);
171 * Generate a random public/secret key pair
174 genkeys(char *public, char *secret)
213 adjust(public, xkey);