Add sturctured get assertion and client pin fuzzers (#482)

This commit is contained in:
hcyang
2022-05-27 10:34:38 +08:00
committed by GitHub
parent 4cfc5f57d4
commit 85fe9cd29d
6 changed files with 45 additions and 6 deletions

View File

@@ -239,12 +239,12 @@ pub fn process_ctap_structured(data: &[u8], input_type: InputType) -> FuzzResult
InputType::CborMakeCredentialParameter => Command::AuthenticatorMakeCredential(
AuthenticatorMakeCredentialParameters::arbitrary(unstructured)?,
),
InputType::CborGetAssertionParameter => {
unimplemented!()
}
InputType::CborClientPinParameter => {
unimplemented!()
}
InputType::CborGetAssertionParameter => Command::AuthenticatorGetAssertion(
AuthenticatorGetAssertionParameters::arbitrary(unstructured)?,
),
InputType::CborClientPinParameter => Command::AuthenticatorClientPin(
AuthenticatorClientPinParameters::arbitrary(unstructured)?,
),
InputType::Ctap1 => {
unimplemented!()
}