Home
last modified time | relevance | path

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

/system/vold/
Dcryptfs.cpp1210 int encrypted_len, final_len; in encrypt_master_key() local
1256 if (!EVP_EncryptFinal_ex(&e_ctx, encrypted_master_key + encrypted_len, &final_len)) { in encrypt_master_key()
1261 if (encrypted_len + final_len != static_cast<int>(crypt_ftr->keysize)) { in encrypt_master_key()
1262 SLOGE("EVP_Encryption length check failed with %d, %d bytes\n", encrypted_len, final_len); in encrypt_master_key()
1295 int decrypted_len, final_len; in decrypt_master_key_aux() local
1316 if (!EVP_DecryptFinal_ex(&d_ctx, decrypted_master_key + decrypted_len, &final_len)) { in decrypt_master_key_aux()
1320 if (decrypted_len + final_len != static_cast<int>(keysize)) { in decrypt_master_key_aux()