Home
last modified time | relevance | path

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

/system/vold/
DMetadataCrypt.cpp186 const std::string& target_type, const KeyBuffer& crypt_params, in create_crypto_blk_dev() argument
212 size_t nullix = paramix + crypt_params.size(); in create_crypto_blk_dev()
226 memcpy(buffer + paramix, crypt_params.data(), in create_crypto_blk_dev()
227 std::min(crypt_params.size(), sizeof(buffer) - paramix)); in create_crypto_blk_dev()
Dcryptfs.cpp982 char* crypt_params; in load_crypto_mapping_table() local
1001 crypt_params = buffer + sizeof(struct dm_ioctl) + sizeof(struct dm_target_spec); in load_crypto_mapping_table()
1004 buff_offset = crypt_params - buffer; in load_crypto_mapping_table()
1009 snprintf(crypt_params, sizeof(buffer) - buff_offset, "%s %s 0 %s 0 %s", in load_crypto_mapping_table()
1011 crypt_params += strlen(crypt_params) + 1; in load_crypto_mapping_table()
1012 crypt_params = in load_crypto_mapping_table()
1013 (char*)(((unsigned long)crypt_params + 7) & ~8); /* Align to an 8 byte boundary */ in load_crypto_mapping_table()
1014 tgt->next = crypt_params - buffer; in load_crypto_mapping_table()