Lines Matching refs:INDEX1
24 #define INDEX1 0xda71 macro
208 TPM_CHECK(tpm_nv_read_value(INDEX1, (uint8_t *)&x, sizeof(x))); in test_global_lock()
209 TPM_CHECK(tpm_nv_write_value(INDEX1, (uint8_t *)&zero, in test_global_lock()
220 TPM_CHECK(tpm_nv_write_value(INDEX1, (uint8_t *)&x, sizeof(x))); in test_global_lock()
221 TPM_CHECK(tpm_nv_read_value(INDEX1, (uint8_t *)&x, sizeof(x))); in test_global_lock()
227 result = tpm_nv_write_value(INDEX1, (uint8_t *)&x, sizeof(x)); in test_global_lock()
229 TPM_CHECK(tpm_nv_read_value(INDEX1, (uint8_t *)&x, sizeof(x))); in test_global_lock()
257 tpm_nv_define_space(INDEX1, perm, 4); in initialise_spaces()
258 tpm_nv_write_value(INDEX1, (uint8_t *)&zero, 4); in initialise_spaces()
290 read1 = tpm_nv_read_value(INDEX1, (uint8_t *)&index_1, sizeof(index_1)); in test_readonly()
331 TPM_CHECK(tpm_nv_read_value(INDEX1, (uint8_t *)&x, sizeof(x))); in test_redefine_unowned()
338 TPM_CHECK(tpm_nv_define_space(INDEX1, perm, 2 * sizeof(uint32_t))); in test_redefine_unowned()
339 TPM_CHECK(tpm_nv_define_space(INDEX1, perm, sizeof(uint32_t))); in test_redefine_unowned()
349 TPM_CHECK(tpm_nv_define_space(INDEX1, perm, 2 * sizeof(uint32_t))); in test_redefine_unowned()
350 TPM_CHECK(tpm_nv_define_space(INDEX1, perm, sizeof(uint32_t))); in test_redefine_unowned()
358 result = tpm_nv_define_space(INDEX1, perm, sizeof(uint32_t)); in test_redefine_unowned()
379 TPM_CHECK(tpm_get_permissions(INDEX1, &perm)); in test_space_perm()