Searched refs:keybuf (Results 1 - 25 of 34) sorted by relevance

12

/netbsd-current/external/mpl/bind/dist/bin/confgen/
H A Dtsig-keygen.c96 char *keybuf = NULL; local
230 keybuf = isc_mem_get(mctx, len);
231 snprintf(keybuf, len, "%s.%s", keyname, suffix);
232 keyname = (const char *)keybuf;
292 if (keybuf != NULL) {
293 isc_mem_put(mctx, keybuf, len);
/netbsd-current/usr.bin/sort/
H A Dfields.c92 enterkey(RECHEADER *keybuf, const u_char *keybuf_end, u_char *line_data, argument
94 /* keybuf: pointer to start of key */
134 * original line data (for output) as the 'keybuf' data.
135 * keybuf->length is the number of key bytes + data bytes.
136 * keybuf->offset is the number of key bytes.
142 keypos = keybuf->data;
154 keybuf->offset = keypos - keybuf->data;
155 keybuf->length = keybuf
[all...]
/netbsd-current/external/ibm-public/postfix/dist/src/postmap/
H A Dpostmap.c595 const char *keybuf,
613 if ((value = dict_get(dicts[n], keybuf)) != 0) {
616 dicts[n]->type, dicts[n]->name, keybuf);
620 vstream_printf("%s %s\n", keybuf, value);
663 VSTRING *keybuf = vstring_alloc(100); local
687 while (vstring_get_nonl(keybuf, in) != VSTREAM_EOF) {
695 (dicts[n], STR(keybuf));
699 dicts[n]->type, dicts[n]->name, STR(keybuf));
703 vstream_printf("%s %s\n", STR(keybuf), value);
749 while (vstring_get_nonl(keybuf, i
594 postmap_body(void *ptr, int unused_rec_type, const char *keybuf, ssize_t unused_len, off_t unused_offset) argument
822 VSTRING *keybuf = vstring_alloc(100); local
[all...]
/netbsd-current/usr.sbin/wgconfig/
H A Dwgconfig.c410 unsigned char keybuf[KEY_LEN])
414 ret = b64_pton(keyb64buf, keybuf, KEY_LEN);
420 read_key(const char *path, unsigned char keybuf[KEY_LEN]) argument
435 base64_decode(keyb64buf, keybuf);
441 unsigned char keybuf[KEY_LEN]; local
446 read_key(argv[0], keybuf);
454 keybuf, sizeof(keybuf)))
661 unsigned char keybuf[KEY_LEN]; local
663 read_key(path, keybuf);
409 base64_decode(const char keyb64buf[KEY_BASE64_LEN + 1], unsigned char keybuf[KEY_LEN]) argument
707 unsigned char keybuf[KEY_LEN]; local
[all...]
/netbsd-current/external/ibm-public/postfix/dist/src/tls/
H A Dtls_mgr.c341 static VSTRING *keybuf; local
352 if (keybuf == 0)
353 keybuf = vstring_alloc(sizeof(tmp));
369 RECV_ATTR_DATA(TLS_MGR_ATTR_KEYBUF, keybuf),
372 || LEN(keybuf) != sizeof(tmp))
375 memcpy((void *) &tmp, STR(keybuf), sizeof(tmp));
/netbsd-current/external/ibm-public/postfix/dist/src/global/
H A Ddict_ldap.c818 VSTRING *keybuf = vstring_alloc(10); local
834 ADDSTR(keybuf, dict_ldap->server_host);
835 ADDINT(keybuf, dict_ldap->server_port);
836 ADDINT(keybuf, dict_ldap->bind);
837 ADDSTR(keybuf, DICT_LDAP_DO_BIND(dict_ldap) ? dict_ldap->bind_dn : "");
838 ADDSTR(keybuf, DICT_LDAP_DO_BIND(dict_ldap) ? dict_ldap->bind_pw : "");
839 ADDINT(keybuf, dict_ldap->dereference);
840 ADDINT(keybuf, dict_ldap->chase_referrals);
841 ADDINT(keybuf, dict_ldap->debuglevel);
842 ADDINT(keybuf, dict_lda
[all...]
/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Ddict_test.c40 VSTRING *keybuf = vstring_alloc(1); local
114 key = *bufp ? vstring_str(unescape(keybuf, mystrtok(&bufp, " ="))) : 0;
165 vstring_free(keybuf);
/netbsd-current/external/mpl/bind/dist/bin/tests/system/tkey/
H A Dkeycreate.c136 isc_buffer_t namestr, keybuf; local
164 isc_buffer_init(&keybuf, keydata, 9);
165 result = isc_base64_decodestring(keystr, &keybuf);
168 isc_buffer_usedregion(&keybuf, &r);
172 isc_buffer_base(&keybuf), isc_buffer_usedlength(&keybuf), false,
/netbsd-current/external/bsd/ntp/dist/sntp/
H A Dcrypto.c49 u_char keybuf[AES_128_KEY_SIZE]; local
53 memcpy(keybuf, key_data, key_size);
54 memset((keybuf + key_size), 0,
56 key_data = keybuf;
/netbsd-current/external/bsd/ntp/dist/libntp/
H A Da_md5encrypt.c66 u_char keybuf[AES_128_KEY_SIZE]; local
70 memcpy(keybuf, keyptr, key->len);
71 memset((keybuf + key->len), 0,
73 keyptr = keybuf;
/netbsd-current/external/ibm-public/postfix/dist/src/postalias/
H A Dpostalias.c522 VSTRING *keybuf = vstring_alloc(100); local
545 while (vstring_get_nonl(keybuf, in) != VSTREAM_EOF) {
551 if ((value = dict_get(dicts[n], STR(keybuf))) != 0) {
554 dicts[n]->type, dicts[n]->name, STR(keybuf));
558 vstream_printf("%s: %s\n", STR(keybuf), value);
577 vstring_free(keybuf);
613 VSTRING *keybuf = vstring_alloc(100); local
643 while (vstring_get_nonl(keybuf, in) != VSTREAM_EOF) {
645 found |= (dict_del(dicts[n], STR(keybuf)) == 0);
659 vstring_free(keybuf);
[all...]
/netbsd-current/sbin/restore/
H A Drestore.c497 static char keybuf[32]; local
499 (void) strcpy(keybuf, "|NIL");
500 keybuf[0] = '\0';
502 (void) strcat(keybuf, "|ONTAPE");
504 (void) strcat(keybuf, "|INOFND");
506 (void) strcat(keybuf, "|NAMEFND");
508 (void) strcat(keybuf, "|MODECHG");
509 return (&keybuf[1]);
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/
H A Dprivate.c393 char keybuf[DNS_SECALG_FORMATSIZE + BUFSIZ], local
409 snprintf(keybuf, sizeof(keybuf), "key %d/%s", keyid, algbuf);
410 isc_buffer_putstr(buf, keybuf);
/netbsd-current/external/mpl/bind/dist/lib/dns/
H A Dprivate.c393 char keybuf[DNS_SECALG_FORMATSIZE + BUFSIZ], local
409 snprintf(keybuf, sizeof(keybuf), "key %d/%s", keyid, algbuf);
410 isc_buffer_putstr(buf, keybuf);
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/pem/
H A Dpvkfmt.c682 unsigned char keybuf[20]; local
701 if (!derive_pvk_key(keybuf, p, saltlen,
714 if (!EVP_DecryptInit_ex(cctx, EVP_rc4(), NULL, keybuf, NULL))
723 memset(keybuf + 5, 0, 11);
724 if (!EVP_DecryptInit_ex(cctx, EVP_rc4(), NULL, keybuf, NULL))
743 OPENSSL_cleanse(keybuf, sizeof(keybuf));
828 unsigned char keybuf[20]; local
838 if (!derive_pvk_key(keybuf, salt, PVK_SALTLEN,
842 memset(keybuf
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/pem/
H A Dpvkfmt.c828 unsigned char keybuf[20]; local
860 if (!derive_pvk_key(keybuf, p, saltlen,
875 if (!EVP_DecryptInit_ex(cctx, rc4, NULL, keybuf, NULL))
884 memset(keybuf + 5, 0, 11);
885 if (!EVP_DecryptInit_ex(cctx, rc4, NULL, keybuf, NULL))
911 OPENSSL_cleanse(keybuf, sizeof(keybuf));
1056 unsigned char keybuf[20]; local
1066 if (!derive_pvk_key(keybuf, salt, PVK_SALTLEN,
1072 memset(keybuf
[all...]
/netbsd-current/external/bsd/wpa/dist/src/eap_common/
H A Dikev2_common.c635 u8 *keybuf, *pos; local
650 keybuf = os_malloc(keybuf_len);
651 if (keybuf == NULL)
655 data, data_len, keybuf, keybuf_len)) {
656 os_free(keybuf);
660 pos = keybuf;
717 os_free(keybuf);
/netbsd-current/sys/arch/sparc/include/
H A Doldmon.h154 * NOTE: This struct has references to the structures keybuf and globram which
187 struct keybuf *keyBuf; /* Up/down keycode buffer */
/netbsd-current/sys/arch/sun3/include/
H A Dmon.h95 * NOTE: This struct has references to the structures keybuf and globram which
135 struct keybuf *keyBuf; /* Up/down keycode buffer */
/netbsd-current/sys/arch/sun68k/include/
H A Dmon.h95 * NOTE: This struct has references to the structures keybuf and globram which
139 struct keybuf *keyBuf; /* Up/down keycode buffer */
/netbsd-current/external/public-domain/sqlite/sqlite2mdoc/
H A Dmain.c155 char *keybuf; /* raw keywords */ member in struct:defn
732 d->keybuf = realloc(d->keybuf, d->keybufsz + len + 1);
733 if (d->keybuf == NULL)
735 memcpy(d->keybuf + d->keybufsz, cp, len);
737 d->keybuf[d->keybufsz] = '\0';
933 while (isspace((unsigned char)d->keybuf[i]))
938 start = &d->keybuf[i];
939 if (d->keybuf[i] == '{') {
940 start = &d->keybuf[
[all...]
/netbsd-current/sys/arch/i386/stand/efiboot/
H A Deficons.c51 static CHAR16 keybuf[16]; variable
183 memset(keybuf, 0, sizeof(keybuf));
255 c = keybuf[keybuf_read];
256 keybuf_read = (keybuf_read + 1) % __arraycount(keybuf);
297 keybuf[keybuf_write] = key.UnicodeChar;
298 keybuf_write = (keybuf_write + 1) % __arraycount(keybuf);
/netbsd-current/sbin/ifconfig/
H A Dieee80211.c347 u_int8_t keybuf[IEEE80211_WEP_NKID][16]; local
357 nwkey.i_key[i].i_keylen = sizeof(keybuf[i]);
358 nwkey.i_key[i].i_keydat = keybuf[i];
378 val = get_string(val, ",", keybuf[i],
389 val = get_string(val, NULL, keybuf[0],
598 u_int8_t keybuf[IEEE80211_WEP_NKID][16]; local
664 nwkey.i_key[i].i_keydat = keybuf[i];
665 nwkey.i_key[i].i_keylen = sizeof(keybuf[i]);
/netbsd-current/crypto/external/bsd/openssh/dist/
H A Dauthfile.c56 sshkey_save_private_blob(struct sshbuf *keybuf, const char *filename) argument
62 r = sshbuf_write_file(filename, keybuf);
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-mdb/
H A Didl.c300 char keybuf[16]; local
304 mdb_show_key( keybuf, key->mv_data, key->mv_size ) );
335 key2.mv_data = keybuf;
337 AC_MEMCPY( keybuf, key->mv_data, key->mv_size );

Completed in 388 milliseconds

12