Searched refs:keysize (Results 1 – 5 of 5) sorted by relevance
/system/vold/ |
D | CryptoType.h | 40 return CryptoType(property, this->kernel_name, this->keysize); in set_config_name() 43 return CryptoType(this->config_name, crypto, this->keysize); in set_kernel_name() 48 constexpr size_t get_keysize() const { return keysize; } in get_keysize() 53 size_t keysize; member 56 : config_name(property), kernel_name(crypto), keysize(ksize) {} in CryptoType()
|
D | KeyUtil.h | 35 size_t keysize; member
|
D | cryptfs.cpp | 170 __le32 keysize; /* in bytes */ member 782 if ((crypt_ftr->keysize == 0) || ((crypt_ftr->keysize % 16) != 0) || in get_crypt_ftr_and_key() 783 (crypt_ftr->keysize > MAX_KEY_LEN)) { in get_crypt_ftr_and_key() 787 crypt_ftr->keysize, fname, MAX_KEY_LEN); in get_crypt_ftr_and_key() 1029 static void convert_key_to_hex_ascii(const unsigned char* master_key, unsigned int keysize, in convert_key_to_hex_ascii() argument 1034 for (i = 0, a = 0; i < keysize; i++, a += 2) { in convert_key_to_hex_ascii() 1086 convert_key_to_hex_ascii(master_key, crypt_ftr->keysize, master_key_ascii); in create_crypto_blk_dev() 1252 crypt_ftr->keysize)) { in encrypt_master_key() 1261 if (encrypted_len + final_len != static_cast<int>(crypt_ftr->keysize)) { in encrypt_master_key() 1289 const unsigned char* encrypted_master_key, size_t keysize, in decrypt_master_key_aux() argument [all …]
|
D | KeyUtil.cpp | 56 if (gen.keysize != FSCRYPT_MAX_KEY_SIZE) { in generateStorageKey() 57 LOG(ERROR) << "Cannot generate a wrapped key " << gen.keysize << " bytes long"; in generateStorageKey() 62 return randomKey(gen.keysize, key); in generateStorageKey()
|
/system/update_engine/payload_consumer/ |
D | payload_verifier.cc | 209 unsigned int keysize = RSA_size(rsa); in GetRawHashFromSignature() local 210 if (sig_data.size() > 2 * keysize) { in GetRawHashFromSignature() 216 brillo::Blob hash_data(keysize); in GetRawHashFromSignature()
|