Lines Matching refs:key
55 TPM_KEY key = TPM_KEY_INIT; in do_provision_aik() local
71 &key, &identityBindingSize, &identityBinding); in do_provision_aik()
81 if (key.pubKey.keyLength != 256) in do_provision_aik()
83 if (key.encDataSize != 256) in do_provision_aik()
89 key.pubKey.keyLength, key.encDataSize, identityBindingSize); in do_provision_aik()
91 memcpy(group->id_data.tpm_aik_public, key.pubKey.key, 256); in do_provision_aik()
92 memcpy(group->id_data.tpm_aik_edata, key.encData, 256); in do_provision_aik()
96 free_TPM_KEY(&key); in do_provision_aik()
104 TPM_KEY key = { in do_load_aik() local
123 .pubKey.key = group->id_data.tpm_aik_public, in do_load_aik()
128 …return TPM_LoadKey(TPM_SRK_KEYHANDLE, &key, handle, (void*)&vtpm_globals.srk_auth, &vtpm_globals.o… in do_load_aik()