5 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_MANUF_LIB_FLASH_INFO_FIELDS_H_
6 #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_MANUF_LIB_FLASH_INFO_FIELDS_H_
10 #include "sw/device/lib/base/status.h"
28 kFlashInfoAstCalibrationDataSizeInBytes =
29 AST_REGAL_REG_OFFSET +
sizeof(uint32_t),
30 kFlashInfoAstCalibrationDataSizeIn32BitWords =
31 kFlashInfoAstCalibrationDataSizeInBytes /
sizeof(uint32_t),
34 kFlashInfoKeySeedSizeIn32BitWords = 32 /
sizeof(uint32_t),
37 kFlashInfoWaferAuthSecretSizeIn32BitWords = 32 /
sizeof(uint32_t),
40 kFlashInfoFieldUdsKeySeedIdx = 0,
41 kFlashInfoFieldCdi0KeySeedIdx = 1,
42 kFlashInfoFieldCdi1KeySeedIdx = 2,
43 kFlashInfoFieldTpmEkKeySeedIdx = 3,
77 uint32_t *data_out,
size_t num_words);
95 uint32_t *data_in,
size_t num_words,
96 bool erase_page_before_write);