| /netbsd-src/crypto/external/bsd/openssh/dist/ |
| H A D | ssh-ed25519-sk.c | 100 ssh_ed25519_sk_deserialize_public(const char *ktype, struct sshbuf *b, in ssh_ed25519_sk_deserialize_public() argument 105 if ((r = sshkey_ed25519_funcs.deserialize_public(ktype, b, key)) != 0) in ssh_ed25519_sk_deserialize_public() 113 ssh_ed25519_sk_deserialize_private(const char *ktype, struct sshbuf *b, in ssh_ed25519_sk_deserialize_private() argument 118 if ((r = sshkey_ed25519_funcs.deserialize_public(ktype, b, key)) != 0) in ssh_ed25519_sk_deserialize_private() 133 char *ktype = NULL; in ssh_ed25519_sk_verify() local 158 if (sshbuf_get_cstring(b, &ktype, NULL) != 0 || in ssh_ed25519_sk_verify() 173 if (strcmp(sshkey_ssh_name_plain(key), ktype) != 0) { in ssh_ed25519_sk_verify() 248 free(ktype); in ssh_ed25519_sk_verify()
|
| H A D | ssh-ed25519.c | 103 ssh_ed25519_deserialize_public(const char *ktype, struct sshbuf *b, in ssh_ed25519_deserialize_public() argument 121 ssh_ed25519_deserialize_private(const char *ktype, struct sshbuf *b, in ssh_ed25519_deserialize_private() argument 211 char *ktype = NULL; in ssh_ed25519_verify() local 227 if ((r = sshbuf_get_cstring(b, &ktype, NULL)) != 0 || in ssh_ed25519_verify() 230 if (strcmp("ssh-ed25519", ktype) != 0) { in ssh_ed25519_verify() 271 free(ktype); in ssh_ed25519_verify()
|
| H A D | ssh-dss.c | 199 ssh_dss_deserialize_public(const char *ktype, struct sshbuf *b, in ssh_dss_deserialize_public() argument 236 ssh_dss_deserialize_private(const char *ktype, struct sshbuf *b, in ssh_dss_deserialize_private() argument 243 if ((r = ssh_dss_deserialize_public(ktype, b, key)) != 0) in ssh_dss_deserialize_private() 338 char *ktype = NULL; in ssh_dss_verify() local 350 if (sshbuf_get_cstring(b, &ktype, NULL) != 0 || in ssh_dss_verify() 355 if (strcmp("ssh-dss", ktype) != 0) { in ssh_dss_verify() 410 free(ktype); in ssh_dss_verify()
|
| H A D | ssh-xmss.c | 130 ssh_xmss_deserialize_public(const char *ktype, struct sshbuf *b, in ssh_xmss_deserialize_public() argument 162 ssh_xmss_deserialize_private(const char *ktype, struct sshbuf *b, in ssh_xmss_deserialize_private() argument 281 char *ktype = NULL; in ssh_xmss_verify() local 301 if ((r = sshbuf_get_cstring(b, &ktype, NULL)) != 0 || in ssh_xmss_verify() 304 if (strcmp("ssh-xmss@openssh.com", ktype) != 0) { in ssh_xmss_verify() 345 free(ktype); in ssh_xmss_verify()
|
| H A D | hostfile.c | 759 char *line = NULL, ktype[128]; in hostkeys_foreach_file() local 878 if (l <= 1 || l >= sizeof(ktype) || in hostkeys_foreach_file() 881 memcpy(ktype, lineinfo.rawkey, l); in hostkeys_foreach_file() 882 ktype[l] = '\0'; in hostkeys_foreach_file() 883 lineinfo.keytype = sshkey_type_from_name(ktype); in hostkeys_foreach_file() 890 strspn(ktype, "0123456789") == l) in hostkeys_foreach_file()
|
| H A D | sshconnect.c | 764 const char *ktype = sshkey_ssh_name(key); in hostkey_accepted_by_hostkeyalgs() local 777 return match_pattern_list(ktype, hostkeyalgs, 0) == 1; in hostkey_accepted_by_hostkeyalgs()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/dsa/ |
| H A D | dsa_ameth.c | 275 const char *ktype = NULL; in do_dsa_print() local 293 ktype = "Private-Key"; in do_dsa_print() 295 ktype = "Public-Key"; in do_dsa_print() 297 ktype = "DSA-Parameters"; in do_dsa_print() 302 if (BIO_printf(bp, "%s: (%d bit)\n", ktype, mod_len) <= 0) in do_dsa_print()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/dh/ |
| H A D | dh_ameth.c | 247 const char *ktype = NULL; in do_dh_print() local 267 ktype = "DH Private-Key"; in do_dh_print() 269 ktype = "DH Public-Key"; in do_dh_print() 271 ktype = "DH Parameters"; in do_dh_print() 274 || BIO_printf(bp, "%s: (%d bit)\n", ktype, DH_bits(x)) <= 0) in do_dh_print()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/ec/ |
| H A D | ec_ameth.c | 283 static int do_EC_KEY_print(BIO *bp, const EC_KEY *x, int off, ec_print_t ktype) in do_EC_KEY_print() argument 296 if (ktype != EC_KEY_PRINT_PARAM && EC_KEY_get0_public_key(x) != NULL) { in do_EC_KEY_print() 302 if (ktype == EC_KEY_PRINT_PRIVATE && EC_KEY_get0_private_key(x) != NULL) { in do_EC_KEY_print() 308 if (ktype == EC_KEY_PRINT_PRIVATE) in do_EC_KEY_print() 310 else if (ktype == EC_KEY_PRINT_PUBLIC) in do_EC_KEY_print()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/dsa/ |
| H A D | dsa_ameth.c | 332 const char *ktype = NULL; in do_dsa_print() local 346 ktype = "Private-Key"; in do_dsa_print() 348 ktype = "Public-Key"; in do_dsa_print() 350 ktype = "DSA-Parameters"; in do_dsa_print() 355 if (BIO_printf(bp, "%s: (%d bit)\n", ktype, BN_num_bits(x->p)) in do_dsa_print()
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/kadm5/ |
| H A D | common_glue.c | 152 int32_t ktype, int32_t stype, in kadm5_decrypt_key() argument 162 if (ktype != entry->key_data[i].key_data_kvno) in kadm5_decrypt_key() 165 keyblock->keytype = ktype; in kadm5_decrypt_key()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/ |
| H A D | cp-objcp-common.c | 148 tree ktype = CONST_CAST_TREE (type); in cp_get_debug_type() local 149 if (tree *slot = hash_map_safe_get (debug_type_map, ktype)) in cp_get_debug_type() 151 hash_map_safe_put<hm_ggc> (debug_type_map, ktype, dtype); in cp_get_debug_type()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/cp/ |
| H A D | cp-objcp-common.cc | 151 tree ktype = CONST_CAST_TREE (type); in cp_get_debug_type() local 152 if (tree *slot = hash_map_safe_get (debug_type_map, ktype)) in cp_get_debug_type() 154 hash_map_safe_put<hm_ggc> (debug_type_map, ktype, dtype); in cp_get_debug_type()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/ec/ |
| H A D | ec_ameth.c | 359 static int do_EC_KEY_print(BIO *bp, const EC_KEY *x, int off, ec_print_t ktype) in do_EC_KEY_print() argument 372 if (ktype != EC_KEY_PRINT_PARAM && EC_KEY_get0_public_key(x) != NULL) { in do_EC_KEY_print() 378 if (ktype == EC_KEY_PRINT_PRIVATE && EC_KEY_get0_private_key(x) != NULL) { in do_EC_KEY_print() 384 if (ktype == EC_KEY_PRINT_PRIVATE) in do_EC_KEY_print() 386 else if (ktype == EC_KEY_PRINT_PUBLIC) in do_EC_KEY_print()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/dh/ |
| H A D | dh_ameth.c | 270 const char *ktype = NULL; in do_dh_print() local 290 ktype = "DH Private-Key"; in do_dh_print() 292 ktype = "DH Public-Key"; in do_dh_print() 294 ktype = "DH Parameters"; in do_dh_print() 297 if (BIO_printf(bp, "%s: (%d bit)\n", ktype, BN_num_bits(x->p)) <= 0) in do_dh_print()
|
| /netbsd-src/external/bsd/unbound/dist/validator/ |
| H A D | val_secalgo.c | 1038 static SECKEYPublicKey* nss_key_create(KeyType ktype) in nss_key_create() argument 1053 key->keyType = ktype; in nss_key_create()
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/ |
| H A D | ChangeLog.1998 | 1475 * lib/krb5/str2key.c: Add des3 string-to-key. Add ktype argument
|