Lines Matching refs:SLOGE
347 SLOGE("Keymaster key blob too large"); in keymaster_create_key()
350 SLOGE("Failed to generate keypair"); in keymaster_create_key()
390 SLOGE("Unknown KDF type %d", ftr->kdf_type); in keymaster_sign_object()
410 SLOGE("Failed to upgrade key"); in keymaster_sign_object()
414 SLOGE("Failed to write upgraded key to disk"); in keymaster_sign_object()
485 SLOGE("Cannot open device to get filesystem size "); in get_fs_size()
490 SLOGE("Cannot seek to superblock"); in get_fs_size()
495 SLOGE("Cannot read superblock"); in get_fs_size()
502 SLOGE("Not a valid ext4 superblock"); in get_fs_size()
552 SLOGE("Cannot get size of block device %s\n", real_blkdev.c_str()); in get_crypt_ftr_info()
600 SLOGE("Unable to get crypt_ftr_info\n"); in put_crypt_ftr_and_key()
604 SLOGE("Unexpected value for crypto key location\n"); in put_crypt_ftr_and_key()
608 SLOGE("Cannot open footer file %s for put\n", fname); in put_crypt_ftr_and_key()
614 SLOGE("Cannot seek to real block device footer\n"); in put_crypt_ftr_and_key()
619 SLOGE("Cannot write real block device footer\n"); in put_crypt_ftr_and_key()
627 SLOGE("Cannot set footer file size\n"); in put_crypt_ftr_and_key()
678 SLOGE("Cannot allocate persisent data\n"); in upgrade_crypt_ftr()
685 SLOGE("Cannot seek to persisent data offset\n"); in upgrade_crypt_ftr()
722 SLOGE("Cannot seek to crypt footer\n"); in upgrade_crypt_ftr()
738 SLOGE("Unable to get crypt_ftr_info\n"); in get_crypt_ftr_and_key()
742 SLOGE("Unexpected value for crypto key location\n"); in get_crypt_ftr_and_key()
746 SLOGE("Cannot open footer file %s for get\n", fname); in get_crypt_ftr_and_key()
753 SLOGE("footer file %s is not the expected size!\n", fname); in get_crypt_ftr_and_key()
759 SLOGE("Cannot seek to real block device footer\n"); in get_crypt_ftr_and_key()
764 SLOGE("Cannot read real block device footer\n"); in get_crypt_ftr_and_key()
769 SLOGE("Bad magic for real block device %s\n", fname); in get_crypt_ftr_and_key()
774 SLOGE("Cannot understand major version %d real block device footer; expected %d\n", in get_crypt_ftr_and_key()
784 SLOGE( in get_crypt_ftr_and_key()
814 SLOGE("Crypt_ftr persist data regions overlap"); in validate_persistent_data_storage()
819 SLOGE("Crypt_ftr persist data region 0 starts after region 1"); in validate_persistent_data_storage()
826 SLOGE("Persistent data extends past crypto footer"); in validate_persistent_data_storage()
866 SLOGE("Crypt_ftr version doesn't support persistent data"); in load_persistent_data()
881 SLOGE("Cannot open %s metadata file", fname); in load_persistent_data()
887 SLOGE("Cannot allocate memory for persistent data"); in load_persistent_data()
893 SLOGE("Cannot seek to read persistent data on %s", fname); in load_persistent_data()
897 SLOGE("Error reading persistent data on iteration %d", i); in load_persistent_data()
934 SLOGE("No persistent data to save"); in save_persistent_data()
944 SLOGE("Crypt_ftr version doesn't support persistent data"); in save_persistent_data()
959 SLOGE("Cannot open %s metadata file", fname); in save_persistent_data()
965 SLOGE("Cannot allocate persistant data"); in save_persistent_data()
970 SLOGE("Cannot seek to read persistent data on %s", fname); in save_persistent_data()
975 SLOGE("Error reading persistent data before save"); in save_persistent_data()
993 SLOGE("Cannot seek to write persistent data"); in save_persistent_data()
999 SLOGE("Cannot seek to erase previous persistent data"); in save_persistent_data()
1005 SLOGE("Cannot write to erase previous persistent data"); in save_persistent_data()
1010 SLOGE("Cannot write to save persistent data"); in save_persistent_data()
1061 SLOGE("Invalid value for %s: %s. Must be >= 512, <= 4096, and a power of 2\n", in add_sector_size_param()
1097 SLOGE("Error processing dm-crypt sector size param\n"); in create_crypto_blk_dev()
1113 SLOGE("Cannot load dm-crypt mapping table.\n"); in create_crypto_blk_dev()
1121 SLOGE("Cannot determine dm-crypt path for %s.\n", name); in create_crypto_blk_dev()
1136 SLOGE("Cannot remove dm-crypt device %s: %s\n", name.c_str(), strerror(errno)); in delete_crypto_blk_dev()
1184 SLOGE("scrypt failed"); in scrypt_keymaster()
1189 SLOGE("Signing failed"); in scrypt_keymaster()
1198 SLOGE("scrypt failed"); in scrypt_keymaster()
1219 SLOGE("keymaster_create_key failed"); in encrypt_master_key()
1224 SLOGE("scrypt failed"); in encrypt_master_key()
1231 SLOGE("scrypt failed"); in encrypt_master_key()
1237 SLOGE("Invalid kdf_type"); in encrypt_master_key()
1245 SLOGE("EVP_EncryptInit failed\n"); in encrypt_master_key()
1253 SLOGE("EVP_EncryptUpdate failed\n"); in encrypt_master_key()
1257 SLOGE("EVP_EncryptFinal failed\n"); in encrypt_master_key()
1262 SLOGE("EVP_Encryption length check failed with %d, %d bytes\n", encrypted_len, final_len); in encrypt_master_key()
1280 SLOGE("encrypt_master_key: crypto_scrypt failed"); in encrypt_master_key()
1300 SLOGE("kdf failed"); in decrypt_master_key_aux()
1461 SLOGE("unmounting %s failed: %s\n", mountpoint, strerror(err)); in wait_and_unmount()
1480 SLOGE("waited 15s for vold.post_fs_data_done, still waiting..."); in prep_data_fs()
1489 SLOGE("Failed to get crypto footer - panic"); in cryptfs_set_corrupt()
1495 SLOGE("Failed to set crypto footer - panic"); in cryptfs_set_corrupt()
1502 SLOGE("Failed to mount tmpfs on data - panic"); in cryptfs_trigger_restart_min_framework()
1507 SLOGE("Failed to trigger post fs data - panic"); in cryptfs_trigger_restart_min_framework()
1512 SLOGE("Failed to trigger restart min framework - panic"); in cryptfs_trigger_restart_min_framework()
1525 SLOGE("Encrypted filesystem not validated, aborting"); in cryptfs_restart_internal()
1530 SLOGE("System already restarted with encrypted disk, aborting"); in cryptfs_restart_internal()
1580 SLOGE("fs_crypto_blkdev not set\n"); in cryptfs_restart_internal()
1607 SLOGE("Failed to setexeccon"); in cryptfs_restart_internal()
1626 SLOGE("Failed to mount decrypted data"); in cryptfs_restart_internal()
1631 SLOGE("Failed to setexeccon"); in cryptfs_restart_internal()
1637 SLOGE("Failed to setexeccon"); in cryptfs_restart_internal()
1663 SLOGE("cryptfs_restart not valid for file encryption:"); in cryptfs_restart()
1677 SLOGE("not running with encryption, aborting"); in do_crypto_complete()
1698 SLOGE("master key file does not exist, aborting"); in do_crypto_complete()
1701 SLOGE("Error getting crypt footer and key\n"); in do_crypto_complete()
1708 SLOGE("Encryption process is partway completed\n"); in do_crypto_complete()
1713 SLOGE("Encryption process was interrupted but cannot continue\n"); in do_crypto_complete()
1718 SLOGE("Encryption is successful but data is corrupt\n"); in do_crypto_complete()
1748 SLOGE("Failed to decrypt master key\n"); in test_mount_encrypted_fs()
1760 SLOGE("Error creating decrypted block device\n"); in test_mount_encrypted_fs()
1784 SLOGE("Error temp mounting decrypted block device\n"); in test_mount_encrypted_fs()
1867 SLOGE("Raw keysize %zu does not match crypt keysize %zu", key.size(), in cryptfs_setup_ext_volume()
1873 SLOGE("Failed to get size of %s: %s", real_blkdev, strerror(errno)); in cryptfs_setup_ext_volume()
1900 SLOGE( in check_unmounted_and_get_ftr()
1907 SLOGE("Error getting crypt footer and key"); in check_unmounted_and_get_ftr()
1917 SLOGE("cryptfs_check_passwd not valid for file encryption"); in cryptfs_check_passwd()
1926 SLOGE("Could not get footer"); in cryptfs_check_passwd()
1932 SLOGE("Password did not match"); in cryptfs_check_passwd()
1945 SLOGE("Default password did not match on reboot encryption"); in cryptfs_check_passwd()
1953 SLOGE("Could not change password on reboot encryption"); in cryptfs_check_passwd()
1977 SLOGE("device not encrypted, aborting"); in cryptfs_verify_passwd()
1982 SLOGE("encrypted fs not yet mounted, aborting"); in cryptfs_verify_passwd()
1987 SLOGE("encrypted fs failed to save mount point, aborting"); in cryptfs_verify_passwd()
1992 SLOGE("Error getting crypt footer and key\n"); in cryptfs_verify_passwd()
2039 SLOGE("keymaster_check_compatibility failed"); in cryptfs_init_crypt_mnt_ftr()
2059 SLOGE("Error opening file %s", filename); in cryptfs_SHA256_fileblock()
2066 SLOGE("Error reading file %s", filename); in cryptfs_SHA256_fileblock()
2094 SLOGE("cryptfs_enable: crypto block dev failure. Must reboot...\n"); in cryptfs_enable_all_volumes()
2165 SLOGE("Device is already running encrypted, aborting"); in cryptfs_enable_internal()
2174 SLOGE("Cannot get size of block device %s\n", real_blkdev.c_str()); in cryptfs_enable_internal()
2187 SLOGE("Orig filesystem overlaps crypto footer region. Cannot encrypt in place."); in cryptfs_enable_internal()
2207 SLOGE("Failed to unmount all vold managed devices"); in cryptfs_enable_internal()
2218 SLOGE("Failed to create breadcrumb file"); in cryptfs_enable_internal()
2277 SLOGE("Cannot create encrypted master key\n"); in cryptfs_enable_internal()
2337 SLOGE("Checksums do not match - trigger wipe"); in cryptfs_enable_internal()
2351 SLOGE("Error calculating checksum for continuing encryption"); in cryptfs_enable_internal()
2404 SLOGE("encryption failed - rebooting into recovery to wipe data\n"); in cryptfs_enable_internal()
2409 SLOGE("could not write bootloader message: %s", err.c_str()); in cryptfs_enable_internal()
2435 SLOGE( in cryptfs_enable_internal()
2455 SLOGE("cryptfs_changepw not valid for file encryption"); in cryptfs_changepw()
2464 SLOGE("Key not saved, aborting"); in cryptfs_changepw()
2469 SLOGE("Invalid crypt_type %d", crypt_type); in cryptfs_changepw()
2475 SLOGE("Error getting crypt footer and key"); in cryptfs_changepw()
2484 SLOGE("Encrypt master key failed: %d", rc); in cryptfs_changepw()
2651 SLOGE("Cannot get field when file encrypted"); in cryptfs_getfield()
2668 SLOGE("Getfield error, cannot load persistent data"); in cryptfs_getfield()
2716 SLOGE("Cannot set field when file encrypted"); in cryptfs_setfield()
2732 SLOGE("Setfield error, cannot load persistent data"); in cryptfs_setfield()
2774 SLOGE("persist_set_key() error during setfield()"); in cryptfs_setfield()
2783 SLOGE("persist_set_key() error during setfield()"); in cryptfs_setfield()
2791 SLOGE("Setfield error, cannot save persistent data"); in cryptfs_setfield()
2810 SLOGE("Bad crypt type - error"); in cryptfs_mount_default_encrypted()
2822 SLOGE("Encrypted, default crypt type but can't decrypt"); in cryptfs_mount_default_encrypted()
2836 SLOGE("cryptfs_get_password_type not valid for file encryption"); in cryptfs_get_password_type()
2843 SLOGE("Error getting crypt footer and key\n"); in cryptfs_get_password_type()
2856 SLOGE("cryptfs_get_password not valid for file encryption"); in cryptfs_get_password()