Home
last modified time | relevance | path

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

/system/vold/
Dcryptfs.cpp1284 int encrypted_len, final_len; in encrypt_master_key() local
1330 if (!EVP_EncryptFinal_ex(&e_ctx, encrypted_master_key + encrypted_len, &final_len)) { in encrypt_master_key()
1335 if (encrypted_len + final_len != static_cast<int>(crypt_ftr->keysize)) { in encrypt_master_key()
1336 SLOGE("EVP_Encryption length check failed with %d, %d bytes\n", encrypted_len, final_len); in encrypt_master_key()
1369 int decrypted_len, final_len; in decrypt_master_key_aux() local
1390 if (!EVP_DecryptFinal_ex(&d_ctx, decrypted_master_key + decrypted_len, &final_len)) { in decrypt_master_key_aux()
1394 if (decrypted_len + final_len != static_cast<int>(keysize)) { in decrypt_master_key_aux()