Lines Matching refs:key
37 char *dk_key_name; /*%< name of the key */
38 int dk_key_size; /*%< this is the size of the key in bits */
39 int dk_proto; /*%< what protocols this key can be used for */
40 int dk_alg; /*%< algorithm number from key record */
41 u_int32_t dk_flags; /*%< and the flags of the public key */
42 u_int16_t dk_id; /*%< identifier of the key */
43 void *dk_KEY_struct; /*%< pointer to key in crypto pkg fmt */
60 /* suffixes for key file names */
62 #define PUBLIC_KEY "key"
80 int (*sign)(const int mode, DST_KEY *key, void **context,
83 int (*verify)(const int mode, DST_KEY *key, void **context,
87 int (*generate)(DST_KEY *key, int parms);
88 void *(*destroy)(void *key);
90 int (*to_dns_key)(const DST_KEY *key, u_int8_t *out,
92 int (*from_dns_key)(DST_KEY *key, const u_int8_t *str,
94 int (*to_file_fmt)(const DST_KEY *key, char *out,
96 int (*from_file_fmt)(DST_KEY *key, const char *out,
124 /* conversion between dns names and key file names */