Owners manual

System
H3 Datasheet(Revision1.2) Copyrigh 2015 Allwinner Technology Co.,Ltd.All Rights Reserved. Page 233
4.15.4.9. Crypto Engine Current Source Address Register(Default Value: 0x00000000)
Offset: 0x24
Register Name: CE_CSAR
Bit
R/W
Default/Hex
Description
31:0
R
0
Current source address of the executing task
4.15.4.10. Crypto Engine Current Destination Address Register(Default Value: 0x00000000)
Offset: 0x28
Register Name: CE_CDAR
Bit
R/W
Default/Hex
Description
31:0
R
0
Current destination address of the executing task
4.15.4.11. Crypto Engine Throughput Register(Default Value: 0x00000000)
Offset: 0x2C
Register Name: CE_TPR
Bit
R/W
Default/Hex
Description
31:0
R/W
0
It indicates the throughput of data from the whole processing.
Notes: Write ‘0’ to clear it by CPU.
4.15.5. Crypto Engine Clock Requirement
Clock Name
Description
Requirement
ahb_clk
AHB bus clock
>=24MHz
CE_clk
Crypto Engine serial clock
<= 300MHz && >=24MHz
4.15.6. Programming Guidelines
(1) The module provides two interfaces to software.Secure CPU uses the interface of 0x800 offset,non-secure CPU uses
the interface of 0x0 offset.
(2) The task is approached by the task descriptor mode, before start to the load bit,the task descriptor is wrote in the
specified address,and the task descriptor address register is configured.After the load bit is ensure to be low,the
next task could be configured.
(3) The writing/reading function of the data is completed by the internal DMA,if the data is in cache,the cache need
refresh before the task loaded,so that the data in the address is latest.
(4) The task descriptor supports 8 source scatters and 8 destination scatters.When configuring the scatter address and
size,the continue scatter address and size should be used.Except the active scatters,the size of other scatter need be
configured to 0.
(5) data len= src len0 + src len1 +……+src len7,they are word in unit,when src len0 = data len,others(src len1……src
len7)must be wrote to 0;but for AES CTS,data len is byte in unit,src len0~7 are word in unit.
confidential