Home
last modified time | relevance | path

Searched refs:dcp_huk (Results 1 – 2 of 2) sorted by relevance

/optee_os-3.20.0/core/drivers/imx/dcp/
A Ddcp_huk.c26 } dcp_huk = { .state = DCP_HUK_EMPTY }; variable
78 dcp_huk.state = DCP_HUK_ERROR; in tee_otp_get_hw_unique_key()
82 if (dcp_huk.state == DCP_HUK_EMPTY) { in tee_otp_get_hw_unique_key()
85 dcp_huk.state = DCP_HUK_ERROR; in tee_otp_get_hw_unique_key()
87 memcpy(dcp_huk.data, hwkey->data, HW_UNIQUE_KEY_LENGTH); in tee_otp_get_hw_unique_key()
88 dcp_huk.state = DCP_HUK_GENERATED; in tee_otp_get_hw_unique_key()
90 } else if (dcp_huk.state == DCP_HUK_GENERATED) { in tee_otp_get_hw_unique_key()
91 memcpy(hwkey->data, dcp_huk.data, HW_UNIQUE_KEY_LENGTH); in tee_otp_get_hw_unique_key()
A Dsub.mk1 srcs-y += dcp_huk.c

Completed in 3 milliseconds