Searched refs:InvalidKeyBlob (Results 1 – 11 of 11) sorted by relevance
/system/keymint/common/src/keyblob/ |
D | sdd_mem.rs | 66 return Err(km_err!(InvalidKeyBlob, "slot idx out of bounds")); in get_secret() 70 None => Err(km_err!(InvalidKeyBlob, "slot idx empty")), in get_secret() 77 None => Err(km_err!(InvalidKeyBlob, "slot idx empty")), in delete_secret()
|
D | legacy.rs | 120 x => return Err(km_err!(InvalidKeyBlob, "unexpected blob format {}", x)), in deserialize() 138 _ => return Err(km_err!(InvalidKeyBlob, "unexpected remaining length {}", data.len())), in deserialize() 200 return Err(km_err!(InvalidKeyBlob, "blob not long enough (len = {})", data.len())); in deserialize() 207 return Err(km_err!(InvalidKeyBlob, "invalid key blob")); in deserialize() 212 return Err(km_err!(InvalidKeyBlob, "unexpected blob version {}", version)); in deserialize() 221 return Err(km_err!(InvalidKeyBlob, "extra data (len {})", rest.len())); in deserialize()
|
/system/keymint/boringssl/src/ |
D | err.rs | 50 | ffi::EVP_R_MISSING_PARAMETERS => ErrorCode::InvalidKeyBlob, in translate_evp_error() 77 ffi::CIPHER_R_INVALID_KEY_LENGTH => ErrorCode::InvalidKeyBlob, in translate_cipher_error() 88 ErrorCode::InvalidKeyBlob in translate_pkcs8_error()
|
/system/keymint/common/src/tag/ |
D | legacy.rs | 22 None => Err(km_err!(InvalidKeyBlob, "failed to find 1 byte")), in consume_u8() 34 Err(km_err!(InvalidKeyBlob, "bool value other than 1 encountered")) in consume_bool() 41 return Err(km_err!(InvalidKeyBlob, "failed to find 4 bytes")); in consume_u32() 51 return Err(km_err!(InvalidKeyBlob, "failed to find 4 bytes")); in consume_i32() 61 return Err(km_err!(InvalidKeyBlob, "failed to find 8 bytes")); in consume_u64() 71 return Err(km_err!(InvalidKeyBlob, "failed to find 8 bytes")); in consume_i64() 83 return Err(km_err!(InvalidKeyBlob, "failed to find {} bytes", len)); in consume_vec() 264 InvalidKeyBlob, in consume_blob() 272 InvalidKeyBlob, in consume_blob() 301 InvalidKeyBlob, in deserialize() [all …]
|
D | info.rs | 1152 return Err(km_err!(InvalidKeyBlob, "duplicate value for {:?}", tag)); in add()
|
/system/keymint/common/src/ |
D | keyblob.rs | 50 .map_err(|e| km_err!(InvalidKeyBlob, "failed to parse keyblob: {:?}", e)) in new() 405 InvalidKeyBlob, in decrypt() 440 &op.finish().map_err(|e| km_err!(InvalidKeyBlob, "failed to decrypt keyblob: {:?}", e))?, in decrypt()
|
D | tag.rs | 142 km_err!(InvalidKeyBlob, "tag {:?} is not a valid key characteristic", tag,), in characteristics_valid() 219 return Err(km_err!(InvalidKeyBlob, "multiple key characteristics at {:?}", sec_level)); in characteristics_at() 223 km_err!(InvalidKeyBlob, "no parameters at security level {:?} found", sec_level) in characteristics_at()
|
/system/keymint/ta/src/ |
D | operation.rs | 120 return Err(km_err!(InvalidKeyBlob, "duplicate UserAuthType tag found")); in new() 127 return Err(km_err!(InvalidKeyBlob, "duplicate AuthTimeout tag found")); in new() 139 Err(km_err!(InvalidKeyBlob, "found both NO_AUTH_REQUIRED and USER_SECURE_ID")) in new() 639 InvalidKeyBlob, in check_begin_auths()
|
D | rkp.rs | 155 _ => return Err(km_err!(InvalidKeyBlob, "expected key material of type variant EC.")), in generate_ecdsa_p256_keypair()
|
D | lib.rs | 388 InvalidKeyBlob, in keyblob_parse_decrypt()
|
/system/keymint/wire/src/ |
D | keymint.rs | 202 InvalidKeyBlob = -33, enumerator
|