| /freebsd-13.1/contrib/ntp/libntp/ |
| H A D | authreadkeys.c | 145 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 D | ioctl.c | 146 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 D | rfb.c | 802 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 D | uclmodule.c | 163 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 D | subr_ndis.c | 621 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 D | ntp-keygen.c | 851 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 D | layout.std | 248 offsetof(keystr) = 16
|
| /freebsd-13.1/contrib/ntp/include/ |
| H A D | ntp_request.h | 607 char keystr[128]; /* public key file name */ member
|
| /freebsd-13.1/usr.sbin/ntp/ntpdc/ |
| H A D | nl.c | 493 (int) offsetof(struct conf_peer, keystr));
|
| /freebsd-13.1/contrib/ntp/ |
| H A D | CommitLog-4.1.0 | 1093 NUL on the keystr. 2077 * ntpd/ntp_peer.c (unpeer): Moved keystr cleanup inside ifdef PUBKEY
|
| H A D | CommitLog | 159612 bounds check keystr[] access, eliminate truncation warning
|