Searched refs:key_types (Results 1 - 2 of 2) sorted by relevance

/external/curl/lib/vtls/
H A Daxtls.c144 int key_types[] = {SSL_OBJ_RSA_KEY, SSL_OBJ_PKCS8, SSL_OBJ_PKCS12, 0}; local
235 while(key_types[i] != 0) {
236 ssl_fcn_return = ssl_obj_load(ssl_ctx, key_types[i],
246 if(key_types[i] == 0) {
/external/openssh/
H A Dssh-keygen.c979 } key_types[] = { local
1001 for (i = 0; key_types[i].key_type; i++) {
1002 if (stat(key_types[i].path, &st) == 0)
1005 error("Could not stat %s: %s", key_types[i].path,
1015 printf("%s ", key_types[i].key_type_display);
1017 type = sshkey_type_from_name(key_types[i].key_type);
1018 strlcpy(identity_file, key_types[i].path, sizeof(identity_file));

Completed in 295 milliseconds