Home
last modified time | relevance | path

Searched refs:key_blob_size (Results 1 – 3 of 3) sorted by relevance

/system/keymaster/android_keymaster/
Dandroid_keymaster_messages.cpp32 static size_t key_blob_size(const keymaster_key_blob_t& key_blob) { in key_blob_size() function
98 return key_blob_size(key_blob) + enforced.SerializedSize() + unenforced.SerializedSize(); in NonErrorSerializedSize()
121 return key_blob_size(key_blob) + additional_params.SerializedSize(); in SerializedSize()
153 return sizeof(uint32_t) /* purpose */ + key_blob_size(key_blob) + in SerializedSize()
359 return key_blob_size(key_blob) + enforced.SerializedSize() + unenforced.SerializedSize(); in NonErrorSerializedSize()
379 key_blob_size(key_blob); in SerializedSize()
423 return key_blob_size(key_blob); in SerializedSize()
469 return key_blob_size(key_blob) + attest_params.SerializedSize(); in SerializedSize()
553 return key_blob_size(key_blob) + upgrade_params.SerializedSize(); in SerializedSize()
571 return key_blob_size(upgraded_key); in NonErrorSerializedSize()
[all …]
/system/vold/
DKeymaster.h170 size_t key_blob_size, uint8_t* key_buffer,
174 const uint8_t* key_blob, size_t key_blob_size, uint32_t ratelimit, const uint8_t* object,
DKeymaster.cpp307 size_t key_blob_size, uint8_t* key_buffer, in keymaster_upgrade_key_for_cryptfs_scrypt() argument
317 std::string old_key(reinterpret_cast<const char*>(key_blob), key_blob_size); in keymaster_upgrade_key_for_cryptfs_scrypt()
326 const uint8_t* key_blob, size_t key_blob_size, uint32_t ratelimit, const uint8_t* object, in keymaster_sign_object_for_cryptfs_scrypt() argument
339 std::string key(reinterpret_cast<const char*>(key_blob), key_blob_size); in keymaster_sign_object_for_cryptfs_scrypt()