Searched refs:ktype (Results 1 - 22 of 22) sorted by relevance

/freebsd-10-stable/crypto/openssh/regress/
H A Dcert-hostkey.sh77 for ktype in $PLAIN_TYPES ; do
78 verbose "$tid: sign host ${ktype} cert"
80 ${SSHKEYGEN} -q -N '' -t ${ktype} \
81 -f $OBJ/cert_host_key_${ktype} || \
82 fatal "ssh-keygen of cert_host_key_${ktype} failed"
84 $OBJ/cert_host_key_${ktype}.pub || fatal "KRL update failed"
85 cat $OBJ/cert_host_key_${ktype}.pub >> $OBJ/host_revoked_plain
86 case $ktype in
87 rsa-sha2-*) tflag="-t $ktype"; ca="$OBJ/host_ca_key2" ;;
92 -n $HOSTS $OBJ/cert_host_key_${ktype} ||
[all...]
H A Dcert-userkey.sh17 case $ktype in
30 for ktype in $PLAIN_TYPES $EXTRA_TYPES ; do
31 verbose "$tid: sign user ${ktype} cert"
32 ${SSHKEYGEN} -q -N '' -t ${ktype} \
33 -f $OBJ/cert_user_key_${ktype} || \
34 fatal "ssh-keygen of cert_user_key_${ktype} failed"
36 case $ktype in
37 rsa-sha2-*) tflag="-t $ktype" ;;
42 -n ${USER},mekmitasdigoat $tflag $OBJ/cert_user_key_${ktype} || \
43 fatal "couldn't sign cert_user_key_${ktype}"
[all...]
/freebsd-10-stable/sys/ofed/include/linux/
H A Dkobject.h53 struct kobj_type *ktype; member in struct:kobject
61 kobject_init(struct kobject *kobj, struct kobj_type *ktype) argument
66 kobj->ktype = ktype;
131 int kobject_init_and_add(struct kobject *kobj, struct kobj_type *ktype,
H A Dsysfs.h85 if (kobj->ktype == NULL || kobj->ktype->sysfs_ops == NULL)
90 ops = kobj->ktype->sysfs_ops;
H A Dlinux_compat.c162 if (error == 0 && kobj->ktype && kobj->ktype->default_attrs) {
164 t = kobj->ktype;
205 if (kobj->ktype && kobj->ktype->release)
206 kobj->ktype->release(kobj);
255 kobject_init_and_add(struct kobject *kobj, struct kobj_type *ktype, argument
261 kobject_init(kobj, ktype);
262 kobj->ktype = ktype;
[all...]
/freebsd-10-stable/contrib/ntp/libntp/
H A Da_md5encrypt.c44 int ktype,
61 if (ktype == NID_cmac) {
106 OBJ_nid2sn(ktype));
116 if (!EVP_DigestInit_ex(ctx, EVP_get_digestbynid(ktype), NULL)) {
118 OBJ_nid2sn(ktype));
123 OBJ_nid2sn(ktype));
128 OBJ_nid2sn(ktype));
133 OBJ_nid2sn(ktype));
138 OBJ_nid2sn(ktype));
150 if (ktype
42 make_mac( const rwbuffT * digest, int ktype, const robuffT * key, const robuffT * msg) argument
[all...]
/freebsd-10-stable/crypto/openssh/
H A Dssh-ecdsa.c121 char *ktype = NULL; local
135 if (sshbuf_get_cstring(b, &ktype, NULL) != 0 ||
140 if (strcmp(sshkey_ssh_name_plain(key), ktype) != 0) {
185 free(ktype);
H A Dssh-ed25519.c100 char *ktype = NULL; local
116 if ((r = sshbuf_get_cstring(b, &ktype, NULL)) != 0 ||
119 if (strcmp("ssh-ed25519", ktype) != 0) {
165 free(ktype);
H A Dssh-dss.c139 char *ktype = NULL; local
158 if (sshbuf_get_cstring(b, &ktype, NULL) != 0 ||
163 if (strcmp("ssh-dss", ktype) != 0) {
213 free(ktype);
H A Dssh-rsa.c167 char *ktype = NULL; local
181 if (sshbuf_get_cstring(b, &ktype, NULL) != 0) {
185 if ((hash_alg = rsa_hash_alg_from_ident(ktype)) == -1) {
229 free(ktype);
H A Dssh_api.c490 int ktype, r; local
507 if ((ktype = sshkey_type_from_name(alg)) == KEY_UNSPEC)
510 if (k->key->type == ktype ||
512 sshkey_type_plain(ktype))) {
H A Dhostfile.c674 char line[8192], oline[8192], ktype[128]; local
808 if (l <= 1 || l >= sizeof(ktype) ||
811 memcpy(ktype, lineinfo.rawkey, l);
812 ktype[l] = '\0';
813 lineinfo.keytype = sshkey_type_from_name(ktype);
820 strspn(ktype, "0123456789") == l)
H A Dsshconnect2.c109 int ktype; local
134 if ((ktype = sshkey_type_from_name(alg)) == KEY_UNSPEC)
137 sshkey_type_plain(ktype), NULL))
H A Dssh-keygen.c436 int r, rlen, ktype; local
470 ktype = KEY_DSA;
472 ktype = KEY_RSA;
478 if ((key = sshkey_new_private(ktype)) == NULL)
H A Dsshkey.c1957 char *ktype = NULL, *curve = NULL; local
1975 if (sshbuf_get_cstring(b, &ktype, NULL) != 0) {
1980 type = sshkey_type_from_name(ktype);
2044 key->ecdsa_nid = sshkey_ecdsa_nid_from_name(ktype);
2132 free(ktype);
/freebsd-10-stable/crypto/openssl/crypto/ec/
H A Dec_ameth.c408 static int do_EC_KEY_print(BIO *bp, const EC_KEY *x, int off, int ktype) argument
431 if (ktype > 0) {
444 if (ktype == 2) {
451 if (ktype > 0) {
458 if (ktype == 2)
460 else if (ktype == 1)
/freebsd-10-stable/crypto/openssl/crypto/krb5/
H A Dkrb5_asn.h162 ASN1_INTEGER *ktype; member in struct:krb5_encryptionkey_st
H A Dkrb5_asn.c127 ASN1_EXP(KRB5_ENCKEY, ktype, ASN1_INTEGER, 0),
/freebsd-10-stable/crypto/openssl/crypto/dh/
H A Ddh_ameth.c315 const char *ktype = NULL; local
341 ktype = "PKCS#3 DH Private-Key";
343 ktype = "PKCS#3 DH Public-Key";
345 ktype = "PKCS#3 DH Parameters";
354 if (BIO_printf(bp, "%s: (%d bit)\n", ktype, BN_num_bits(x->p)) <= 0)
/freebsd-10-stable/crypto/openssl/crypto/dsa/
H A Ddsa_ameth.c419 const char *ktype = NULL; local
434 ktype = "Private-Key";
436 ktype = "Public-Key";
438 ktype = "DSA-Parameters";
455 if (BIO_printf(bp, "%s: (%d bit)\n", ktype, BN_num_bits(x->p))
/freebsd-10-stable/crypto/heimdal/lib/kadm5/
H A Dadmin.h229 ktype, int32_t stype, int32_t
/freebsd-10-stable/contrib/unbound/validator/
H A Dval_secalgo.c702 static SECKEYPublicKey* nss_key_create(KeyType ktype) argument
717 key->keyType = ktype;

Completed in 361 milliseconds