Home
last modified time | relevance | path

Searched refs:mc (Results 1 – 3 of 3) sorted by relevance

/optee_os-3.20.0/core/crypto/
A Dcbc-mac.c47 memset(mc->block, 0, sizeof(mc->block)); in crypto_cbc_mac_init()
48 memset(mc->digest, 0, sizeof(mc->digest)); in crypto_cbc_mac_init()
54 NULL, 0, mc->block, mc->block_len); in crypto_cbc_mac_init()
68 (len + mc->current_block_len >= mc->block_len)) { in crypto_cbc_mac_update()
69 size_t pad_len = mc->block_len - mc->current_block_len; in crypto_cbc_mac_update()
75 false, mc->block, mc->block_len, in crypto_cbc_mac_update()
111 memcpy(mc->digest, out_tmp + out_len - mc->block_len, in crypto_cbc_mac_update()
117 assert(mc->current_block_len + len < mc->block_len); in crypto_cbc_mac_update()
118 memcpy(mc->block + mc->current_block_len, data, len); in crypto_cbc_mac_update()
146 if (!mc->is_computed || mc->current_block_len) in crypto_cbc_mac_final()
[all …]
/optee_os-3.20.0/core/arch/arm/dts/
A Dfsl-lx2160a.dtsi1261 fsl_mc: fsl-mc@80c000000 {
1262 compatible = "fsl,qoriq-mc";
1287 compatible = "fsl,qoriq-mc-dpmac";
1292 compatible = "fsl,qoriq-mc-dpmac";
1297 compatible = "fsl,qoriq-mc-dpmac";
1302 compatible = "fsl,qoriq-mc-dpmac";
1307 compatible = "fsl,qoriq-mc-dpmac";
1312 compatible = "fsl,qoriq-mc-dpmac";
1317 compatible = "fsl,qoriq-mc-dpmac";
1322 compatible = "fsl,qoriq-mc-dpmac";
[all …]
/optee_os-3.20.0/core/arch/arm/crypto/
A Daes_modes_armv8a_ce_a64.S41 .macro do_enc_Nx, de, mc, k, i0, i1, i2, i3
43 aes\mc \i0\().16b, \i0\().16b
46 aes\mc \i1\().16b, \i1\().16b
49 aes\mc \i2\().16b, \i2\().16b
51 aes\mc \i3\().16b, \i3\().16b
59 do_enc_Nx e, mc, \k, \i0, \i1, \i2, \i3

Completed in 6 milliseconds