Implemented full BLISS support for IKEv2 public key authentication and the pki tool
This commit is contained in:
@@ -106,6 +106,11 @@ METHOD(authenticator_t, build, status_t,
|
||||
return status;
|
||||
}
|
||||
break;
|
||||
case KEY_BLISS:
|
||||
/* we currently use SHA512 only */
|
||||
scheme = SIGN_BLISS_WITH_SHA512;
|
||||
auth_method = AUTH_BLISS;
|
||||
break;
|
||||
default:
|
||||
DBG1(DBG_IKE, "private key of type %N not supported",
|
||||
key_type_names, private->get_type(private));
|
||||
@@ -170,6 +175,10 @@ METHOD(authenticator_t, process, status_t,
|
||||
case AUTH_ECDSA_521:
|
||||
scheme = SIGN_ECDSA_521;
|
||||
break;
|
||||
case AUTH_BLISS:
|
||||
key_type = KEY_BLISS;
|
||||
scheme = SIGN_BLISS_WITH_SHA512;
|
||||
break;
|
||||
default:
|
||||
return INVALID_ARG;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user