| /system/keymint/common/src/crypto/ |
| D | traits.rs | 89 ) -> Result<KeyMaterial, Error> { in generate_key() 115 ) -> Result<(KeyMaterial, KeySizeInBits), Error> { in import_key() 149 ) -> Result<KeyMaterial, Error> { in generate_key() 158 fn import_key(&self, data: &[u8], _params: &[keymint::KeyParam]) -> Result<KeyMaterial, Error> { in import_key() 184 ) -> Result<KeyMaterial, Error> { in generate_key() 199 ) -> Result<(KeyMaterial, KeySizeInBits), Error> { in import_key() 234 ) -> Result<KeyMaterial, Error>; in generate_key() 243 ) -> Result<(KeyMaterial, KeySizeInBits, RsaExponent), Error> { in import_pkcs8_key() 288 ) -> Result<KeyMaterial, Error>; in generate_nist_key() 296 ) -> Result<KeyMaterial, Error>; in generate_ed25519_key() [all …]
|
| D | ec.rs | 353 pub fn import_sec1_private_key(data: &[u8]) -> Result<KeyMaterial, Error> { in import_sec1_private_key() 370 pub fn import_pkcs8_key(data: &[u8]) -> Result<KeyMaterial, Error> { in import_pkcs8_key() 377 fn import_pkcs8_key_impl(key_info: &pkcs8::PrivateKeyInfo) -> Result<KeyMaterial, Error> { in import_pkcs8_key_impl() 455 pub fn import_raw_ed25519_key(data: &[u8]) -> Result<KeyMaterial, Error> { in import_raw_ed25519_key() 463 pub fn import_raw_x25519_key(data: &[u8]) -> Result<KeyMaterial, Error> { in import_raw_x25519_key()
|
| D | rsa.rs | 181 pub fn import_pkcs8_key(data: &[u8]) -> Result<(KeyMaterial, KeySizeInBits, RsaExponent), Error> { in import_pkcs8_key() 198 ) -> Result<(KeyMaterial, KeySizeInBits, RsaExponent), Error> { in import_pkcs1_key()
|
| /system/keymint/common/src/ |
| D | crypto.rs | 114 pub enum KeyMaterial { enum 134 impl KeyMaterial { impl 179 impl core::fmt::Debug for KeyMaterial { implementation 196 impl AsCborValue for KeyMaterial { implementation
|
| D | tag.rs | 278 ) -> Result<(Vec<KeyCharacteristics>, KeyMaterial), Error> { in extract_key_import_characteristics() argument 400 ) -> Result<(Vec<KeyParam>, KeyMaterial), Error> { in check_rsa_import_params() argument 517 ) -> Result<(Vec<KeyParam>, KeyMaterial), Error> { in check_ec_import_params() argument 708 ) -> Result<(Vec<KeyParam>, KeyMaterial), Error> { in check_aes_import_params() argument 761 ) -> Result<(Vec<KeyParam>, KeyMaterial), Error> { in check_3des_import_params() argument 790 ) -> Result<(Vec<KeyParam>, KeyMaterial), Error> { in check_hmac_import_params() argument
|
| /system/keymint/ta/src/ |
| D | keys.rs | 183 fn sign_cert_data(&self, signing_key: KeyMaterial, tbs_data: &[u8]) -> Result<Vec<u8>, Error> { in sign_cert_data() 249 ) -> Result<(KeyMaterial, Vec<KeyCharacteristics>), Error> { in generate_key_material() 326 key_material: KeyMaterial, in finish_keyblob_creation()
|
| D | device.rs | 136 fn signing_key(&self, key_type: SigningKeyType) -> Result<KeyMaterial, Error>; in signing_key() 329 fn signing_key(&self, _key_type: SigningKeyType) -> Result<KeyMaterial, Error> { in signing_key()
|
| /system/keymint/boringssl/src/ |
| D | ec.rs | 57 ) -> Result<crypto::KeyMaterial, Error> { in generate_nist_key() 75 ) -> Result<crypto::KeyMaterial, Error> { in generate_ed25519_key() 89 ) -> Result<crypto::KeyMaterial, Error> { in generate_x25519_key()
|
| D | rsa.rs | 39 ) -> Result<crypto::KeyMaterial, Error> { in generate_key()
|