/freebsd-current/crypto/openssh/regress/ |
H A D | agent-pkcs11-cert.sh | 18 $SSHKEYGEN -qs $OBJ/ca -I "ecdsa_key" -n $USER -z 1 ${SSH_SOFTHSM_DIR}/EC.pub || 20 $SSHKEYGEN -qs $OBJ/ca -I "rsa_key" -n $USER -z 2 ${SSH_SOFTHSM_DIR}/RSA.pub || 22 $SSHKEYGEN -qs $OBJ/ca -I "ca_ca" -n $USER -z 3 $OBJ/ca.pub || 44 $OBJ/ca.pub \ 45 ${SSH_SOFTHSM_DIR}/EC.pub \ 46 ${SSH_SOFTHSM_DIR}/EC-cert.pub \ 47 ${SSH_SOFTHSM_DIR}/RSA.pub \ 48 ${SSH_SOFTHSM_DIR}/RSA-cert.pub || 52 ${SSH_SOFTHSM_DIR}/EC.pub \ 53 ${SSH_SOFTHSM_DIR}/RSA.pub \ [all...] |
H A D | keygen-sshfp.sh | 7 fp=`${SSHKEYGEN} -r test -f ${SRC}/ed25519_openssh.pub | \ 12 fp=`${SSHKEYGEN} -r test -f ${SRC}/ed25519_openssh.pub | \ 20 fp=`${SSHKEYGEN} -r test -f ${SRC}/ed25519_openssh.pub | wc -l` 27 fp=`${SSHKEYGEN} -Ohashalg=sha1 -r test -f ${SRC}/ed25519_openssh.pub` 33 fp=`${SSHKEYGEN} -Ohashalg=sha256 -r test -f ${SRC}/ed25519_openssh.pub` 39 fp=`${SSHKEYGEN} -r test -f ${SRC}/rsa_openssh.pub | awk '$5=="1"{print $6}'` 43 fp=`${SSHKEYGEN} -r test -f ${SRC}/rsa_openssh.pub | awk '$5=="2"{print $6}'`
|
H A D | keygen-convert.sh | 28 ${SSHKEYGEN} -q -e -f $OBJ/$t-key.pub >$OBJ/$t-key-rfc.pub || \ 31 cmp $OBJ/$t-key-rfc $OBJ/$t-key-rfc.pub || \ 38 cut -f1,2 -d " " $OBJ/$t-key.pub >$OBJ/$t-key-nocomment.pub 39 cmp $OBJ/$t-key-nocomment.pub $OBJ/$t-rfc-imported || \ 49 ${SSHKEYGEN} -y -f $OBJ/$t-key >$OBJ/$t-key-nocomment.pub 50 cmp $OBJ/$t-key.pub $OBJ/$t-key-nocomment.pub || \ 53 rm -f $OBJ/$t-key $OBJ/$t-key.pub [all...] |
H A D | agent-pkcs11.sh | 30 pub=$(cat $k.pub) 31 ${SSHADD} -L | grep -q "$pub" || \ 33 ${SSHADD} -T $k.pub || fail "ssh-add -T with $k failed" 36 cat $k.pub > $OBJ/authorized_keys_$USER
|
H A D | cert-hostkey.sh | 64 kh_ca host_ca_key.pub host_ca_key2.pub > $OBJ/known_hosts-cert.orig 71 cat $OBJ/host_ca_key.pub $OBJ/host_ca_key2.pub > $OBJ/host_revoked_ca 83 ${SSHKEYGEN} -kf $OBJ/host_krl_ca $OBJ/host_ca_key.pub $OBJ/host_ca_key2.pub \ 95 $OBJ/cert_host_key_${ktype}.pub || fatal "KRL update failed" 96 cat $OBJ/cert_host_key_${ktype}.pub >> $OBJ/host_revoked_plain 106 $OBJ/cert_host_key_${ktype}-cert.pub || \ 108 cat $OBJ/cert_host_key_${ktype}-cert.pub >> [all...] |
H A D | ssh-com-client.sh | 36 ${SSHKEYGEN} -e -f ${OBJ}/id.openssh > $OBJ/id.com.pub 41 rm -f ${OBJ}/$t ${OBJ}/$t.pub 49 ${SSHKEYGEN} -e -f ${OBJ}/rsa.pub > ${HK}.ssh-rsa.pub 50 ${SSHKEYGEN} -e -f ${OBJ}/dsa.pub > ${HK}.ssh-dss.pub 87 cp ${HK}.$key.pub ${HK}.pub 127 for i in ssh2_config random_seed dsa.pub dsa host.dsa \ 128 id.list id.com id.com.pub i [all...] |
H A D | multipubkey.sh | 26 mv $OBJ/user_key1-cert.pub $OBJ/cert_user_key1.pub 38 echo "TrustedUserCAKeys $OBJ/user_ca_key.pub" 52 cat $OBJ/user_key1.pub > $OBJ/authorized_keys_$USER 58 cat $OBJ/user_key1.pub > $OBJ/authorized_keys_$USER 64 cat $OBJ/user_key1.pub $OBJ/user_key2.pub > \ 72 cat $OBJ/user_key2.pub > $OBJ/authorized_keys_$USER
|
H A D | brokenkeys.sh | 15 cat $OBJ/$t.pub >> $OBJ/authorized_keys_$USER
|
H A D | cert-file.sh | 32 mv $OBJ/user_key1-cert.pub $OBJ/cert_user_key1_1.pub 36 mv $OBJ/user_key1-cert.pub $OBJ/cert_user_key1_2.pub 40 rm $OBJ/user_key3.pub # to test use of private key w/o public half. 44 rm $OBJ/user_key4 $OBJ/user_key4.pub # to test no matching pub/private key case. 49 echo "cert-authority $(cat $OBJ/user_ca_key1.pub)" > $OBJ/authorized_keys_$USER 57 # Key with no .pub should work - finding the equivalent *-cert.pub [all...] |
H A D | agent.sh | 29 rm -f $OBJ/user_ca_key $OBJ/user_ca_key.pub 38 rm -f $OBJ/$t-agent $OBJ/$t-agent.pub* 43 -n estragon $OBJ/$t-agent.pub || fatal "ca sign failed" 46 cat $OBJ/$t-agent.pub >> $OBJ/authorized_keys_$USER 60 cp -f $OBJ/$t-agent.pub $OBJ/$t-agent-private.pub 61 cp -f $OBJ/$t-agent-cert.pub $OBJ/$t-agent-private-cert.pub 93 ${SSH} -F $OBJ/ssh_proxy -i $OBJ/$t-agent.pub -oIdentitiesOnly=yes \ 143 (printf 'cert-authority,principals="estragon" '; cat $OBJ/user_ca_key.pub) \ [all...] |
H A D | ssh-com.sh | 45 PublicHostKeyFile ${SRC}/dsa_ssh2.pub 59 rm -f ${OBJ}/dsa ${OBJ}/dsa.pub 66 ${SSHKEYGEN} -e -f ${OBJ}/$t.pub > ${OBJ}/${USER}/$t.com 74 ${SSHKEYGEN} -if ${SRC}/dsa_ssh2.pub 117 sshd2_config dsa.pub dsa ssh_config_com; do
|
H A D | hostkey-agent.sh | 24 -I localhost-with-alias $OBJ/agent-key.$k.pub || \ 42 cat $OBJ/agent-key.$k.pub) > $OBJ/known_hosts 62 echo "Hostkey $OBJ/agent-key.${k}.pub" >> $OBJ/sshd_proxy 63 echo "HostCertificate $OBJ/agent-key.${k}-cert.pub" >> $OBJ/sshd_proxy 64 test -f $OBJ/agent-key.${k}.pub || fatal "no $k key" 65 test -f $OBJ/agent-key.${k}-cert.pub || fatal "no $k cert" 71 cat $OBJ/agent-ca.pub) > $OBJ/known_hosts
|
H A D | principals-command.sh | 29 CERT_BODY=`cat $OBJ/cert_user_key-cert.pub | awk '{ print $2 }'` 30 CA_BODY=`cat $OBJ/user_ca_key.pub | awk '{ print $2 }'` 31 CERT_FP=`${SSHKEYGEN} -lf $OBJ/cert_user_key-cert.pub | awk '{ print $2 }'` 32 CA_FP=`${SSHKEYGEN} -lf $OBJ/user_ca_key.pub | awk '{ print $2 }'` 76 echo "TrustedUserCAKeys $OBJ/user_ca_key.pub" 150 cat $OBJ/user_ca_key.pub 162 cat $OBJ/user_ca_key.pub
|
H A D | ssh-com-keygen.sh | 31 COMPUB=${COMPRV}.pub 33 OPENSSHPUB=${OPENSSHPRV}.pub
|
/freebsd-current/sys/geom/uzip/ |
H A D | g_uzip_zlib.c | 42 struct g_uzip_dapi pub; member in struct:g_uzip_zlib 106 zp->pub.max_blen = compressBound(blksz); 107 zp->pub.decompress = &g_uzip_zlib_decompress; 108 zp->pub.free = &g_uzip_zlib_free; 109 zp->pub.rewind = &g_uzip_zlib_rewind; 110 zp->pub.pvt = (void *)zp; 111 return (&zp->pub);
|
H A D | g_uzip_lzma.c | 41 struct g_uzip_dapi pub; member in struct:g_uzip_lzma 108 lzp->pub.max_blen = LZ4_compressBound(blksz); 109 lzp->pub.decompress = &g_uzip_lzma_decompress; 110 lzp->pub.free = &g_uzip_lzma_free; 111 lzp->pub.rewind = &g_uzip_lzma_nop; 112 lzp->pub.pvt = lzp; 113 return (&lzp->pub);
|
/freebsd-current/usr.sbin/lpr/common_source/ |
H A D | ctlinfo.c | 69 struct cjobinfo pub; member in struct:cjprivate 238 if ((cpriv == NULL) || (cpriv != cpriv->pub.cji_priv)) { 244 FREESTR(cpriv->pub.cji_accthost); 245 FREESTR(cpriv->pub.cji_acctuser); 246 FREESTR(cpriv->pub.cji_class); 247 FREESTR(cpriv->pub.cji_curqueue); 248 /* [cpriv->pub.cji_fname is part of cpriv-malloced area] */ 249 FREESTR(cpriv->pub.cji_jobname); 250 FREESTR(cpriv->pub.cji_mailto); 251 FREESTR(cpriv->pub [all...] |
/freebsd-current/crypto/openssh/regress/unittests/hostkeys/ |
H A D | mktestdata.sh | 43 hentries "sisyphus.example.com" "*_5.pub" 44 hentries "prometheus.example.com,192.0.2.1,2001:db8::1" "*_6.pub" 52 hentries "sisyphus.example.com" "*_1.pub" 55 hentries "prometheus.example.com,192.0.2.1,2001:db8::1" "*_2.pub" 58 hentries "*.example.com,192.0.2.*,2001:*" "*_3.pub" 66 printf "@revoked sisyphus.example.com " ; cat ed25519_4.pub 67 printf "@cert-authority prometheus.example.com " ; cat ecdsa_4.pub 68 printf "@cert-authority *.example.com " ; cat dsa_4.pub 73 printf "@what sisyphus.example.com " ; cat dsa_1.pub
|
/freebsd-current/contrib/wpa/src/crypto/ |
H A D | crypto_internal-modexp.c | 48 struct bignum *pub; local 56 pub = bignum_init(); 57 if (!pub || bignum_set_unsigned_bin(pub, pubkey, pubkey_len) < 0 || 58 bignum_cmp_d(pub, 1) <= 0) 72 bignum_exptmod(pub, q, p, tmp) < 0 || 84 bignum_deinit(pub);
|
/freebsd-current/crypto/openssh/regress/unittests/authopt/testdata/ |
H A D | mktestdata.sh | 5 rm -f ca_key ca_key.pub 6 rm -f user_key user_key.pub 17 -V 19990101:19991231 -z 1 "$@" user_key.pub 18 mv user_key-cert.pub "$output" 48 rm -f user_key ca_key user_key.pub ca_key.pub
|
/freebsd-current/contrib/wireguard-tools/ |
H A D | curve25519.h | 17 void curve25519_generate_public(uint8_t pub[static CURVE25519_KEY_SIZE], const uint8_t secret[static CURVE25519_KEY_SIZE]);
|
/freebsd-current/crypto/openssh/contrib/redhat/ |
H A D | sshd.init | 10 # config: /etc/ssh/ssh_host_key.pub 43 /sbin/restorecon /etc/ssh/ssh_host_rsa_key.pub 44 /sbin/restorecon /etc/ssh/ssh_host_dsa_key.pub 45 /sbin/restorecon /etc/ssh/ssh_host_ecdsa_key.pub
|
/freebsd-current/crypto/openssh/regress/unittests/sshkey/ |
H A D | mktestdata.sh | 32 awk '/^priv:$/,/^pub:/' | \ 35 awk '/^pub:/,/^P:/' | #\ 36 grep -v '^[a-zA-Z]' | tr -d ' \n:' > ${_outbase}.pub 40 for x in priv pub g ; do 53 awk '/^priv:$/,/^pub:/' | \ 56 awk '/^pub:/,/^ASN1 OID:/' | #\ 57 grep -v '^[a-zA-Z]' | tr -d ' \n:' > ${_outbase}.pub 61 for x in priv pub curve ; do 87 rm -f pw *.pub *.bn.* *.param.* *.fp *.fp.bb 146 -V 19990101:20110101 -z 1 rsa_1.pub [all...] |
/freebsd-current/contrib/wpa/hostapd/ |
H A D | sae_pk_gen.c | 22 struct wpabuf *pub = NULL; local 72 pub = crypto_ec_key_get_subject_public_key(key); 73 if (!pub) { 94 data_len = os_strlen(argv[3]) + SAE_PK_M_LEN + wpabuf_len(pub); 106 os_memcpy(m + SAE_PK_M_LEN, wpabuf_head(pub), wpabuf_len(pub)); 187 wpabuf_free(pub);
|
/freebsd-current/crypto/openssh/ |
H A D | kexc25519.c | 50 kexc25519_keygen(u_char key[CURVE25519_SIZE], u_char pub[CURVE25519_SIZE]) argument 55 crypto_scalarmult_curve25519(pub, key, basepoint); 60 const u_char pub[CURVE25519_SIZE], struct sshbuf *out, int raw) 66 crypto_scalarmult_curve25519(shared_key, key, pub); 86 const u_char pub[CURVE25519_SIZE], struct sshbuf *out) 88 return kexc25519_shared_key_ext(key, pub, out, 0); 135 /* allocate space for encrypted KEM key and ECDH pub key */ 59 kexc25519_shared_key_ext(const u_char key[CURVE25519_SIZE], const u_char pub[CURVE25519_SIZE], struct sshbuf *out, int raw) argument 85 kexc25519_shared_key(const u_char key[CURVE25519_SIZE], const u_char pub[CURVE25519_SIZE], struct sshbuf *out) argument
|