Searched refs:fake_device_key (Results 1 – 1 of 1) sorted by relevance
/trusty/user/app/sample/hwcrypto/ |
D | hwkey_srv_fake_provider.c | 50 static uint8_t fake_device_key[32] = "this is a fake unique device key"; variable 121 if (!HKDF(key_buf, key_len, EVP_sha256(), (const uint8_t*)fake_device_key, in derive_key_v1() 122 sizeof(fake_device_key), (const uint8_t*)uuid, sizeof(uuid_t), in derive_key_v1() 256 secret_key = fake_device_key; in root_of_trust_derive_key() 257 secret_key_len = sizeof(fake_device_key); in root_of_trust_derive_key() 549 rc = EVP_EncryptInit_ex(&evp, EVP_aes_256_cbc(), NULL, fake_device_key, in get_rpmb_ss_auth_key()
|