Searched refs:encrypted (Results 1 – 4 of 4) sorted by relevance
/system/vold/ |
D | cryptfs.c | 3296 static unsigned int persist_get_max_entries(int encrypted) { argument 3304 if (encrypted) { 3337 static int persist_set_key(const char *fieldname, const char *value, int encrypted) argument 3347 max_persistent_entries = persist_get_max_entries(encrypted); 3536 int encrypted = 0; local 3552 encrypted = 1; 3576 persist_get_max_entries(encrypted)) { 3585 if (persist_set_key(fieldname, value, encrypted)) { 3594 if (persist_set_key(temp_field, value + field_id * (PROPERTY_VALUE_MAX - 1), encrypted)) { 3602 if (encrypted) {
|
/system/security/keystore/ |
D | keystore.cpp | 489 uint8_t encrypted[0]; // Marks offset to encrypted data. member 571 void setEncrypted(bool encrypted) { in setEncrypted() argument 572 if (encrypted) { in setEncrypted() 625 memmove(&mBlob.encrypted[encryptedLength], &mBlob.value[mBlob.length], mBlob.info); in writeBlob() 636 AES_cbc_encrypt(mBlob.encrypted, mBlob.encrypted, encryptedLength, in writeBlob() 640 size_t headerLength = (mBlob.encrypted - (uint8_t*) &mBlob); in writeBlob() 688 size_t headerLength = (mBlob.encrypted - (uint8_t*) &mBlob); in readBlob() 704 AES_cbc_encrypt(mBlob.encrypted, mBlob.encrypted, encryptedLength, aes_key, in readBlob()
|
/system/bt/stack/smp/ |
D | smp_keys.c | 962 BOOLEAN encrypted; in smp_calculate_legacy_short_term_key() local 964 encrypted = SMP_Encrypt( p_cb->tk, BT_OCTET16_LEN, ptext, BT_OCTET16_LEN, output); in smp_calculate_legacy_short_term_key() 965 if (!encrypted) in smp_calculate_legacy_short_term_key() 969 return encrypted; in smp_calculate_legacy_short_term_key()
|
/system/core/rootdir/ |
D | init.rc | 365 # must uncomment this line, otherwise encrypted filesystems 623 # One shot invocation to deal with encrypted volume.
|