Home
last modified time | relevance | path

Searched refs:InvalidKeyBlob (Results 1 – 11 of 11) sorted by relevance

/system/keymint/common/src/keyblob/
Dsdd_mem.rs66 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()
Dlegacy.rs120 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/
Derr.rs50 | 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/
Dlegacy.rs22 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 …]
Dinfo.rs1152 return Err(km_err!(InvalidKeyBlob, "duplicate value for {:?}", tag)); in add()
/system/keymint/common/src/
Dkeyblob.rs50 .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()
Dtag.rs142 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/
Doperation.rs120 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()
Drkp.rs155 _ => return Err(km_err!(InvalidKeyBlob, "expected key material of type variant EC.")), in generate_ecdsa_p256_keypair()
Dlib.rs388 InvalidKeyBlob, in keyblob_parse_decrypt()
/system/keymint/wire/src/
Dkeymint.rs202 InvalidKeyBlob = -33, enumerator