Lines Matching refs:tpm_nv_write_value
70 return tpm_nv_write_value(INDEX0, (uint8_t *)&x, 0); in tpm_set_global_lock()
77 return tpm_nv_write_value(index, NULL, 0); in tpm_nv_write_value_lock()
134 TPM_CHECK(tpm_nv_write_value(INDEX0, (uint8_t *)&x, sizeof(x))); in test_early_nvram2()
206 TPM_CHECK(tpm_nv_write_value(INDEX0, (uint8_t *)&zero, in test_global_lock()
209 TPM_CHECK(tpm_nv_write_value(INDEX1, (uint8_t *)&zero, in test_global_lock()
214 result = tpm_nv_write_value(INDEX0, (uint8_t *)&x, sizeof(x)); in test_global_lock()
220 TPM_CHECK(tpm_nv_write_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()
256 tpm_nv_write_value(INDEX0, (uint8_t *)&zero, 4); in initialise_spaces()
258 tpm_nv_write_value(INDEX1, (uint8_t *)&zero, 4); in initialise_spaces()
260 tpm_nv_write_value(INDEX2, (uint8_t *)&zero, 4); in initialise_spaces()
262 tpm_nv_write_value(INDEX3, (uint8_t *)&zero, 4); in initialise_spaces()
303 if (tpm_nv_write_value(INDEX0, (uint8_t *)&index_0, sizeof(index_0) != in test_readonly()
308 if (tpm_nv_write_value(INDEX0, (uint8_t *)&index_0, sizeof(index_0)) == in test_readonly()
439 TTPM_CHECK(tpm_nv_write_value(INDEX0, (uint8_t *)&x, sizeof(x)), 100); in test_timing()
466 result = tpm_nv_write_value(INDEX0, (uint8_t *)&i, sizeof(i)); in test_write_limit()
484 TPM_CHECK(tpm_nv_write_value(INDEX0, (uint8_t *)&i, sizeof(i))); in test_write_limit()