Lines Matching defs:iv
253 // If decrypting the first block in a file, read the iv from the manifest
254 // or derive the iv from the file's sequence number.
256 AString iv;
257 if (itemMeta->findString("cipher-iv", &iv)) {
258 if ((!iv.startsWith("0x") && !iv.startsWith("0X"))
259 || iv.size() != 16 * 2 + 2) {
260 ALOGE("malformed cipher IV '%s'.", iv.c_str());
266 char c1 = tolower(iv.c_str()[2 + 2 * i]);
267 char c2 = tolower(iv.c_str()[3 + 2 * i]);
269 ALOGE("malformed cipher IV '%s'.", iv.c_str());