Searched refs:final_len (Results 1 – 1 of 1) sorted by relevance
1080 int encrypted_len, final_len; in encrypt_master_key() local1125 if (! EVP_EncryptFinal_ex(&e_ctx, encrypted_master_key + encrypted_len, &final_len)) { in encrypt_master_key()1130 if (encrypted_len + final_len != KEY_LEN_BYTES) { in encrypt_master_key()1131 SLOGE("EVP_Encryption length check failed with %d, %d bytes\n", encrypted_len, final_len); in encrypt_master_key()1167 int decrypted_len, final_len; in decrypt_master_key_aux() local1187 if (! EVP_DecryptFinal_ex(&d_ctx, decrypted_master_key + decrypted_len, &final_len)) { in decrypt_master_key_aux()1191 if (decrypted_len + final_len != KEY_LEN_BYTES) { in decrypt_master_key_aux()