Home
last modified time | relevance | path

Searched refs:newkey (Results 1 – 25 of 25) sorted by relevance

/NextBSD/sys/kgssapi/krb5/
HDkcrypto_arcfour.c104 uint8_t *newkey) in arcfour_derive_key() argument
115 arcfour_hmac(ks->ks_key, L40, 14, newkey); in arcfour_derive_key()
116 memset(newkey + 7, 0xab, 9); in arcfour_derive_key()
118 arcfour_hmac(ks->ks_key, t, 4, newkey); in arcfour_derive_key()
135 uint8_t newkey[16]; in arcfour_encrypt() local
137 arcfour_derive_key(ks, 0, newkey); in arcfour_encrypt()
144 arcfour_hmac(newkey, ivec, ivlen, kk); in arcfour_encrypt()
147 rc4_init(&rs, newkey, 16); in arcfour_encrypt()
/NextBSD/sys/netinet/
HDtcp_fastopen.c257 uint8_t newkey[TCP_FASTOPEN_KEY_LEN]; in tcp_fastopen_autokey_locked() local
259 arc4rand(newkey, TCP_FASTOPEN_KEY_LEN, 0); in tcp_fastopen_autokey_locked()
260 tcp_fastopen_addkey_locked(newkey); in tcp_fastopen_autokey_locked()
425 uint8_t newkey[TCP_FASTOPEN_KEY_LEN]; in sysctl_net_inet_tcp_fastopen_setkey() local
431 if (req->newlen != sizeof(newkey)) in sysctl_net_inet_tcp_fastopen_setkey()
433 error = SYSCTL_IN(req, newkey, sizeof(newkey)); in sysctl_net_inet_tcp_fastopen_setkey()
438 tcp_fastopen_addkey_locked(newkey); in sysctl_net_inet_tcp_fastopen_setkey()
/NextBSD/usr.bin/newkey/
HDMakefile5 PROG= newkey
6 SRCS= newkey.c generic.c update.c
10 MAN= newkey.8
/NextBSD/crypto/heimdal/kadmin/
HDrandom_password.c58 OtpKey newkey; in random_password() local
60 krb5_generate_random_block(&newkey, sizeof(newkey)); in random_password()
61 otp_print_stddict (newkey, pw, len); in random_password()
/NextBSD/contrib/opie/
HDopiekey.c140 struct opie_otpkey key, newkey; variable
271 if (opiekeycrunch(algorithm, &newkey, newseed, newsecret)) {
277 opiehash(&newkey, algorithm);
324 strcat(response, opiebtoh(buf, &newkey));
330 strcat(response, opiebtoe(buf, &newkey));
/NextBSD/crypto/openssl/util/
HDmkcerts.sh21 -new -md5 -newkey $CAbits \
57 -new -md5 -newkey $CAbits \
94 -new -md5 -newkey 512 \
131 -new -md5 -newkey 1024 \
168 -new -md5 -newkey 512 \
/NextBSD/usr.bin/chkey/
HDMakefile5 .PATH: ${.CURDIR}/../newkey
9 CFLAGS+= -I${.CURDIR}/../newkey
/NextBSD/crypto/openssh/
HDmonitor_wrap.c471 Newkeys *newkey = NULL; in mm_newkeys_from_blob() local
483 newkey = xcalloc(1, sizeof(*newkey)); in mm_newkeys_from_blob()
484 enc = &newkey->enc; in mm_newkeys_from_blob()
485 mac = &newkey->mac; in mm_newkeys_from_blob()
486 comp = &newkey->comp; in mm_newkeys_from_blob()
522 return (newkey); in mm_newkeys_from_blob()
533 Newkeys *newkey = (Newkeys *)packet_get_newkeys(mode); in mm_newkeys_to_blob() local
535 debug3("%s: converting %p", __func__, newkey); in mm_newkeys_to_blob()
537 if (newkey == NULL) { in mm_newkeys_to_blob()
541 enc = &newkey->enc; in mm_newkeys_to_blob()
[all …]
/NextBSD/contrib/ldns/
HDkeys.c62 ldns_key *newkey; in ldns_key_new() local
64 newkey = LDNS_MALLOC(ldns_key); in ldns_key_new()
65 if (!newkey) { in ldns_key_new()
69 ldns_key_set_use(newkey, true); in ldns_key_new()
70 ldns_key_set_flags(newkey, LDNS_KEY_ZONE_KEY); in ldns_key_new()
71 ldns_key_set_origttl(newkey, 0); in ldns_key_new()
72 ldns_key_set_keytag(newkey, 0); in ldns_key_new()
73 ldns_key_set_inception(newkey, 0); in ldns_key_new()
74 ldns_key_set_expiration(newkey, 0); in ldns_key_new()
75 ldns_key_set_pubkey_owner(newkey, NULL); in ldns_key_new()
[all …]
/NextBSD/contrib/opie/libopie/
HDgenerator.c176 struct opie_otpkey newkey; variable
186 if (opiekeycrunch(algorithm, &newkey, newseed, secret))
190 opiehash(&newkey, algorithm);
202 strcat(response, opiebtoh(buf, &newkey));
/NextBSD/sys/dev/kbd/
HDkbd.c1026 key_change_ok(struct keyent_t *oldkey, struct keyent_t *newkey, struct thread *td) in key_change_ok() argument
1037 if (oldkey->map[i] != newkey->map[i]) in key_change_ok()
1039 if (oldkey->spcl != newkey->spcl) in key_change_ok()
1041 if (oldkey->flgs != newkey->flgs) in key_change_ok()
1052 if (!RESTRICTED_KEY(oldkey, i) && !RESTRICTED_KEY(newkey, i)) in key_change_ok()
1054 if ((oldkey->spcl & (0x80 >> i)) == (newkey->spcl & (0x80 >> i)) in key_change_ok()
1055 && oldkey->map[i] == newkey->map[i]) in key_change_ok()
1107 fkey_change_ok(fkeytab_t *oldkey, fkeyarg_t *newkey, struct thread *td) in fkey_change_ok() argument
1112 if (oldkey->len != newkey->flen || in fkey_change_ok()
1113 bcmp(oldkey->str, newkey->keydef, oldkey->len) != 0) in fkey_change_ok()
/NextBSD/crypto/openssl/apps/
HDCA.sh86 $REQ -new -x509 -keyout newkey.pem -out newcert.pem $DAYS
92 $REQ -new -keyout newkey.pem -out newreq.pem $DAYS
HDreq.c175 long newkey = -1; in MAIN() local
625 if (!NCONF_get_number(req_conf, SECTION, BITS, &newkey)) { in MAIN()
626 newkey = DEFAULT_KEY_LENGTH; in MAIN()
630 genctx = set_keygen_ctx(bio_err, keyalg, &pkey_type, &newkey, in MAIN()
636 if (newkey < MIN_KEY_LENGTH in MAIN()
640 MIN_KEY_LENGTH, newkey); in MAIN()
645 genctx = set_keygen_ctx(bio_err, NULL, &pkey_type, &newkey, in MAIN()
664 newkey, keyalgstr); in MAIN()
/NextBSD/crypto/openssl/doc/apps/
HDCA.pl.pod43 "newkey.pem" and the request written to the file "newreq.pem".
48 "newkey.pem" and the request written to the file "newreq.pem".
129 openssl req -x509 -newkey dsa:dsap.pem -keyout cacert.pem -out cacert.pem
140 openssl req -out newreq.pem -newkey dsa:dsap.pem
HDreq.pod24 [B<-newkey rsa:bits>]
25 [B<-newkey alg:file>]
77 options (B<-new> and B<-newkey>) are not specified.
145 =item B<-newkey arg>
150 in size. If B<nbits> is omitted, i.e. B<-newkey rsa> specified,
153 All other algorithms support the B<-newkey alg:file> form, where file may be
352 overridden by using the B<-newkey> option.
513 openssl req -newkey rsa:2048 -keyout key.pem -out req.pem
517 openssl req -x509 -newkey rsa:2048 -keyout key.pem -out req.pem
/NextBSD/usr.sbin/ndiscvt/
HDinf.c113 char newkey[256]; in find_assign() local
118 bzero(newkey, sizeof(newkey)); in find_assign()
119 strncpy(newkey, k + 1, strlen(k) - 2); in find_assign()
120 k = newkey; in find_assign()
/NextBSD/contrib/libreadline/
HDreadline.c701 int r, newkey; local
824 newkey = _rl_subseq_getchar (key);
825 if (newkey < 0)
831 … r = _rl_dispatch_subseq (newkey, _rl_dispatching_keymap, got_subseq || map[ANYOTHERKEY].function);
/NextBSD/crypto/openssl/engines/ccgost/
HDgost89.c567 unsigned char newkey[32], newiv[8]; in cryptopro_key_meshing() local
570 gost_dec(ctx, CryptoProKeyMeshingKey, newkey, 4); in cryptopro_key_meshing()
572 gost_key(ctx, newkey); in cryptopro_key_meshing()
HDREADME.gost122 openssl req -newkey gost2001 -pkeyopt paramset:A
126 You can also use oldstyle syntax -newkey gost2001:paramfile, but in
/NextBSD/usr.bin/
HDMakefile255 SUBDIR.${MK_OPENSSL}+= newkey
/NextBSD/sys/ofed/include/rdma/
HDib_verbs.h2691 static inline void ib_update_fast_reg_key(struct ib_mr *mr, u8 newkey) in ib_update_fast_reg_key() argument
2693 mr->lkey = (mr->lkey & 0xffffff00) | newkey; in ib_update_fast_reg_key()
2694 mr->rkey = (mr->rkey & 0xffffff00) | newkey; in ib_update_fast_reg_key()
/NextBSD/contrib/gcc/
HDsys-protos.h768 extern int newkey(char *, int, int);
/NextBSD/targets/pseudo/userland/
HDMakefile.depend308 usr.bin/newkey \
/NextBSD/crypto/openssl/
HDCHANGES3860 *) Let 'openssl req' fail if an argument to '-newkey' is not
4080 - 'openssl req' now has a '-newkey ecdsa:file' option;
10655 *) Don't blow it for numeric -newkey arguments to apps/req.
/NextBSD/crypto/openssl/doc/
HDssleay.txt6913 -newkey has an argument that is the number of bits to make the new
7001 req -newkey 1058