Home
last modified time | relevance | path

Searched refs:keybuf (Results 1 – 20 of 20) sorted by relevance

/netbsd/src/external/ibm-public/postfix/dist/src/postmap/
Dpostmap.c595 const char *keybuf, in postmap_body() argument
613 if ((value = dict_get(dicts[n], keybuf)) != 0) { in postmap_body()
616 dicts[n]->type, dicts[n]->name, keybuf); in postmap_body()
620 vstream_printf("%s %s\n", keybuf, value); in postmap_body()
663 VSTRING *keybuf = vstring_alloc(100); in postmap_queries() local
687 while (vstring_get_nonl(keybuf, in) != VSTREAM_EOF) { in postmap_queries()
695 (dicts[n], STR(keybuf)); in postmap_queries()
699 dicts[n]->type, dicts[n]->name, STR(keybuf)); in postmap_queries()
703 vstream_printf("%s %s\n", STR(keybuf), value); in postmap_queries()
749 while (vstring_get_nonl(keybuf, in) != VSTREAM_EOF in postmap_queries()
[all …]
/netbsd/src/usr.bin/sort/
Dfields.c92 enterkey(RECHEADER *keybuf, const u_char *keybuf_end, u_char *line_data, in enterkey() argument
142 keypos = keybuf->data; in enterkey()
154 keybuf->offset = keypos - keybuf->data; in enterkey()
155 keybuf->length = keybuf->offset + line_size; in enterkey()
164 keybuf->keylen = posix_sort ? keybuf->length : keybuf->offset; in enterkey()
/netbsd/src/external/ibm-public/postfix/dist/src/global/
Ddict_ldap.c818 VSTRING *keybuf = vstring_alloc(10); in dict_ldap_conn_find() local
834 ADDSTR(keybuf, dict_ldap->server_host); in dict_ldap_conn_find()
835 ADDINT(keybuf, dict_ldap->server_port); in dict_ldap_conn_find()
836 ADDINT(keybuf, dict_ldap->bind); in dict_ldap_conn_find()
837 ADDSTR(keybuf, DICT_LDAP_DO_BIND(dict_ldap) ? dict_ldap->bind_dn : ""); in dict_ldap_conn_find()
838 ADDSTR(keybuf, DICT_LDAP_DO_BIND(dict_ldap) ? dict_ldap->bind_pw : ""); in dict_ldap_conn_find()
839 ADDINT(keybuf, dict_ldap->dereference); in dict_ldap_conn_find()
840 ADDINT(keybuf, dict_ldap->chase_referrals); in dict_ldap_conn_find()
841 ADDINT(keybuf, dict_ldap->debuglevel); in dict_ldap_conn_find()
842 ADDINT(keybuf, dict_ldap->version); in dict_ldap_conn_find()
[all …]
/netbsd/src/external/ibm-public/postfix/dist/src/postalias/
Dpostalias.c522 VSTRING *keybuf = vstring_alloc(100); in postalias_queries() local
545 while (vstring_get_nonl(keybuf, in) != VSTREAM_EOF) { in postalias_queries()
551 if ((value = dict_get(dicts[n], STR(keybuf))) != 0) { in postalias_queries()
554 dicts[n]->type, dicts[n]->name, STR(keybuf)); in postalias_queries()
558 vstream_printf("%s: %s\n", STR(keybuf), value); in postalias_queries()
577 vstring_free(keybuf); in postalias_queries()
613 VSTRING *keybuf = vstring_alloc(100); in postalias_deletes() local
643 while (vstring_get_nonl(keybuf, in) != VSTREAM_EOF) { in postalias_deletes()
645 found |= (dict_del(dicts[n], STR(keybuf)) == 0); in postalias_deletes()
659 vstring_free(keybuf); in postalias_deletes()
/netbsd/src/external/ibm-public/postfix/dist/src/tls/
Dtls_mgr.c341 static VSTRING *keybuf; in request_scache_key() local
352 if (keybuf == 0) in request_scache_key()
353 keybuf = vstring_alloc(sizeof(tmp)); in request_scache_key()
369 RECV_ATTR_DATA(TLS_MGR_ATTR_KEYBUF, keybuf), in request_scache_key()
372 || LEN(keybuf) != sizeof(tmp)) in request_scache_key()
375 memcpy((void *) &tmp, STR(keybuf), sizeof(tmp)); in request_scache_key()
/netbsd/src/sbin/restore/
Drestore.c497 static char keybuf[32]; in keyval() local
499 (void) strcpy(keybuf, "|NIL"); in keyval()
500 keybuf[0] = '\0'; in keyval()
502 (void) strcat(keybuf, "|ONTAPE"); in keyval()
504 (void) strcat(keybuf, "|INOFND"); in keyval()
506 (void) strcat(keybuf, "|NAMEFND"); in keyval()
508 (void) strcat(keybuf, "|MODECHG"); in keyval()
509 return (&keybuf[1]); in keyval()
/netbsd/src/external/bsd/ntp/dist/libntp/
Da_md5encrypt.c99 u_char keybuf[AES_128_KEY_SIZE]; in make_mac() local
103 memcpy(keybuf, keyptr, key->len); in make_mac()
104 zero_mem((keybuf + key->len), in make_mac()
106 keyptr = keybuf; in make_mac()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/pem/
Dpvkfmt.c828 unsigned char keybuf[20]; in do_PVK_body_key() local
860 if (!derive_pvk_key(keybuf, p, saltlen, in do_PVK_body_key()
875 if (!EVP_DecryptInit_ex(cctx, rc4, NULL, keybuf, NULL)) in do_PVK_body_key()
884 memset(keybuf + 5, 0, 11); in do_PVK_body_key()
885 if (!EVP_DecryptInit_ex(cctx, rc4, NULL, keybuf, NULL)) in do_PVK_body_key()
911 OPENSSL_cleanse(keybuf, sizeof(keybuf)); in do_PVK_body_key()
1056 unsigned char keybuf[20]; in i2b_PVK() local
1066 if (!derive_pvk_key(keybuf, salt, PVK_SALTLEN, in i2b_PVK()
1072 memset(keybuf + 5, 0, 11); in i2b_PVK()
1074 if (!EVP_EncryptInit_ex(cctx, rc4, NULL, keybuf, NULL)) in i2b_PVK()
[all …]
/netbsd/src/external/bsd/ntp/dist/sntp/
Dcrypto.c45 u_char keybuf[AES_128_KEY_SIZE]; in compute_mac() local
49 memcpy(keybuf, key_data, key_size); in compute_mac()
50 memset((keybuf + key_size), 0, in compute_mac()
52 key_data = keybuf; in compute_mac()
/netbsd/src/external/ibm-public/postfix/dist/src/util/
Ddict_test.c40 VSTRING *keybuf = vstring_alloc(1); in dict_test() local
114 key = *bufp ? vstring_str(unescape(keybuf, mystrtok(&bufp, " ="))) : 0; in dict_test()
165 vstring_free(keybuf); in dict_test()
/netbsd/src/external/bsd/wpa/dist/src/eap_common/
Dikev2_common.c635 u8 *keybuf, *pos; in ikev2_derive_sk_keys() local
650 keybuf = os_malloc(keybuf_len); in ikev2_derive_sk_keys()
651 if (keybuf == NULL) in ikev2_derive_sk_keys()
655 data, data_len, keybuf, keybuf_len)) { in ikev2_derive_sk_keys()
656 os_free(keybuf); in ikev2_derive_sk_keys()
660 pos = keybuf; in ikev2_derive_sk_keys()
717 os_free(keybuf); in ikev2_derive_sk_keys()
/netbsd/src/sbin/ifconfig/
Dieee80211.c347 u_int8_t keybuf[IEEE80211_WEP_NKID][16]; in setifnwkey() local
357 nwkey.i_key[i].i_keylen = sizeof(keybuf[i]); in setifnwkey()
358 nwkey.i_key[i].i_keydat = keybuf[i]; in setifnwkey()
378 val = get_string(val, ",", keybuf[i], in setifnwkey()
389 val = get_string(val, NULL, keybuf[0], in setifnwkey()
598 u_int8_t keybuf[IEEE80211_WEP_NKID][16]; in ieee80211_status() local
664 nwkey.i_key[i].i_keydat = keybuf[i]; in ieee80211_status()
665 nwkey.i_key[i].i_keylen = sizeof(keybuf[i]); in ieee80211_status()
/netbsd/src/crypto/external/bsd/openssh/dist/
Dsshd.c655 struct sshbuf *m = NULL, *keybuf = NULL, *hostkeys = NULL; in pack_hostkeys() local
661 (keybuf = sshbuf_new()) == NULL || in pack_hostkeys()
668 sshbuf_reset(keybuf); in pack_hostkeys()
671 keybuf)) != 0) in pack_hostkeys()
673 if ((r = sshbuf_put_stringb(hostkeys, keybuf)) != 0) in pack_hostkeys()
704 sshbuf_free(keybuf); in pack_hostkeys()
Dauthfile.c55 sshkey_save_private_blob(struct sshbuf *keybuf, const char *filename) in sshkey_save_private_blob() argument
61 r = sshbuf_write_file(filename, keybuf); in sshkey_save_private_blob()
Dsshd-session.c302 struct sshbuf *keybuf = NULL, *hostkeys = NULL; in pack_hostkeys() local
332 sshbuf_free(keybuf); in pack_hostkeys()
/netbsd/src/sys/arch/sun3/include/
Dmon.h135 struct keybuf *keyBuf; /* Up/down keycode buffer */
/netbsd/src/sys/arch/sun68k/include/
Dmon.h139 struct keybuf *keyBuf; /* Up/down keycode buffer */
/netbsd/src/sys/arch/sparc/include/
Doldmon.h187 struct keybuf *keyBuf; /* Up/down keycode buffer */
/netbsd/src/external/apache2/mDNSResponder/dist/mDNSCore/
DDNSDigest.c1496 mDNSu8 keybuf[1024]; in DNSDigest_ConstructHMACKeyfromBase64() local
1497 mDNSs32 keylen = DNSDigest_Base64ToBin(b64key, keybuf, sizeof(keybuf)); in DNSDigest_ConstructHMACKeyfromBase64()
1517 memcpy(info->key, keybuf, keylen); in DNSDigest_ConstructHMACKeyfromBase64()
1519 DNSDigest_ConstructHMACKey(info, keybuf, (mDNSu32)keylen); in DNSDigest_ConstructHMACKeyfromBase64()
/netbsd/src/external/bsd/wpa/dist/src/ap/
Dwpa_auth_ft.c2223 u8 keybuf[WPA_GTK_MAX_LEN]; in wpa_ft_gtk_subelem() local
2236 if (key_len > sizeof(keybuf)) in wpa_ft_gtk_subelem()
2248 if (pad_len && key_len < sizeof(keybuf)) { in wpa_ft_gtk_subelem()
2249 os_memcpy(keybuf, gsm->GTK[gsm->GN - 1], key_len); in wpa_ft_gtk_subelem()
2256 if (random_get_bytes(keybuf, key_len) < 0) in wpa_ft_gtk_subelem()
2259 os_memset(keybuf + key_len, 0, pad_len); in wpa_ft_gtk_subelem()
2260 keybuf[key_len] = 0xdd; in wpa_ft_gtk_subelem()
2262 key = keybuf; in wpa_ft_gtk_subelem()
2268 if (random_get_bytes(keybuf, key_len) < 0) in wpa_ft_gtk_subelem()
2270 key = keybuf; in wpa_ft_gtk_subelem()
[all …]