Lines Matching defs:key
35 /* public key routines */
59 * Choose top 128 bits of the common key to use as our idea key.
87 * Choose middle 64 bits of the common key to use as our des key, possibly
116 * get common key from my secret key and his public key
149 * Generate a random public/secret key pair
193 * Adjust the input key so that it is 0-filled on the left
213 /* given a DES key, cbc encrypt and translate input to terminated hex */
215 pk_encode(char *in, char *out, DesData *key)
225 DES_key_sched(key, &k);
234 /* given a DES key, translate input from hex and decrypt */
236 pk_decode(char *in, char *out, DesData *key)
257 DES_key_sched(key, &k);