Home
last modified time | relevance | path

Searched refs:pubkey (Results 1 – 2 of 2) sorted by relevance

/haiku/src/system/libnetwork/netresolv/dst/
H A Ddst_api.c332 DST_KEY *dg_key = NULL, *pubkey = NULL; in dst_read_key() local
350 if ((pubkey = dst_s_read_public_key(keyname, in_id, in_alg)) == NULL) in dst_read_key()
354 return pubkey; in dst_read_key()
356 if (!(dg_key = dst_s_get_key_struct(keyname, pubkey->dk_alg, in dst_read_key()
357 (int)pubkey->dk_flags, in dst_read_key()
358 pubkey->dk_proto, 0))) in dst_read_key()
361 if (dst_s_read_private_key_file(keyname, dg_key, pubkey->dk_id, in dst_read_key()
362 pubkey->dk_alg) == 0) in dst_read_key()
365 (void)dst_free_key(pubkey); in dst_read_key()
/haiku/src/libs/libtelnet/
H A Drsaencpwd.c319 char chalkey[160], pubkey[128], *ptr; local
358 memmove(pubkey, ptr, pubkey_len);
363 r = init_rsa_encpwd(&token, user_passwd, challenge, challenge_len, pubkey);