auth_method
uint8_t type = policy->pol_auth.auth_method;
policy.pol_auth.auth_method = method == IKEV2_AUTH_SIG ?
policy.pol_auth.auth_method = IKEV2_AUTH_NONE;
auth->auth_method = sa->sa_localauth.id_type;
uint8_t auth_method;
sa->sa_policy->pol_auth.auth_method == IKEV2_AUTH_SHARED_KEY_MIC)
auth->auth_method = sa->sa_localauth.id_type;
if (sa->sa_policy->pol_auth.auth_method == IKEV2_AUTH_SHARED_KEY_MIC)
auth->auth_method = sa->sa_localauth.id_type;
ikeauth.auth_method = IKEV2_AUTH_SHARED_KEY_MIC;
ikeauth.auth_method, sa->sa_peerauth.id_type) < 0) {
print_map(ikeauth.auth_method,
ikeauth.auth_method = sa->sa_peerauth.id_type;
uint8_t auth_method; /* Signature type */
if ((dsa = dsa_verify_new(auth->auth_method, sa->sa_prf)) == NULL) {
switch (auth->auth_method) {
print_map(auth->auth_method, ikev2_auth_map), keylen,
if ((dsa = dsa_sign_new(auth->auth_method, prf)) == NULL) {
switch (auth->auth_method) {
sa->sa_localauth.id_type = auth->auth_method;
if (auth->auth_method == 0) {
__func__, print_map(auth.auth_method, ikev2_auth_map), len);
idp->id_type = auth.auth_method;
$$.auth_method = IKEV2_AUTH_SIG_ANY; /* default */
$$.auth_method = IKEV2_AUTH_SHARED_KEY_MIC;
$$.auth_method = IKEV2_AUTH_SIG_ANY;
$$.auth_method = IKEV2_AUTH_SIG_ANY;
$$.auth_method = xf->id;
switch (ikeauth->auth_method) {
print_xf(ikeauth->auth_method, 0, methodxfs), idstr);
} else if (pol != NULL && pol->pol_auth.auth_method !=
switch (pol->pol_auth.auth_method) {
print_xf(pol->pol_auth.auth_method, 0, methodxfs));
char *enc_alg, *auth_alg, *group_desc, *auth_method;
auth_method = "PRE_SHARED";
auth_method = "RSA_SIG";
r->p1name, auth_method, auth_alg, enc_alg,
auth_method);
auth_method = "keyboard-interactive";
auth_method = "publickey";
if (!key_base_type_match(auth_method, key,
auth_method = "hostbased";
if (!key_base_type_match(auth_method, key,
debug3_f("%s authentication%s: %s key is %s", auth_method,
auth_log(ssh, 0, 0, auth_method, NULL);
auth_method = "publickey";
auth_method = "hostbased";
debug3_f("%s %s signature using %s %s%s%s", auth_method,
static char *auth_method = "unknown";
auth_method = "gssapi-with-mic";
auth_method = "unknown";
auth_method, auth_submethod)) {
debug3_f("method %s: partial", auth_method);
!auth_root_allowed(ssh, auth_method))
auth_method, auth_submethod);
auth_method, auth_submethod);
if (strcmp(auth_method, "unknown") == 0)
auth_method = "none";
auth_method = "password";
fmt_auth_method(enum auth_method method)
const char *fmt_auth_method(enum auth_method);
enum auth_method method;
enum auth_method method;
res.auth_method = PAP;
res.auth_method = CHAP;
res.auth_method = MSCHAPV2;
enum auth_method auth_method;
switch (res->auth_method) {
dump->records[idx].rec.username, dump->records[idx].rec.auth_method,
json_do_string("auth-method", dump->records[idx].rec.auth_method);
sizeof(buf1)), assign->auth_method, inet_ntop(AF_INET,
assign->auth_method, inet_ntop(AF_INET, &addr4, buf,
strlcpy(assigned->auth_method, record->auth_method,
sizeof(assigned->auth_method));
strlcpy(record.auth_method, assigned->auth_method,
sizeof(record.auth_method));
strlcpy(dump->records[idx].rec.auth_method, assign->auth_method,
sizeof(dump->records[idx].rec.auth_method));
char auth_method[16];
strlcpy(assigned->auth_method, "PAP",
sizeof(assigned->auth_method));
strlcpy(assigned->auth_method, "CHAP",
sizeof(assigned->auth_method));
strlcpy(assigned->auth_method, "MS-CHAP",
sizeof(assigned->auth_method));
strlcpy(assigned->auth_method, "MS-CHAP-V2",
sizeof(assigned->auth_method));
strlcpy(assigned->auth_method, "EAP",
sizeof(assigned->auth_method));
char auth_method[16];