Home
last modified time | relevance | path

Searched defs:new (Results 1 – 25 of 50) sorted by relevance

12

/system/keymint/common/src/crypto/
Ddes.rs31 pub fn new(data: Vec<u8>) -> Result<Key, Error> { in new() method
57 pub fn new( in new() method
Daes.rs35 pub fn new(data: Vec<u8>) -> Result<Self, Error> { in new() method
88 pub fn new( in new() method
Drsa.rs130 pub fn new(params: &[KeyParam]) -> Result<Self, Error> { in new() method
159 pub fn new(params: &[KeyParam]) -> Result<Self, Error> { in new() method
Dhmac.rs43 pub fn new(data: Vec<u8>) -> Key { in new() method
/system/security/keystore2/src/database/
Dutils.rs61 pub fn new(index: usize, row: &'a Row<'a>) -> Self { in new() method
Dperboot.rs86 pub fn new() -> Self { in new() method
/system/security/prng_seeder/src/
Ddrbg.rs25 pub fn new(entropy: &Entropy) -> Result<Drbg> { in new() method
Dconditioner.rs32 pub fn new(mut hwrng: File) -> Result<ConditionerBuilder> { in new() method
/system/keymint/hal/src/
Dsecureclock.rs20 pub fn new(channel: Arc<Mutex<T>>) -> Self { in new() method
Dsharedsecret.rs22 pub fn new(channel: Arc<Mutex<T>>) -> Self { in new() method
Dtests.rs16 fn new(rsp: &str) -> Self { in new() method
Drpc.rs17 pub fn new(channel: Arc<Mutex<T>>) -> Self { in new() method
/system/security/keystore2/src/
Dremote_provisioning.rs49 pub fn new(security_level: SecurityLevel, km_uuid: Uuid) -> Self { in new() method
Did_rotation.rs44 pub fn new(keystore_db_path: &Path) -> Self { in new() method
Dkm_compat.rs45 fn new(key_format: KeyFormat, key_data: &'a [u8]) -> binder::Result<Self> { in new() method
324 pub fn new(sec_level: SecurityLevel) -> Self { in new() method
366 pub fn new(sec_level: SecurityLevel) -> Self { in new() method
Doperation.rs194 pub fn new( in new() method
216 pub fn new( in new() method
486 pub fn new() -> Self { in new() method
/system/logging/rust/
Dliblog_event_list.rs42 pub fn new(log_type: log_bindgen::log_id, tag: u32) -> Option<LogContext> { in new() method
/system/security/keystore2/test_utils/
Dlib.rs43 pub fn new(prefix: &str) -> std::io::Result<Self> { in new() method
/system/nfc/src/rust/nci/
Dapi.rs44 pub fn new() -> NciApi { in new() method
/system/core/libstats/pull_rust/
Dstats_pull.rs36 pub fn new() -> Self { in new() method
/system/extras/profcollectd/libprofcollectd/
Dservice.rs120 pub fn new() -> Result<Self> { in new() method
Dscheduler.rs42 pub fn new() -> Result<Self> { in new() method
/system/nfc/src/rust/hal/
Dhal.rs113 pub fn new() -> (Hal, Self) { in new() method
/system/keymint/boringssl/src/
Dec.rs268 fn new(key: ec::NistKey, curve: ec::NistCurve, digest: MessageDigest) -> Result<Self, Error> { in new() method
338 fn new(key: ec::NistKey, curve: ec::NistCurve) -> Result<Self, Error> { in new() method
374 fn new(key: ec::Ed25519Key) -> Result<Self, Error> { in new() method
/system/security/keystore2/selinux/src/
Dlib.rs140 pub fn new(con: &str) -> Result<Self> { in new() method
172 pub fn new() -> Result<Self> { in new() method

12