Home
last modified time | relevance | path

Searched refs:unwrap_keyblob (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/system/security/keystore2/src/
H A Dkm_compat.rs102 pub fn unwrap_keyblob(keyblob: &[u8]) -> KeyBlob { in unwrap_keyblob() function
285 match unwrap_keyblob(keyblob_to_upgrade) { in upgradeKey()
295 match unwrap_keyblob(keyblob) { in deleteKey()
311 match unwrap_keyblob(keyblob) { in begin()
322 match unwrap_keyblob(keyblob) { in getKeyCharacteristics()
424 assert_eq!(unwrap_keyblob(&keyblob), KeyBlob::Raw(&keyblob)); in test_wrap_keyblob()
425 assert_eq!(unwrap_keyblob(&wrapped), KeyBlob::Wrapped(&keyblob)); in test_wrap_keyblob()
429 assert_eq!(unwrap_keyblob(&corrupt_prefix), KeyBlob::Raw(&corrupt_prefix)); in test_wrap_keyblob()
433 assert_eq!(unwrap_keyblob(&corrupt_suffix), KeyBlob::Raw(&corrupt_suffix)); in test_wrap_keyblob()
436 assert_eq!(unwrap_keyblob(too_short), KeyBlob::Raw(too_short)); in test_wrap_keyblob()
H A Dutils.rs419 km_compat::unwrap_keyblob(key_blob), in upgrade_keyblob_if_required_with()