Home
last modified time | relevance | path

Searched refs:DCP_AES128_BLOCK_SIZE (Results 1 – 4 of 4) sorted by relevance

/optee_os/core/drivers/imx/dcp/
A Ddcp.c278 uint8_t y[DCP_AES128_BLOCK_SIZE] = { }; in dcp_cmac()
279 uint8_t x[DCP_AES128_BLOCK_SIZE] = { }; in dcp_cmac()
280 uint8_t last[DCP_AES128_BLOCK_SIZE] = { }; in dcp_cmac()
303 DCP_AES128_BLOCK_SIZE; in dcp_cmac()
312 DCP_AES128_BLOCK_SIZE); in dcp_cmac()
315 offset += DCP_AES128_BLOCK_SIZE; in dcp_cmac()
328 dcp_xor(x, last, y, DCP_AES128_BLOCK_SIZE); in dcp_cmac()
330 DCP_AES128_BLOCK_SIZE); in dcp_cmac()
334 memcpy(output, x, DCP_AES128_BLOCK_SIZE); in dcp_cmac()
417 if (size % DCP_AES128_BLOCK_SIZE) { in dcp_cipher_do_update()
[all …]
A Ddcp_huk.c42 uint8_t content[DCP_AES128_BLOCK_SIZE] = { NB_ITERATION_HUK, in dcp_generate_huk()
59 return dcp_cmac(&init, content, DCP_AES128_BLOCK_SIZE, hwkey->data); in dcp_generate_huk()
A Ddcp_utils.c121 for (i = len; i < DCP_AES128_BLOCK_SIZE; i++) { in dcp_cmac_padding()
/optee_os/core/include/drivers/imx/
A Ddcp.h14 #define DCP_AES128_BLOCK_SIZE U(16) macro
15 #define DCP_AES128_KEY_SIZE DCP_AES128_BLOCK_SIZE
16 #define DCP_AES128_IV_SIZE DCP_AES128_BLOCK_SIZE

Completed in 7 milliseconds