Home
last modified time | relevance | path

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

/system/keymaster/key_blob_utils/
Dsoftware_keyblobs.cpp164 static const uint8_t SOFT_KEY_MAGIC[] = {'P', 'K', '#', '8'}; variable
176 sizeof(SOFT_KEY_MAGIC) + sizeof(type) + sizeof(publicLen) + 1 + sizeof(privateLen) + 1; in ParseOldSoftkeymasterBlob()
182 if (memcmp(p, SOFT_KEY_MAGIC, sizeof(SOFT_KEY_MAGIC)) != 0) return KM_ERROR_INVALID_KEY_BLOB; in ParseOldSoftkeymasterBlob()
183 p += sizeof(SOFT_KEY_MAGIC); in ParseOldSoftkeymasterBlob()