Home
last modified time | relevance | path

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

/system/update_engine/payload_consumer/
Dpayload_verifier.cc108 unsigned int keysize = RSA_size(rsa); in GetRawHashFromSignature() local
109 if (sig_data.size() > 2 * keysize) { in GetRawHashFromSignature()
116 brillo::Blob hash_data(keysize); in GetRawHashFromSignature()
/system/vold/
Dcryptfs.cpp287 return CryptoType(property, this->crypto_name, this->keysize); in set_property_name()
290 return CryptoType(this->property_name, crypto, this->keysize); in set_crypto_name()
295 constexpr uint32_t get_keysize() const { return keysize; } in get_keysize()
300 uint32_t keysize; member
303 : property_name(property), crypto_name(crypto), keysize(ksize) {} in CryptoType()
711 if ((crypt_ftr->keysize == 0) || ((crypt_ftr->keysize % 16) != 0) || in get_crypt_ftr_and_key()
712 (crypt_ftr->keysize > MAX_KEY_LEN)) { in get_crypt_ftr_and_key()
716 crypt_ftr->keysize, fname, MAX_KEY_LEN); in get_crypt_ftr_and_key()
958 static void convert_key_to_hex_ascii(const unsigned char* master_key, unsigned int keysize, in convert_key_to_hex_ascii() argument
963 for (i = 0, a = 0; i < keysize; i++, a += 2) { in convert_key_to_hex_ascii()
[all …]
Dcryptfs.h114 __le32 keysize; /* in bytes */ member