Home
last modified time | relevance | path

Searched refs:TripleDes (Results 1 – 7 of 7) sorted by relevance

/system/keymint/common/src/
Dcrypto.rs73 TripleDes, enumerator
147 TripleDes(OpaqueOr<des::Key>), enumerator
172 Self::Aes(_) | Self::TripleDes(_) | Self::Hmac(_) => false, in is_asymmetric()
222 Self::TripleDes(_) => f.write_str("TripleDes(...)"), in fmt()
258 x if x == Algorithm::TripleDes as i32 => { in from_cbor_value()
261 Ok(Self::TripleDes(OpaqueKeyMaterial(raw_key).into())) in from_cbor_value()
263 Ok(Self::TripleDes( in from_cbor_value()
341 Self::TripleDes(OpaqueOr::Opaque(OpaqueKeyMaterial(k))) => vec_try![ in to_cbor_value()
342 cbor::value::Value::Integer((Algorithm::TripleDes as i32).into()), in to_cbor_value()
384 Self::TripleDes(OpaqueOr::Explicit(k)) => vec_try![ in to_cbor_value()
[all …]
Dtag.rs279 Algorithm::TripleDes => check_3des_gen_params(params), in extract_key_gen_characteristics()
303 Algorithm::TripleDes => check_3des_import_params(&*imp.des, params, key_format, key_data), in extract_key_import_characteristics()
766 Ok(KeyGenInfo::TripleDes) in check_3des_gen_params()
956 | (Algorithm::TripleDes, KeyPurpose::Encrypt) in check_begin_params()
957 | (Algorithm::TripleDes, KeyPurpose::Decrypt) in check_begin_params()
997 Algorithm::TripleDes => check_begin_3des_params(params, nonce.map(|v| v.as_ref())), in check_begin_params()
/system/keymint/tests/src/bin/
Dauth-keyblob-parse.rs108 Algorithm::TripleDes => KeyMaterial::TripleDes( in process()
/system/keymint/common/src/crypto/
Dtraits.rs170 Ok(KeyMaterial::TripleDes(des::Key::new(key)?.into())) in generate_key()
177 Ok(KeyMaterial::TripleDes(des_key.into())) in import_key()
/system/keymint/ta/src/
Dkeys.rs295 crypto::KeyGenInfo::TripleDes => { in generate_key_material()
Doperation.rs298 KeyMaterial::TripleDes(key) => { in begin_operation()
/system/keymint/wire/src/
Dkeymint.rs135 TripleDes = 33, enumerator