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

/system/vold/
H A DMetadataCrypt.cpp140 const std::string& target_type, const KeyBuffer& crypt_params,
166 size_t nullix = paramix + crypt_params.size();
170 LOG(ERROR) << "crypt_params too big for DM_CRYPT_BUF_SIZE";
180 memcpy(buffer + paramix, crypt_params.data(),
181 std::min(crypt_params.size(), sizeof(buffer) - paramix));
139 create_crypto_blk_dev(const std::string& dm_name, uint64_t nr_sec, const std::string& target_type, const KeyBuffer& crypt_params, std::string* crypto_blkdev) argument
H A Dcryptfs.cpp990 char *crypt_params; local
1009 crypt_params = buffer + sizeof(struct dm_ioctl) + sizeof(struct dm_target_spec);
1012 buff_offset = crypt_params - buffer;
1014 snprintf(crypt_params, sizeof(buffer) - buff_offset, "%s %s 0 %s 0 %s",
1017 crypt_params += strlen(crypt_params) + 1;
1018 crypt_params = (char *) (((unsigned long)crypt_params + 7) & ~8); /* Align to an 8 byte boundary */
1019 tgt->next = crypt_params - buffer;

Completed in 55 milliseconds