renames residential to resident

This commit is contained in:
Fabian Kaczmarczyck
2020-12-18 12:04:05 +01:00
parent d5761018ab
commit 7268a9474b
3 changed files with 26 additions and 30 deletions

View File

@@ -1195,7 +1195,7 @@ mod test {
}
#[test]
fn test_residential_process_make_credential() {
fn test_resident_process_make_credential() {
let mut rng = ThreadRng256 {};
let user_immediately_present = |_| Ok(());
let mut ctap_state = CtapState::new(&mut rng, user_immediately_present, DUMMY_CLOCK_VALUE);
@@ -1214,7 +1214,7 @@ mod test {
}
#[test]
fn test_non_residential_process_make_credential() {
fn test_non_resident_process_make_credential() {
let mut rng = ThreadRng256 {};
let user_immediately_present = |_| Ok(());
let mut ctap_state = CtapState::new(&mut rng, user_immediately_present, DUMMY_CLOCK_VALUE);
@@ -1526,7 +1526,7 @@ mod test {
}
#[test]
fn test_residential_process_get_assertion() {
fn test_resident_process_get_assertion() {
let mut rng = ThreadRng256 {};
let user_immediately_present = |_| Ok(());
let mut ctap_state = CtapState::new(&mut rng, user_immediately_present, DUMMY_CLOCK_VALUE);
@@ -1629,7 +1629,7 @@ mod test {
}
#[test]
fn test_residential_process_get_assertion_hmac_secret() {
fn test_resident_process_get_assertion_hmac_secret() {
let mut rng = ThreadRng256 {};
let sk = crypto::ecdh::SecKey::gensk(&mut rng);
let user_immediately_present = |_| Ok(());
@@ -1681,7 +1681,7 @@ mod test {
}
#[test]
fn test_residential_process_get_assertion_with_cred_protect() {
fn test_resident_process_get_assertion_with_cred_protect() {
let mut rng = ThreadRng256 {};
let private_key = crypto::ecdsa::SecKey::gensk(&mut rng);
let credential_id = rng.gen_uniform_u8x32().to_vec();