Searched refs:SuperEncryptionType (Results 1 – 2 of 2) sorted by relevance
/system/security/keystore2/src/ |
D | enforcements.rs | 20 use crate::{authorization::Error as AuthzError, super_key::SuperEncryptionType}; 768 ) -> SuperEncryptionType { in super_encryption_required() argument 771 return SuperEncryptionType::None; in super_encryption_required() 777 enc_type: SuperEncryptionType, in super_encryption_required() 779 let mut result = Candidate { priority: 0, enc_type: SuperEncryptionType::None }; in super_encryption_required() 783 Candidate { priority: 3, enc_type: SuperEncryptionType::BootLevel(*level) } in super_encryption_required() 786 Candidate { priority: 2, enc_type: SuperEncryptionType::ScreenLockBound } in super_encryption_required() 789 Candidate { priority: 1, enc_type: SuperEncryptionType::LskfBound } in super_encryption_required() 791 _ => Candidate { priority: 0, enc_type: SuperEncryptionType::None }, in super_encryption_required()
|
D | super_key.rs | 106 pub enum SuperEncryptionType { enum 738 SuperEncryptionType::None => Ok((key_blob.to_vec(), BlobMetaData::new())), in handle_super_encryption_on_key_init() 739 SuperEncryptionType::LskfBound => self in handle_super_encryption_on_key_init() 745 SuperEncryptionType::ScreenLockBound => { in handle_super_encryption_on_key_init() 781 SuperEncryptionType::BootLevel(level) => { in handle_super_encryption_on_key_init()
|