Lines Matching defs:key
40 giant x; // x coord of public key
46 giant y; // y coord of public key
55 typedef keystruct *key;
59 * doing key exchange. This *must* be CURVE_PLUS for key exchange to work
64 key new_public(curveParams *cp, int twist);
67 * Specify private data for key created by new_public().
70 void set_priv_key_giant(key k, giant privGiant);
73 * Generate new key with twist and k->x from old_key.
75 key new_public_with_key(key old_key, curveParams *cp);
80 int key_equal(key first, key second);
83 * De-allocate an allocated key.
85 void free_key(key pub);
124 * return a new giant that is the pad from private data and public key
126 giant make_pad(giant privGiant, key publicKey);