Searched refs:privateLen (Results 1 – 1 of 1) sorted by relevance
176 long privateLen = 0; in ParseOldSoftkeymasterBlob() local182 sizeof(SOFT_KEY_MAGIC) + sizeof(type) + sizeof(publicLen) + 1 + sizeof(privateLen) + 1; in ParseOldSoftkeymasterBlob()210 privateLen = (privateLen << 8) | *p++; in ParseOldSoftkeymasterBlob()212 if (p + privateLen > end) { in ParseOldSoftkeymasterBlob()213 LOG_W("private key length encoding error: size=%ld, end=%td", privateLen, end - p); in ParseOldSoftkeymasterBlob()220 EVP_PKEY_Ptr pkey(d2i_PrivateKey(type, nullptr, &p, privateLen)); in ParseOldSoftkeymasterBlob()233 if (!key_material->Reset(privateLen)) in ParseOldSoftkeymasterBlob()235 memcpy(key_material->writable_data(), key_start, privateLen); in ParseOldSoftkeymasterBlob()