Home
last modified time | relevance | path

Searched refs:CC_OTP_MANUFACTURE_FLAG_OFFSET (Results 1 – 9 of 9) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/tests/proj/cc3x/cc312_r1/
Dtest_proj_otp.c64 hwWord = otpBuf[CC_OTP_MANUFACTURE_FLAG_OFFSET]; in Test_ProjSetZeroBitsOtpBuff()
66 otpBuf[CC_OTP_MANUFACTURE_FLAG_OFFSET] = hwWord; in Test_ProjSetZeroBitsOtpBuff()
69 hwWord = otpBuf[CC_OTP_MANUFACTURE_FLAG_OFFSET]; in Test_ProjSetZeroBitsOtpBuff()
71 otpBuf[CC_OTP_MANUFACTURE_FLAG_OFFSET] = hwWord; in Test_ProjSetZeroBitsOtpBuff()
74 hwWord = otpBuf[CC_OTP_MANUFACTURE_FLAG_OFFSET]; in Test_ProjSetZeroBitsOtpBuff()
76 otpBuf[CC_OTP_MANUFACTURE_FLAG_OFFSET] = hwWord; in Test_ProjSetZeroBitsOtpBuff()
103 hwWord = otpBuf[CC_OTP_MANUFACTURE_FLAG_OFFSET]; in Test_ProjSetNotInUseOtpBuff()
105 otpBuf[CC_OTP_MANUFACTURE_FLAG_OFFSET] = hwWord; in Test_ProjSetNotInUseOtpBuff()
108 hwWord = otpBuf[CC_OTP_MANUFACTURE_FLAG_OFFSET]; in Test_ProjSetNotInUseOtpBuff()
110 otpBuf[CC_OTP_MANUFACTURE_FLAG_OFFSET] = hwWord; in Test_ProjSetNotInUseOtpBuff()
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/tests/common/
Dtests_otp.c38 otpBuf[CC_OTP_MANUFACTURE_FLAG_OFFSET] = 0; in Test_SetLcsOtpBuff()
75 hwWord = otpBuf[CC_OTP_MANUFACTURE_FLAG_OFFSET]; in Test_SetNotInUseOtpBuff()
77 otpBuf[CC_OTP_MANUFACTURE_FLAG_OFFSET] = hwWord; in Test_SetNotInUseOtpBuff()
80 hwWord = otpBuf[CC_OTP_MANUFACTURE_FLAG_OFFSET]; in Test_SetNotInUseOtpBuff()
82 otpBuf[CC_OTP_MANUFACTURE_FLAG_OFFSET] = hwWord; in Test_SetNotInUseOtpBuff()
110 hwWord = otpBuf[CC_OTP_MANUFACTURE_FLAG_OFFSET]; in Test_SetZeroBitsOtpBuff()
112 otpBuf[CC_OTP_MANUFACTURE_FLAG_OFFSET] = hwWord; in Test_SetZeroBitsOtpBuff()
115 hwWord = otpBuf[CC_OTP_MANUFACTURE_FLAG_OFFSET]; in Test_SetZeroBitsOtpBuff()
117 otpBuf[CC_OTP_MANUFACTURE_FLAG_OFFSET] = hwWord; in Test_SetZeroBitsOtpBuff()
120 hwWord = otpBuf[CC_OTP_MANUFACTURE_FLAG_OFFSET]; in Test_SetZeroBitsOtpBuff()
[all …]
Dtests_hw_access_iot.c260 otp[CC_OTP_MANUFACTURE_FLAG_OFFSET] &= ~(kdrZeroMask); in testSetKdrInOtpBuff()
261 …otp[CC_OTP_MANUFACTURE_FLAG_OFFSET] |= (zeroCount)<<CC_OTP_MANUFACTURE_FLAG_HUK_ZERO_BITS_BIT_SHIF… in testSetKdrInOtpBuff()
308 otp[CC_OTP_MANUFACTURE_FLAG_OFFSET] &= ~(0xFF000000); in testSetHbkInOtpBuff()
310 otp[CC_OTP_MANUFACTURE_FLAG_OFFSET] |= (1<<CC_OTP_MANUFACTURE_FLAG_HBK0_NOT_IN_USE_BIT_SHIFT); in testSetHbkInOtpBuff()
318 otp[CC_OTP_MANUFACTURE_FLAG_OFFSET] &= ~(0xFF000000); in testSetHbkInOtpBuff()
319 …otp[CC_OTP_MANUFACTURE_FLAG_OFFSET] |= (zeroCount)<<CC_OTP_MANUFACTURE_FLAG_HBK0_ZERO_BITS_BIT_SHI… in testSetHbkInOtpBuff()
335 … otp[CC_OTP_OEM_FLAG_OFFSET], CC_OTP_MANUFACTURE_FLAG_OFFSET, otp[CC_OTP_MANUFACTURE_FLAG_OFFSET]); in testSetHbkInOtpBuff()
363 hwWord = otpBuf[CC_OTP_MANUFACTURE_FLAG_OFFSET]; in testSetKpicvInOtpBuff()
366 otpBuf[CC_OTP_MANUFACTURE_FLAG_OFFSET] = hwWord; in testSetKpicvInOtpBuff()
392 hwWord = otpBuf[CC_OTP_MANUFACTURE_FLAG_OFFSET]; in testSetKceicvOtpBuff()
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_sbromlib/
Dbsv_hw_defs.h100 … error = CC_BsvOTPWordRead(hwBaseAddress, CC_OTP_MANUFACTURE_FLAG_OFFSET, &isHbkFull); \
130 … error = CC_BsvOTPWordRead(hwBaseAddress, CC_OTP_MANUFACTURE_FLAG_OFFSET, &isKpicvInUse); \
137 … error = CC_BsvOTPWordRead(hwBaseAddress, CC_OTP_MANUFACTURE_FLAG_OFFSET, &isKceicvInUse); \
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/proj/cc3x/
Dcc_otp_defs.h40 #define CC_OTP_MANUFACTURE_FLAG_OFFSET 0x10UL macro
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/cc_mng/
Dmbedtls_cc_mng_int.c63 CC_READ_MRAM_WORD(CC_OTP_MANUFACTURE_FLAG_OFFSET * sizeof(uint32_t), in mbedtls_mng_lcsGet()
236 error = mbedtls_mng_otpWordRead(CC_OTP_MANUFACTURE_FLAG_OFFSET, &icvFlag); in mbedtls_mng_pubKeyHashGet()
Dmbedtls_cc_mng_int.h108 error = mbedtls_mng_otpWordRead(CC_OTP_MANUFACTURE_FLAG_OFFSET, &isHbkFull); \
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_productionlib/dmpu/
Ddmpu.c168 CC_PROD_OTP_READ(icvWord, CC_OTP_MANUFACTURE_FLAG_OFFSET); in CCProd_Dmpu()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_productionlib/cmpu/
Dcmpu.c294 CC_PROD_OTP_WRITE_VERIFY_WORD(CC_OTP_MANUFACTURE_FLAG_OFFSET, manufactorWord, error); in CCProd_Cmpu()