Lines Matching refs:INDEX1
26 #define INDEX1 0xda71 macro
195 TPM_CHECK(tpm_nv_read_value(dev, INDEX1, (uint8_t *)&x, sizeof(x))); in test_global_lock()
196 TPM_CHECK(tpm_nv_write_value(dev, INDEX1, (uint8_t *)&zero, in test_global_lock()
207 TPM_CHECK(tpm_nv_write_value(dev, INDEX1, (uint8_t *)&x, sizeof(x))); in test_global_lock()
208 TPM_CHECK(tpm_nv_read_value(dev, INDEX1, (uint8_t *)&x, sizeof(x))); in test_global_lock()
214 result = tpm_nv_write_value(dev, INDEX1, (uint8_t *)&x, sizeof(x)); in test_global_lock()
216 TPM_CHECK(tpm_nv_read_value(dev, INDEX1, (uint8_t *)&x, sizeof(x))); in test_global_lock()
244 tpm_nv_define_space(dev, INDEX1, perm, 4); in initialise_spaces()
245 tpm_nv_write_value(dev, INDEX1, (uint8_t *)&zero, 4); in initialise_spaces()
278 read1 = tpm_nv_read_value(dev, INDEX1, (uint8_t *)&index_1, in test_readonly()
324 TPM_CHECK(tpm_nv_read_value(dev, INDEX1, (uint8_t *)&x, sizeof(x))); in test_redefine_unowned()
331 TPM_CHECK(tpm_nv_define_space(dev, INDEX1, perm, 2 * sizeof(uint32_t))); in test_redefine_unowned()
332 TPM_CHECK(tpm_nv_define_space(dev, INDEX1, perm, sizeof(uint32_t))); in test_redefine_unowned()
342 TPM_CHECK(tpm_nv_define_space(dev, INDEX1, perm, 2 * sizeof(uint32_t))); in test_redefine_unowned()
343 TPM_CHECK(tpm_nv_define_space(dev, INDEX1, perm, sizeof(uint32_t))); in test_redefine_unowned()
351 result = tpm_nv_define_space(dev, INDEX1, perm, sizeof(uint32_t)); in test_redefine_unowned()
372 TPM_CHECK(tpm_get_permissions(dev, INDEX1, &perm)); in test_space_perm()