Searched refs:encrypted (Results 1 - 3 of 3) sorted by relevance

/system/core/fs_mgr/
H A Dfs_mgr.c576 int encrypted = 0; local
622 /* mount(2) returned an error, check if it's encrypted and deal with it */
630 ERROR("Cannot mount tmpfs filesystem for encrypted fs at %s\n",
634 encrypted = 1;
642 if (encrypted) {
/system/vold/
H A Dcryptfs.c18 * 1. Perhaps keep several copies of the encrypted key, in case something
205 /* If it's an encrypted Android partition, the last 16 Kbytes contain the
483 /* If not encrypted, just allocate an empty table and initialize it */
485 if (strcmp(encrypted_state, "encrypted") ) {
1087 SLOGE("System already restarted with encrypted disk, aborting");
1096 * to umount the tmpfs /data, then mount the encrypted /data.
1160 if (strcmp(encrypted_state, "encrypted") ) {
1170 * If the device was never encrypted, and /data is not mountable for
1209 if ( master_key_saved || strcmp(encrypted_state, "encrypted") ) {
1210 SLOGE("encrypted f
1962 persist_set_key(char *fieldname, char *value, int encrypted) argument
2051 int encrypted = 0; local
[all...]
/system/security/keystore/
H A Dkeystore.cpp65 * values are encrypted with checksums. The encryption key is protected by a
395 uint8_t encrypted[0]; // Marks offset to encrypted data. member in struct:blob
398 int32_t length; // in network byte order when encrypted
465 void setEncrypted(bool encrypted) { argument
466 if (encrypted) {
501 ALOGD("couldn't insert encrypted blob while not unlocked");
516 // encrypted data includes the digest value
519 memmove(&mBlob.encrypted[encryptedLength], &mBlob.value[mBlob.length], mBlob.info);
530 AES_cbc_encrypt(mBlob.encrypted, mBlo
[all...]

Completed in 261 milliseconds