Lines Matching refs:INDEX1
25 #define INDEX1 0xda71 macro
209 TPM_CHECK(tpm_nv_read_value(INDEX1, (uint8_t *)&x, sizeof(x))); in test_global_lock()
210 TPM_CHECK(tpm_nv_write_value(INDEX1, (uint8_t *)&zero, in test_global_lock()
221 TPM_CHECK(tpm_nv_write_value(INDEX1, (uint8_t *)&x, sizeof(x))); in test_global_lock()
222 TPM_CHECK(tpm_nv_read_value(INDEX1, (uint8_t *)&x, sizeof(x))); in test_global_lock()
228 result = tpm_nv_write_value(INDEX1, (uint8_t *)&x, sizeof(x)); in test_global_lock()
230 TPM_CHECK(tpm_nv_read_value(INDEX1, (uint8_t *)&x, sizeof(x))); in test_global_lock()
258 tpm_nv_define_space(INDEX1, perm, 4); in initialise_spaces()
259 tpm_nv_write_value(INDEX1, (uint8_t *)&zero, 4); in initialise_spaces()
291 read1 = tpm_nv_read_value(INDEX1, (uint8_t *)&index_1, sizeof(index_1)); in test_readonly()
332 TPM_CHECK(tpm_nv_read_value(INDEX1, (uint8_t *)&x, sizeof(x))); in test_redefine_unowned()
339 TPM_CHECK(tpm_nv_define_space(INDEX1, perm, 2 * sizeof(uint32_t))); in test_redefine_unowned()
340 TPM_CHECK(tpm_nv_define_space(INDEX1, perm, sizeof(uint32_t))); in test_redefine_unowned()
350 TPM_CHECK(tpm_nv_define_space(INDEX1, perm, 2 * sizeof(uint32_t))); in test_redefine_unowned()
351 TPM_CHECK(tpm_nv_define_space(INDEX1, perm, sizeof(uint32_t))); in test_redefine_unowned()
359 result = tpm_nv_define_space(INDEX1, perm, sizeof(uint32_t)); in test_redefine_unowned()
380 TPM_CHECK(tpm_get_permissions(INDEX1, &perm)); in test_space_perm()