Home
last modified time | relevance | path

Searched refs:keystr (Results 1 – 11 of 11) sorted by relevance

/freebsd-13.1/contrib/ntp/libntp/
H A Dauthreadkeys.c145 u_char keystr[32]; /* Bug 2537 */ in authreadkeys() local
275 jlim = min(len, 2 * sizeof(keystr)); in authreadkeys()
282 keystr[j / 2] |= temp; in authreadkeys()
284 keystr[j / 2] = temp << 4; in authreadkeys()
298 memcpy(next->secbuf, keystr, len); in authreadkeys()
/freebsd-13.1/cddl/contrib/opensolaris/lib/pyzfs/common/
H A Dioctl.c146 char *keystr = PyString_AsString(key); in dict2nvl() local
147 if (keystr == NULL) { in dict2nvl()
155 err = nvlist_add_nvlist(nvl, keystr, valnvl); in dict2nvl()
158 err = nvlist_add_boolean(nvl, keystr); in dict2nvl()
161 err = nvlist_add_string(nvl, keystr, valstr); in dict2nvl()
164 err = nvlist_add_uint64(nvl, keystr, valint); in dict2nvl()
167 err = nvlist_add_boolean_value(nvl, keystr, valbool); in dict2nvl()
/freebsd-13.1/usr.sbin/bhyve/
H A Drfb.c802 unsigned char keystr[PASSWD_LENGTH]; in rfb_handle() local
881 strncpy(keystr, rc->password, PASSWD_LENGTH); in rfb_handle()
888 keystr[i] = (keystr[i] & 0xF0) >> 4 in rfb_handle()
889 | (keystr[i] & 0x0F) << 4; in rfb_handle()
890 keystr[i] = (keystr[i] & 0xCC) >> 2 in rfb_handle()
891 | (keystr[i] & 0x33) << 2; in rfb_handle()
892 keystr[i] = (keystr[i] & 0xAA) >> 1 in rfb_handle()
893 | (keystr[i] & 0x55) << 1; in rfb_handle()
906 DES_set_key((const_DES_cblock *)keystr, &ks); in rfb_handle()
/freebsd-13.1/contrib/libucl/python/src/
H A Duclmodule.c163 char *keystr = NULL; in _iterate_python() local
172 keystr = PyBytes_AsString(keyascii); in _iterate_python()
177 keystr = PyString_AsString(key); in _iterate_python()
185 ucl_object_insert_key (top, elm, keystr, 0, true); in _iterate_python()
/freebsd-13.1/sys/compat/ndis/
H A Dsubr_ndis.c621 char *keystr = NULL; local
644 keystr = as.as_buf;
652 if (strcasecmp(oidp->oid_name, keystr) == 0) {
678 ndis_add_sysctl(sc, keystr, "(dynamic integer key)",
681 ndis_add_sysctl(sc, keystr, "(dynamic string key)",
726 char *keystr = NULL; local
741 keystr = as.as_buf;
755 if (strcasecmp(oidp->oid_name, keystr) == 0) {
764 ndis_add_sysctl(sc, keystr, "(dynamically set key)",
/freebsd-13.1/contrib/ntp/util/
H A Dntp-keygen.c851 u_char keystr[MD5SIZE]; in gen_md5() local
884 RAND_bytes(keystr, 20); in gen_md5()
886 hexstr[2 * j] = hex[keystr[j] >> 4]; in gen_md5()
887 hexstr[2 * j + 1] = hex[keystr[j] & 0xf]; in gen_md5()
/freebsd-13.1/contrib/ntp/ntpdc/
H A Dlayout.std248 offsetof(keystr) = 16
/freebsd-13.1/contrib/ntp/include/
H A Dntp_request.h607 char keystr[128]; /* public key file name */ member
/freebsd-13.1/usr.sbin/ntp/ntpdc/
H A Dnl.c493 (int) offsetof(struct conf_peer, keystr));
/freebsd-13.1/contrib/ntp/
H A DCommitLog-4.1.01093 NUL on the keystr.
2077 * ntpd/ntp_peer.c (unpeer): Moved keystr cleanup inside ifdef PUBKEY
H A DCommitLog159612 bounds check keystr[] access, eliminate truncation warning