Home
last modified time | relevance | path

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

/system/vold/
Dcryptfs.c564 int encrypted_len, final_len; in encrypt_master_key() local
582 if (! EVP_EncryptFinal(&e_ctx, encrypted_master_key + encrypted_len, &final_len)) { in encrypt_master_key()
587 if (encrypted_len + final_len != KEY_LEN_BYTES) { in encrypt_master_key()
588 SLOGE("EVP_Encryption length check failed with %d, %d bytes\n", encrypted_len, final_len); in encrypt_master_key()
601 int decrypted_len, final_len; in decrypt_master_key() local
616 if (! EVP_DecryptFinal(&d_ctx, decrypted_master_key + decrypted_len, &final_len)) { in decrypt_master_key()
620 if (decrypted_len + final_len != KEY_LEN_BYTES) { in decrypt_master_key()
632 int encrypted_len, final_len; in create_encrypted_random_key() local