Home
last modified time | relevance | path

Searched refs:keystring (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/libder/tests/
H A Dtest_pubkey.c38 struct libder_object *keystring; in test_interface() local
40 keystring = libder_obj_child(root, 1); in test_interface()
41 assert(keystring != NULL); in test_interface()
42 assert(libder_obj_type_simple(keystring) == BT_BITSTRING); in test_interface()
44 data = libder_obj_data(keystring, &datasz); in test_interface()
55 struct libder_object *keystring; in test_construction() local
65 keystring = libder_obj_alloc_simple(ctx, BT_BITSTRING, pubdata, sizeof(pubdata)); in test_construction()
66 assert(keystring != NULL); in test_construction()
67 assert(libder_obj_append(root, keystring)); in test_construction()
H A Dtest_privkey.c42 struct libder_object *keystring, *oid; in test_interface() local
56 keystring = libder_obj_child(root, 1); in test_interface()
57 assert(keystring != NULL); in test_interface()
58 assert(libder_obj_type_simple(keystring) == BT_OCTETSTRING); in test_interface()
60 data = libder_obj_data(keystring, &datasz); in test_interface()
71 struct libder_object *keystring; in test_construction() local
/freebsd/contrib/ntp/sntp/
H A Dcrypto.c217 char keystring[129]; in auth_init()
249 &act->key_id, act->typen, keystring); in auth_init()
251 int len = strlen(keystring); in auth_init()
255 memcpy(act->key_seq, keystring, len + 1); in auth_init()
263 val = (hex_val(keystring[j]) << 4) | in auth_init()
264 hex_val(keystring[j+1]); in auth_init()
224 char keystring[129]; auth_init() local
/freebsd/crypto/openssh/
H A Dauth2-pubkey.c124 char *keystring; in userauth_pubkey() local
129 if ((keystring = sshbuf_dtob64_string(pkbuf, 0)) == NULL) in userauth_pubkey()
133 have_sig ? "attempting" : "querying", pkalg, keystring); in userauth_pubkey()
135 free(keystring); in userauth_pubkey()