Searched refs:key_data_size (Results 1 – 3 of 3) sorted by relevance
50 size_t key_data_size = key_size_bytes(key_size_bits); in GenerateKey() local51 KeymasterKeyBlob key_material(key_data_size); in GenerateKey()54 error = random_source_.GenerateRandom(key_material.writable_data(), key_data_size); in GenerateKey()
111 int key_data_size = i2d_PrivateKey(pkey, nullptr /* key_data*/); in EvpKeyToKeyMaterial() local112 if (key_data_size <= 0) return TranslateLastOpenSslError(); in EvpKeyToKeyMaterial()114 if (!key_blob->Reset(key_data_size)) return KM_ERROR_MEMORY_ALLOCATION_FAILED; in EvpKeyToKeyMaterial()
119 const void* key_data, size_t key_data_size) { in set_attestation_key_or_cert_bin() argument124 req.key_data.Reinitialize(key_data, key_data_size); in set_attestation_key_or_cert_bin()