/openbsd/usr.sbin/unbound/testcode/ |
H A D | unitlruhash.c | 61 static testkey_type* newkey(int id) { in newkey() function 83 testkey_type* k = newkey(12); in test_bin_find_entry() 86 testkey_type* k3 = newkey(14); in test_bin_find_entry() 164 testkey_type* k = newkey(12); in test_lru() 165 testkey_type* k2 = newkey(14); in test_lru() 211 testkey_type* k = newkey(12); in test_short_table() 212 testkey_type* k2 = newkey(14); in test_short_table() 250 testkey_type* key = newkey(num); in testremove() 261 testkey_type* key = newkey(num); in testlookup() 329 testkey_type* key = newkey(num); in testremove_unlim() [all …]
|
H A D | unitslabhash.c | 63 static testkey_type* newkey(int id) { in newkey() function 85 testkey_type* k = newkey(12); in test_short_table() 86 testkey_type* k2 = newkey(14); in test_short_table() 113 testkey_type* key = newkey(numtoadd); in testadd() 124 testkey_type* key = newkey(num); in testremove() 135 testkey_type* key = newkey(num); in testlookup() 200 testkey_type* key = newkey(numtoadd); in testadd_unlim() 212 testkey_type* key = newkey(num); in testremove_unlim() 224 testkey_type* key = newkey(num); in testlookup_unlim()
|
/openbsd/usr.bin/tmux/ |
H A D | input-keys.c | 572 key_code newkey; in input_key() local 588 newkey = options_get_number(global_options, "backspace"); in input_key() 590 key, newkey); in input_key() 593 if ((newkey & KEYC_MASK_MODIFIERS) == 0) in input_key() 594 ud.data[0] = newkey; in input_key() 595 else if ((newkey & KEYC_MASK_MODIFIERS) == KEYC_CTRL) { in input_key() 596 newkey &= KEYC_MASK_KEY; in input_key() 597 if (newkey >= 'A' && newkey <= 'Z') in input_key() 598 ud.data[0] = newkey - 0x40; in input_key() 599 else if (newkey >= 'a' && newkey <= 'z') in input_key() [all …]
|
/openbsd/lib/libtls/ |
H A D | tls_config.c | 900 struct tls_ticket_key newkey; in tls_config_add_ticket_key() local 904 sizeof(newkey.aes_key) + sizeof(newkey.hmac_key) > keylen) { in tls_config_add_ticket_key() 911 memset(&newkey, 0, sizeof(newkey)); in tls_config_add_ticket_key() 912 memcpy(newkey.key_name, &keyrev, sizeof(keyrev)); in tls_config_add_ticket_key() 913 memcpy(newkey.aes_key, key, sizeof(newkey.aes_key)); in tls_config_add_ticket_key() 914 memcpy(newkey.hmac_key, key + sizeof(newkey.aes_key), in tls_config_add_ticket_key() 915 sizeof(newkey.hmac_key)); in tls_config_add_ticket_key() 916 newkey.time = time(NULL); in tls_config_add_ticket_key() 920 if (memcmp(newkey.key_name, tk->key_name, in tls_config_add_ticket_key() 925 if (i == 0 && memcmp(newkey.aes_key, tk->aes_key, in tls_config_add_ticket_key() [all …]
|
/openbsd/lib/libc/yp/ |
H A D | ypmatch_cache.c | 57 char *newmap = NULL, *newkey = NULL, *newval = NULL; in ypmatch_add() local 67 (newkey = malloc(keylen)) == NULL || in ypmatch_add() 69 free(newkey); in ypmatch_add() 82 free(newkey); in ypmatch_add() 96 (void)memcpy(newkey, key, keylen); in ypmatch_add() 99 ep->key = newkey; in ypmatch_add()
|
/openbsd/regress/lib/libcrypto/certs/ |
H A D | make-certs.sh | 90 openssl req -new -days 3650 -nodes -newkey rsa:2048 -sha256 -x509 \ 99 openssl req -new -days 3650 -nodes -newkey rsa:2048 -sha256 \ 113 openssl req -new -days 3650 -nodes -newkey rsa:2048 -sha256 \ 125 openssl req -new -days 3650 -nodes -newkey rsa:2048 -sha256 \ 138 openssl req -new -days 3650 -nodes -newkey rsa:2048 -sha256 \ 150 openssl req -new -days 3650 -nodes -newkey rsa:2048 -sha256 \
|
/openbsd/regress/usr.sbin/httpd/tests/ |
H A D | Makefile | 71 …openssl req -batch -new -subj /L=OpenBSD/O=httpd-regress/OU=ca/CN=root/ -nodes -newkey rsa -keyout… 74 …openssl req -batch -new -subj /L=OpenBSD/O=httpd-regress/OU=server/CN=localhost/ -nodes -newkey rs… 77 …openssl req -batch -new -subj /L=OpenBSD/O=httpd-regress/OU=client/CN=localhost/ -nodes -newkey rs…
|
/openbsd/regress/lib/libssl/interop/ |
H A D | Makefile.inc | 48 -nodes -newkey rsa -keyout ${@:R}.key -x509 -out $@ 53 -nodes -newkey rsa -keyout ${@:R}.key -x509 -out $@ 58 -nodes -newkey rsa -keyout ${@:R}.key -out $@
|
/openbsd/usr.sbin/acme-client/ |
H A D | keyproc.c | 88 int len, rc = 0, cc, nid, newkey = 0; in keyproc() local 101 newkey = 1; in keyproc() 119 if (newkey) { in keyproc()
|
/openbsd/regress/usr.sbin/relayd/ |
H A D | Makefile | 77 -nodes -newkey rsa -keyout ${ip}.key -x509 \ 93 -nodes -newkey rsa -keyout ${@:R}.key -x509 \ 99 -nodes -newkey rsa -keyout ${@:R}.key \
|
/openbsd/regress/usr.sbin/syslogd/ |
H A D | Makefile | 79 …openssl req -batch -new -subj /L=OpenBSD/O=syslogd-regress/OU=syslogd/CN=127.0.0.1/ -nodes -newkey… 92 …openssl req -batch -new -subj /L=OpenBSD/O=syslogd-regress/OU=ca/CN=root/ -nodes -newkey rsa -keyo… 95 …openssl req -batch -new -subj /L=OpenBSD/O=syslogd-regress/OU=${@:R}/CN=localhost/ -nodes -newkey … 98 …openssl req -batch -new -subj /L=OpenBSD/O=syslogd-regress/OU=${@:R}/CN=myhost/ -nodes -newkey rsa…
|
/openbsd/gnu/lib/libreadline/ |
H A D | readline.c | 538 int r, newkey; local 634 newkey = rl_read_key (); 639 if (newkey < 0) 645 …r = _rl_dispatch_subseq (newkey, FUNCTION_TO_KEYMAP (map, key), got_subseq || map[ANYOTHERKEY].fun…
|
/openbsd/regress/usr.bin/openssl/ |
H A D | testdsa.sh | 18 $openssl_bin req -config $2/openssl.cnf -x509 -newkey dsa:dsa512.pem -out testdsa.pem -keyout testd…
|
/openbsd/usr.bin/ssh/ |
H A D | packet.c | 2341 struct newkeys *newkey; in newkeys_to_blob() local 2346 enc = &newkey->enc; in newkeys_to_blob() 2347 mac = &newkey->mac; in newkeys_to_blob() 2348 comp = &newkey->comp; in newkeys_to_blob() 2411 struct newkeys *newkey = NULL; in newkeys_from_blob() local 2415 if ((newkey = calloc(1, sizeof(*newkey))) == NULL) { in newkeys_from_blob() 2424 enc = &newkey->enc; in newkeys_from_blob() 2425 mac = &newkey->mac; in newkeys_from_blob() 2426 comp = &newkey->comp; in newkeys_from_blob() 2462 newkey = NULL; in newkeys_from_blob() [all …]
|
/openbsd/usr.bin/openssl/ |
H A D | req.c | 149 long newkey; member 576 cfg.newkey = -1; in req_main() 750 if (!NCONF_get_number(req_conf, SECTION, BITS, &cfg.newkey)) { in req_main() 751 cfg.newkey = DEFAULT_KEY_LENGTH; in req_main() 754 genctx = set_keygen_ctx(bio_err, cfg.keyalg, &pkey_type, &cfg.newkey, in req_main() 759 if (cfg.newkey < MIN_KEY_LENGTH && (pkey_type == EVP_PKEY_RSA || pkey_type == EVP_PKEY_DSA)) { in req_main() 761 BIO_printf(bio_err, "it needs to be at least %d bits, not %ld\n", MIN_KEY_LENGTH, cfg.newkey); in req_main() 765 genctx = set_keygen_ctx(bio_err, NULL, &pkey_type, &cfg.newkey, in req_main() 784 cfg.newkey, keyalgstr); in req_main()
|
/openbsd/regress/lib/libssl/tlsfuzzer/ |
H A D | Makefile | 12 openssl req -x509 -newkey rsa -keyout localhost.key -out localhost.crt \
|
/openbsd/gnu/llvm/lldb/scripts/ |
H A D | macos-setup-codesign.sh | 42 openssl req -new -newkey rsa:2048 -x509 -days 3650 -nodes -config "$TMPDIR/$CERT.tmpl" -extensions …
|
/openbsd/regress/usr.bin/nc/ |
H A D | Makefile | 1085 -nodes -newkey rsa -keyout ${@:R}.key -x509 -out $@ 1090 -nodes -newkey rsa -keyout 1.key -x509 -out $@ 1095 -nodes -newkey rsa -keyout ${@:R}.key -x509 -out $@ 1100 -nodes -newkey rsa -keyout ${@:R}.key -out $@
|
/openbsd/usr.sbin/ldapd/ |
H A D | btree.c | 271 unsigned int *newindxp, struct btval *newkey, 2697 struct btval *newkey, struct btval *newdata, pgno_t newpgno) in btree_split() argument 2719 (int)newkey->size, (char *)newkey->data, *newindxp); in btree_split() 2762 sepkey.size = newkey->size; in btree_split() 2763 sepkey.data = newkey->data; in btree_split() 2839 rkey.data = newkey->data; in btree_split() 2840 rkey.size = newkey->size; in btree_split()
|
/openbsd/sbin/ipsecctl/ |
H A D | parse.y | 2210 struct ipsec_key *newkey; in copykey() local 2215 if ((newkey = calloc(1, sizeof(struct ipsec_key))) == NULL) in copykey() 2217 if ((newkey->data = calloc(key->len, sizeof(u_int8_t))) == NULL) in copykey() 2219 memcpy(newkey->data, key->data, key->len); in copykey() 2220 newkey->len = key->len; in copykey() 2222 return (newkey); in copykey()
|
/openbsd/gnu/usr.bin/perl/ext/XS-APItest/ |
H A D | APItest.xs | 316 SV *newkey = newSV(newlen); in bitflip_key() local 332 SvUTF8_on(newkey); in bitflip_key() 338 SvCUR_set(newkey, new_p - new_p_orig); in bitflip_key() 339 SvPOK_on(newkey); in bitflip_key() 341 mg->mg_obj = newkey; in bitflip_key() 357 SV *newkey = newSV(len); in rot13_key() local 358 char *new_p = SvPVX(newkey); in rot13_key() 421 SvCUR_set(newkey, SvCUR(keysv)); in rot13_key() 422 SvPOK_on(newkey); in rot13_key() 424 SvUTF8_on(newkey); in rot13_key() [all …]
|
/openbsd/gnu/usr.bin/texinfo/info/ |
H A D | session.c | 4677 unsigned char newkey; in info_dispatch_on_key() local 4679 newkey = info_get_another_input_char (); in info_dispatch_on_key() 4680 info_dispatch_on_key (newkey, (Keymap)map[key].function); in info_dispatch_on_key()
|
/openbsd/gnu/usr.bin/gcc/gcc/ |
H A D | sys-protos.h | 768 extern int newkey(char *, int, int);
|
/openbsd/gnu/gcc/gcc/ |
H A D | sys-protos.h | 768 extern int newkey(char *, int, int);
|