Регистры Allwinner H616

Сокращения  |  Дерево шин  |  Карта памяти

Криптосистема ( Руководство )

Имя модуля: CE_NS , базовый адрес: 0x01904000

Имя модуля: CE_S , базовый адрес: 0x01904800

Руководство п. 10.1.4


Регистров: 17

Имя регистра | Смещение


  • 1) CE_TDA | 0x0000

    typedef union  ce_tda
    {
      struct
      {
       unsigned task_desc_addr : 32;
      } b;
       unsigned long w;
    } CE_TDA
       

  • 2) CE_ICR | 0x0008

    typedef union  ce_icr
    {
      struct
      {
       unsigned task_chan_int_ena : 4;
       unsigned unused0 : 28;
      } b;
       unsigned long w;
    } CE_ICR
       

  • 3) CE_ISR | 0x000C

    typedef union  ce_isr
    {
      struct
      {
       unsigned task_chan_end_pending : 4;
       unsigned unused0 : 28;
      } b;
       unsigned long w;
    } CE_ISR
       

  • 4) CE_TLR | 0x0010

    typedef union  ce_tlr
    {
      struct
      {
       unsigned task_load : 1;
       unsigned unused0 : 7;
       unsigned type_field : 7;
       unsigned unused1 : 17;
      } b;
       unsigned long w;
    } CE_TLR
       

  • 5) CE_TSR | 0x0014

    typedef union  ce_tsr
    {
      struct
      {
       unsigned chan_run_for_sym : 2;
       unsigned chan_run_for_digest : 2;
       unsigned chan_run_for_asym : 2;
       unsigned chan_run_for_xts : 2;
       unsigned unused0 : 24;
      } b;
       unsigned long w;
    } CE_TSR
       

  • 6) CE_ESR | 0x0018

    typedef union  ce_esr
    {
      struct
      {
       unsigned task_chan_0_err_type : 8;
       unsigned task_chan_1_err_type : 8;
       unsigned task_chan_2_err_type : 8;
       unsigned task_chan_3_err_type : 8;
      } b;
       unsigned long w;
    } CE_ESR
       

  • 7) CE_SCSA | 0x0024

    typedef union  ce_scsa
    {
      struct
      {
       unsigned sym_alg_cur_src_addr : 32;
      } b;
       unsigned long w;
    } CE_SCSA
       

  • 8) CE_SCDA | 0x0028

    typedef union  ce_scda
    {
      struct
      {
       unsigned sym_alg_cur_dest_addr : 32;
      } b;
       unsigned long w;
    } CE_SCDA
       

  • 9) CE_HCSA | 0x0034

    typedef union  ce_hcsa
    {
      struct
      {
       unsigned hash_alg_cur_src_addr : 32;
      } b;
       unsigned long w;
    } CE_HCSA
       

  • 10) CE_HCDA | 0x0038

    typedef union  ce_hcda
    {
      struct
      {
       unsigned hash_alg_cur_dest_addr : 32;
      } b;
       unsigned long w;
    } CE_HCDA
       

  • 11) CE_ACSA | 0x0044

    typedef union  ce_acsa
    {
      struct
      {
       unsigned asym_alg_cur_src_addr : 32;
      } b;
       unsigned long w;
    } CE_ACSA
       

  • 12) CE_ACDA | 0x0048

    typedef union  ce_acda
    {
      struct
      {
       unsigned asym_alg_cur_dest_addr : 32;
      } b;
       unsigned long w;
    } CE_ACDA
       

  • 13) CE_XCSA | 0x0054

    typedef union  ce_xcsa
    {
      struct
      {
       unsigned xts_alg_cur_src_addr : 32;
      } b;
       unsigned long w;
    } CE_XCSA
       

  • 14) CE_XCDA | 0x0058

    typedef union  ce_xcda
    {
      struct
      {
       unsigned xts_alg_cur_dest_addr : 32;
      } b;
       unsigned long w;
    } CE_XCDA
       

  • 15) T_D_Q_COM_CTRL |

    typedef union  t_d_q_com_ctrl
    {
      struct
      {
       unsigned algorithm_type : 7;
       unsigned unused0 : 1;
       unsigned op_dir : 1;
       unsigned unused1 : 6;
       unsigned last_hmac_plaintext : 1;
       unsigned iv_mode : 1;
       unsigned cbc_mac_len : 8;
       unsigned unused2 : 6;
       unsigned inter_ena_cur_task : 1;
      } b;
       unsigned long w;
    } T_D_Q_COM_CTRL
       

  • 16) T_D_Q_SYMM_CTRL |

    typedef union  t_d_q_symm_ctrl
    {
      struct
      {
       unsigned aes_key_size : 2;
       unsigned ctr_width : 2;
       unsigned unused0 : 4;
       unsigned operation_mode_for_symmetric : 4;
       unsigned xts_first : 1;
       unsigned xts_last : 1;
       unsigned unused1 : 2;
       unsigned aes_cts_last_package_flag : 1;
       unsigned prng_ld : 1;
       unsigned cfb_width : 2;
       unsigned key_select : 4;
       unsigned unused2 : 2;
       unsigned no_modk : 1;
       unsigned unused3 : 5;
      } b;
       unsigned long w;
    } T_D_Q_SYMM_CTRL
       

  • 17) T_D_Q_ASYMM_CTRL |

    typedef union  t_d_q_asymm_ctrl
    {
      struct
      {
       unsigned asym_alg_oper : 8;
       unsigned unused0 : 8;
       unsigned pkc_alg_mode : 5;
       unsigned unused1 : 11;
      } b;
       unsigned long w;
    } T_D_Q_ASYMM_CTRL
       


  • Allwinner H616 Manual