| /system/keymint/common/src/crypto/ |
| D | traits.rs | 106 ) -> Result<KeyMaterial, Error> { in generate_key() 132 ) -> Result<(KeyMaterial, KeySizeInBits), Error> { in import_key() 166 ) -> Result<KeyMaterial, Error> { in generate_key() 175 fn import_key(&self, data: &[u8], _params: &[keymint::KeyParam]) -> Result<KeyMaterial, Error> { in import_key() 201 ) -> Result<KeyMaterial, Error> { in generate_key() 216 ) -> Result<(KeyMaterial, KeySizeInBits), Error> { in import_key() 251 ) -> Result<KeyMaterial, Error>; in generate_key() 260 ) -> Result<(KeyMaterial, KeySizeInBits, RsaExponent), Error> { in import_pkcs8_key() 305 ) -> Result<KeyMaterial, Error>; in generate_nist_key() 313 ) -> Result<KeyMaterial, Error>; in generate_ed25519_key() [all …]
|
| D | ec.rs | 380 pub fn import_sec1_private_key(data: &[u8]) -> Result<KeyMaterial, Error> { in import_sec1_private_key() 399 pub fn import_pkcs8_key(data: &[u8]) -> Result<KeyMaterial, Error> { in import_pkcs8_key() 406 fn import_pkcs8_key_impl(key_info: &pkcs8::PrivateKeyInfo) -> Result<KeyMaterial, Error> { in import_pkcs8_key_impl() 484 pub fn import_raw_ed25519_key(data: &[u8]) -> Result<KeyMaterial, Error> { in import_raw_ed25519_key() 492 pub fn import_raw_x25519_key(data: &[u8]) -> Result<KeyMaterial, Error> { in import_raw_x25519_key()
|
| D | rsa.rs | 211 pub fn import_pkcs8_key(data: &[u8]) -> Result<(KeyMaterial, KeySizeInBits, RsaExponent), Error> { in import_pkcs8_key() 228 ) -> Result<(KeyMaterial, KeySizeInBits, RsaExponent), Error> { in import_pkcs1_key()
|
| /system/keymint/common/src/ |
| D | crypto.rs | 143 pub enum KeyMaterial { enum 168 impl KeyMaterial { impl 213 impl core::fmt::Debug for KeyMaterial { implementation 230 impl AsCborValue for KeyMaterial { implementation
|
| D | tag.rs | 294 ) -> Result<(Vec<KeyCharacteristics>, KeyMaterial), Error> { in extract_key_import_characteristics() argument 416 ) -> Result<(Vec<KeyParam>, KeyMaterial), Error> { in check_rsa_import_params() argument 533 ) -> Result<(Vec<KeyParam>, KeyMaterial), Error> { in check_ec_import_params() argument 724 ) -> Result<(Vec<KeyParam>, KeyMaterial), Error> { in check_aes_import_params() argument 777 ) -> Result<(Vec<KeyParam>, KeyMaterial), Error> { in check_3des_import_params() argument 806 ) -> Result<(Vec<KeyParam>, KeyMaterial), Error> { in check_hmac_import_params() argument
|
| /system/keymint/ta/src/ |
| D | keys.rs | 219 fn sign_cert_data(&self, signing_key: KeyMaterial, tbs_data: &[u8]) -> Result<Vec<u8>, Error> { in sign_cert_data() 285 ) -> Result<(KeyMaterial, Vec<KeyCharacteristics>), Error> { in generate_key_material() 362 key_material: KeyMaterial, in finish_keyblob_creation()
|
| D | device.rs | 153 fn signing_key(&self, key_type: SigningKeyType) -> Result<KeyMaterial, Error>; in signing_key() 366 fn signing_key(&self, _key_type: SigningKeyType) -> Result<KeyMaterial, Error> { in signing_key()
|
| /system/keymint/boringssl/src/ |
| D | ec.rs | 73 ) -> Result<crypto::KeyMaterial, Error> { in generate_nist_key() 91 ) -> Result<crypto::KeyMaterial, Error> { in generate_ed25519_key() 105 ) -> Result<crypto::KeyMaterial, Error> { in generate_x25519_key()
|
| D | rsa.rs | 55 ) -> Result<crypto::KeyMaterial, Error> { in generate_key()
|