Home
last modified time | relevance | path

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

12

/freebsd-14.2/crypto/openssl/test/recipes/80-test_cmp_http_data/
H A Dtest_enrollment.csv4 1,newkey, -section,, -cmd,ir, -newkey,new.key,, -newkeypass,pass:,,,BLANK,,BLANK,,BLANK,,BLANK,,BLA…
5 0,newkey missing arg, -section,, -cmd,ir, -newkey,,, -newkeypass,pass:,,,BLANK,,BLANK,,BLANK,,BLANK…
6 0,newkey is directory, -section,, -cmd,ir, -newkey,dir/,, -newkeypass,pass:,,,BLANK,,BLANK,,BLANK,,…
7 0,newkey too many parameters, -section,, -cmd,ir, -newkey,abc,def, -newkeypass,pass:,,,BLANK,,BLANK…
8 0,newkey is an RSA key, -section,, -cmd,ir, -newkey,test.RSA2048.pem,, -newkeypass,pass:,,,BLANK,,B…
66 0,no certout, -section,, -cmd,ir, -newkey,new.key,, -newkeypass,pass:,,,BLANK,,BLANK,,BLANK,,BLANK,…
91 0,pkcs10 converted to ir without -newkey, -section,, -cmd,ir, -newkey,"""",, BLANK,,,,BLANK,,BLANK,…
107 0,kur newkey value missing, -section,, -cmd,kur, -newkey,,, -newkeypass,pass:,,,BLANK,,BLANK,,BLANK…
108 0,kur newkey is directory, -section,, -cmd,kur, -newkey,dir/,, -newkeypass,pass:,,,BLANK,,BLANK,,BL…
109 0,kur newkey parameter count no match, -section,, -cmd,kur, -newkey,abc,def, -newkeypass,pass:,,,BL…
[all …]
/freebsd-14.2/sys/dev/random/fenestrasX/
H A Dfx_rng.c123 uint8_t newkey[FX_CHACHA20_KEYSIZE]; in fxrng_rng_genrandom_internal() local
129 fxrng_rng_keystream_internal(&rng->rng_prf, newkey, sizeof(newkey)); in fxrng_rng_genrandom_internal()
143 chacha_keysetup(&rng->rng_prf, newkey, sizeof(newkey) * 8); in fxrng_rng_genrandom_internal()
144 explicit_bzero(newkey, sizeof(newkey)); in fxrng_rng_genrandom_internal()
158 chacha_keysetup(&rng->rng_prf, newkey, sizeof(newkey) * 8); in fxrng_rng_genrandom_internal()
159 explicit_bzero(newkey, sizeof(newkey)); in fxrng_rng_genrandom_internal()
H A Dfx_main.c166 uint8_t newkey[FX_CHACHA20_KEYSIZE]; in _fxrng_alg_read() local
215 fxrng_brng_produce_seed_data_internal(&fxrng_root, newkey, in _fxrng_alg_read()
216 sizeof(newkey), &rng->brng_generation); in _fxrng_alg_read()
219 fxrng_rng_setkey(&rng->brng_rng, newkey, sizeof(newkey)); in _fxrng_alg_read()
220 explicit_bzero(newkey, sizeof(newkey)); in _fxrng_alg_read()
H A Dfx_brng.c255 uint8_t newkey[FX_CHACHA20_KEYSIZE]; in fxrng_brng_read() local
285 fxrng_brng_produce_seed_data_internal(&fxrng_root, newkey, in fxrng_brng_read()
286 sizeof(newkey), &rng->brng_generation); in fxrng_brng_read()
291 fxrng_rng_setkey(&rng->brng_rng, newkey, sizeof(newkey)); in fxrng_brng_read()
292 explicit_bzero(newkey, sizeof(newkey)); in fxrng_brng_read()
H A Dfx_rng.h58 fxrng_rng_setkey(struct fxrng_basic_rng *rng, const void *newkey, size_t len) in fxrng_rng_setkey() argument
61 chacha_keysetup(&rng->rng_prf, newkey, len * 8); in fxrng_rng_setkey()
/freebsd-14.2/sys/dev/random/
H A Dfortuna.c611 randomdev_keystream(p_key, p_counter, newkey, in random_fortuna_genbytes()
613 randomdev_encrypt_init(p_key, newkey); in random_fortuna_genbytes()
659 randomdev_encrypt_init(p_key, newkey); in random_fortuna_genbytes()
678 uint8_t newkey[static RANDOM_KEYSIZE]) in random_fortuna_read_concurrent()
734 newkey, RANDOM_KEYSIZE); in random_fortuna_read_concurrent()
735 randomdev_encrypt_init(&fortuna_state.fs_key, newkey); in random_fortuna_read_concurrent()
743 random_fortuna_genbytes(buf, bytecount, newkey, &counter_copy, in random_fortuna_read_concurrent()
763 uint8_t newkey[RANDOM_KEYSIZE]; in random_fortuna_read() local
766 random_fortuna_read_concurrent(buf, bytecount, newkey); in random_fortuna_read()
773 random_fortuna_genbytes(buf, bytecount, newkey, in random_fortuna_read()
[all …]
/freebsd-14.2/crypto/openssl/test/smime-certs/
H A Dmksmime-certs.sh18 -keyout smroot.pem -out smroot.pem -newkey rsa:2048 -days 36501
22 -keyout smrsa1.pem -out req.pem -newkey rsa:2048
28 -keyout smrsa2.pem -out req.pem -newkey rsa:2048
33 -keyout smrsa3.pem -out req.pem -newkey rsa:2048
42 -keyout smdsa1.pem -out req.pem -newkey dsa:dsap.pem
46 -keyout smdsa2.pem -out req.pem -newkey dsa:dsap.pem
50 -keyout smdsa3.pem -out req.pem -newkey dsa:dsap.pem
60 -keyout smec1.pem -out req.pem -newkey ec:ecp.pem
64 -keyout smec2.pem -out req.pem -newkey ec:ecp2.pem
79 -keyout smtmp.pem -out req.pem -newkey rsa:2048
/freebsd-14.2/usr.bin/newkey/
H A DMakefile4 PROG= newkey
5 SRCS= newkey.c generic.c update.c
9 MAN= newkey.8
/freebsd-14.2/crypto/openssl/test/
H A Dcmp_msg_test.c66 static EVP_PKEY *newkey = NULL; variable
155 || !TEST_true(set1_newPkey(ctx, newkey)) in test_cmp_create_ir_protection_set()
198 if (!TEST_true(set1_newPkey(fixture->cmp_ctx, newkey))) { in test_cmp_create_cr()
212 if (!TEST_true(set1_newPkey(fixture->cmp_ctx, newkey))) { in test_cmp_create_certreq_with_invalid_bodytype()
231 || !TEST_true(set1_newPkey(ctx, newkey)) in test_cmp_create_p10cr()
247 if (!TEST_true(set1_newPkey(fixture->cmp_ctx, newkey))) { in test_cmp_create_p10cr_null()
261 if (!TEST_true(set1_newPkey(fixture->cmp_ctx, newkey)) in test_cmp_create_kur()
276 if (!TEST_true(set1_newPkey(fixture->cmp_ctx, newkey))) { in test_cmp_create_kur_without_oldcert()
334 if (!TEST_true(set1_newPkey(fixture->cmp_ctx, newkey))) { in test_cmp_create_error_msg()
541 EVP_PKEY_free(newkey); in cleanup_tests()
[all …]
/freebsd-14.2/crypto/heimdal/kadmin/
H A Drandom_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()
/freebsd-14.2/libexec/rc/rc.d/
H A Dsendmail132 -config openssl.cnf -newkey rsa:2048 >/dev/null 2>&1 &&
135 openssl req -batch -nodes -new -x509 -keyout newkey.pem \
137 -newkey rsa:2048 >/dev/null 2>&1 &&
140 openssl x509 -x509toreq -in newreq.pem -signkey newkey.pem \
149 chmod 600 newkey.pem &&
152 cp -p newkey.pem "$CERTDIR"/host.key &&
/freebsd-14.2/crypto/openssl/demos/certs/
H A Dmkcerts.sh9 -keyout root.pem -out root.pem -newkey rsa:2048 -days 3650
12 -keyout intkey.pem -out intreq.pem -newkey rsa:2048
19 -keyout skey.pem -out req.pem -newkey rsa:1024
26 -keyout ckey.pem -out creq.pem -newkey rsa:1024
33 -keyout revkey.pem -out rreq.pem -newkey rsa:1024
40 -keyout respkey.pem -out respreq.pem -newkey rsa:1024
/freebsd-14.2/usr.bin/chkey/
H A DMakefile4 .PATH: ${SRCTOP}/usr.bin/newkey
8 CFLAGS+= -I${SRCTOP}/usr.bin/newkey
/freebsd-14.2/crypto/openssl/test/recipes/25-test_eai_data/
H A Dkdc.sh10 openssl req -nodes -new -newkey rsa:2048 -keyout kdc-root-key.pem \
36 openssl req -nodes -new -newkey rsa:2048 -keyout kdc-key.pem \
/freebsd-14.2/crypto/openssl/test/recipes/80-test_cmp_http_data/Mock/
H A Dtest.cnf5 newkey = new.key
32 newkey = signer.key
95 newkey =
/freebsd-14.2/crypto/openssl/demos/certs/apps/
H A Dmkxcerts.sh23 -nodes -keyout tecp256.pem -out tecp256.pem -newkey ec:ecp256.pem \
28 -nodes -keyout tecp384.pem -out tecp384.pem -newkey ec:ecp384.pem \
/freebsd-14.2/sys/contrib/openzfs/lib/libspl/include/sys/
H A Dmhd.h125 mhioc_resv_key_t newkey; member
135 mhioc_resv_key_t newkey; member
/freebsd-14.2/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_crypto.c359 zfs_keyformat_t keyformat, boolean_t confirm_key, boolean_t newkey, in get_key_interactive() argument
377 if ((ret = libzfs_getpassphrase(keyformat, B_FALSE, newkey, fsname, in get_key_interactive()
394 ret = libzfs_getpassphrase(keyformat, B_TRUE, newkey, fsname, &buf2, in get_key_interactive()
482 const char *fsname, zfs_keyformat_t keyformat, boolean_t newkey, in get_key_material_file() argument
485 (void) fsname, (void) newkey; in get_key_material_file()
509 const char *fsname, zfs_keyformat_t keyformat, boolean_t newkey, in get_key_material_https() argument
512 (void) fsname, (void) newkey; in get_key_material_https()
710 do_verify, newkey, &km, &kmlen); in get_key_material()
730 fsname, keyformat, newkey, &km, &kmlen)) != 0) in get_key_material()
851 zfs_handle_t *zhp, boolean_t newkey, zfs_keyformat_t keyformat, in populate_create_encryption_params_nvlists() argument
[all …]
/freebsd-14.2/contrib/ldns/
H A Dkeys.c81 ldns_key *newkey; in ldns_key_new() local
83 newkey = LDNS_MALLOC(ldns_key); in ldns_key_new()
84 if (!newkey) { in ldns_key_new()
88 ldns_key_set_use(newkey, true); in ldns_key_new()
90 ldns_key_set_origttl(newkey, 0); in ldns_key_new()
91 ldns_key_set_keytag(newkey, 0); in ldns_key_new()
92 ldns_key_set_inception(newkey, 0); in ldns_key_new()
93 ldns_key_set_expiration(newkey, 0); in ldns_key_new()
96 ldns_key_set_evp_key(newkey, NULL); in ldns_key_new()
98 ldns_key_set_hmac_key(newkey, NULL); in ldns_key_new()
[all …]
/freebsd-14.2/sys/netinet/
H A Dtcp_fastopen.c515 uint8_t newkey[TCP_FASTOPEN_KEY_LEN]; in tcp_fastopen_autokey_locked() local
517 arc4rand(newkey, TCP_FASTOPEN_KEY_LEN, 0); in tcp_fastopen_autokey_locked()
518 tcp_fastopen_addkey_locked(newkey); in tcp_fastopen_autokey_locked()
758 uint8_t newkey[TCP_FASTOPEN_KEY_LEN]; in sysctl_net_inet_tcp_fastopen_setkey() local
764 if (req->newlen != sizeof(newkey)) in sysctl_net_inet_tcp_fastopen_setkey()
766 error = SYSCTL_IN(req, newkey, sizeof(newkey)); in sysctl_net_inet_tcp_fastopen_setkey()
771 tcp_fastopen_addkey_locked(newkey); in sysctl_net_inet_tcp_fastopen_setkey()
/freebsd-14.2/sys/dev/kbd/
H A Dkbd.c1019 key_change_ok(struct keyent_t *oldkey, struct keyent_t *newkey, struct thread *td) in key_change_ok() argument
1030 if (oldkey->map[i] != newkey->map[i]) in key_change_ok()
1032 if (oldkey->spcl != newkey->spcl) in key_change_ok()
1034 if (oldkey->flgs != newkey->flgs) in key_change_ok()
1045 if (!RESTRICTED_KEY(oldkey, i) && !RESTRICTED_KEY(newkey, i)) in key_change_ok()
1047 if ((oldkey->spcl & (0x80 >> i)) == (newkey->spcl & (0x80 >> i)) in key_change_ok()
1048 && oldkey->map[i] == newkey->map[i]) in key_change_ok()
1100 fkey_change_ok(fkeytab_t *oldkey, fkeyarg_t *newkey, struct thread *td) in fkey_change_ok() argument
1105 if (oldkey->len != newkey->flen || in fkey_change_ok()
1106 bcmp(oldkey->str, newkey->keydef, oldkey->len) != 0) in fkey_change_ok()
/freebsd-14.2/crypto/openssh/
H A Dpacket.c2287 struct newkeys *newkey; in newkeys_to_blob() local
2292 enc = &newkey->enc; in newkeys_to_blob()
2293 mac = &newkey->mac; in newkeys_to_blob()
2294 comp = &newkey->comp; in newkeys_to_blob()
2357 struct newkeys *newkey = NULL; in newkeys_from_blob() local
2361 if ((newkey = calloc(1, sizeof(*newkey))) == NULL) { in newkeys_from_blob()
2370 enc = &newkey->enc; in newkeys_from_blob()
2371 mac = &newkey->mac; in newkeys_from_blob()
2372 comp = &newkey->comp; in newkeys_from_blob()
2408 newkey = NULL; in newkeys_from_blob()
[all …]
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/
H A Dzfs_load-key_common.kshlib104 …log_must openssl req -x509 -newkey rsa:4096 -sha256 -days 1 -nodes -keyout "/$TESTPOOL/snakeoil.ke…
/freebsd-14.2/crypto/openssl/doc/man1/
H A Dopenssl-req.pod.in24 [B<-newkey> I<arg>]
85 (B<-new> or B<-newkey> or B<-precert>) are not specified.
155 the B<-newkey> and B<-pkeyopt> options,
158 =item B<-newkey> I<arg>
169 If I<nbits> is omitted, i.e., B<-newkey> B<rsa> is specified,
173 All other algorithms support the B<-newkey> I<algname>:I<file> form, where
430 the B<-newkey> option. The smallest accepted key size is 512 bits. If
606 openssl req -newkey rsa:2048 -keyout key.pem -out req.pem
610 openssl req -x509 -newkey rsa:2048 -keyout key.pem -out req.pem
699 -newkey rsa:2048 -keyout key.pem -out req.pem
H A Dopenssl-cmp.pod.in24 [B<-newkey> I<filename>|I<uri>]
249 =item B<-newkey> I<filename>|I<uri>
263 Pass phrase source for the key given with the B<-newkey> option.
355 is provided via the B<-newkey> or B<-key> options.
364 In this case, a private key must be provided (with B<-newkey> or B<-key>)
725 It is also used as a fallback for the B<-newkey> option with IR/CR/KUR messages.
805 This applies to all options specifying keys: B<-key>, B<-newkey>, and
1224 -newkey cl_key.pem -subject "/CN=MyName" \
1239 -newkey cl_key_new.pem -certout cl_cert.pem
1270 newkey = cl_key.pem
[all …]

12