Home
last modified time | relevance | path

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

/system/vold/
Dcryptfs.c3296 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/
Dkeystore.cpp489 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/
Dsmp_keys.c962 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/
Dinit.rc365 # must uncomment this line, otherwise encrypted filesystems
623 # One shot invocation to deal with encrypted volume.