Home
last modified time | relevance | path

Searched refs:keysize (Results 1 – 5 of 5) sorted by relevance

/system/vold/
DCryptoType.h40 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()
DKeyUtil.h35 size_t keysize; member
Dcryptfs.cpp175 __le32 keysize; /* in bytes */ member
865 if ((crypt_ftr->keysize == 0) || ((crypt_ftr->keysize % 16) != 0) || in get_crypt_ftr_and_key()
866 (crypt_ftr->keysize > MAX_KEY_LEN)) { in get_crypt_ftr_and_key()
870 crypt_ftr->keysize, fname, MAX_KEY_LEN); in get_crypt_ftr_and_key()
1112 static void convert_key_to_hex_ascii(const unsigned char* master_key, unsigned int keysize, in convert_key_to_hex_ascii() argument
1117 for (i = 0, a = 0; i < keysize; i++, a += 2) { in convert_key_to_hex_ascii()
1169 convert_key_to_hex_ascii(master_key, crypt_ftr->keysize, master_key_ascii); in create_crypto_blk_dev()
1348 crypt_ftr->keysize)) { in encrypt_master_key()
1357 if (encrypted_len + final_len != static_cast<int>(crypt_ftr->keysize)) { in encrypt_master_key()
1385 const unsigned char* encrypted_master_key, size_t keysize, in decrypt_master_key_aux() argument
[all …]
DKeyUtil.cpp56 if (gen.keysize != FSCRYPT_MAX_KEY_SIZE) { in generateStorageKey()
57 LOG(ERROR) << "Cannot generate a wrapped key " << gen.keysize << " bytes long"; in generateStorageKey()
64 return randomKey(gen.keysize, key); in generateStorageKey()
/system/update_engine/payload_consumer/
Dpayload_verifier.cc207 unsigned int keysize = RSA_size(rsa); in GetRawHashFromSignature() local
208 if (sig_data.size() > 2 * keysize) { in GetRawHashFromSignature()
214 brillo::Blob hash_data(keysize); in GetRawHashFromSignature()