block/HMAC: description: HMAC (Hash-based Message Authentication Code) Accelerator. items: - name: SET_START description: Process control register 0. byte_offset: 64 fieldset: SET_START - name: SET_PARA_PURPOSE description: Configure purpose. byte_offset: 68 fieldset: SET_PARA_PURPOSE - name: SET_PARA_KEY description: Configure key. byte_offset: 72 fieldset: SET_PARA_KEY - name: SET_PARA_FINISH description: Finish initial configuration. byte_offset: 76 fieldset: SET_PARA_FINISH - name: SET_MESSAGE_ONE description: Process control register 1. byte_offset: 80 fieldset: SET_MESSAGE_ONE - name: SET_MESSAGE_ING description: Process control register 2. byte_offset: 84 fieldset: SET_MESSAGE_ING - name: SET_MESSAGE_END description: Process control register 3. byte_offset: 88 fieldset: SET_MESSAGE_END - name: SET_RESULT_FINISH description: Process control register 4. byte_offset: 92 fieldset: SET_RESULT_FINISH - name: SET_INVALIDATE_JTAG description: Invalidate register 0. byte_offset: 96 fieldset: SET_INVALIDATE_JTAG - name: SET_INVALIDATE_DS description: Invalidate register 1. byte_offset: 100 fieldset: SET_INVALIDATE_DS - name: QUERY_ERROR description: Error register. byte_offset: 104 fieldset: QUERY_ERROR - name: QUERY_BUSY description: Busy register. byte_offset: 108 fieldset: QUERY_BUSY - name: WR_MESSAGE_MEM description: Message block memory. array: len: 16 stride: 4 byte_offset: 128 - name: RD_RESULT_MEM description: Result from upstream. array: len: 8 stride: 4 byte_offset: 192 - name: SET_MESSAGE_PAD description: Process control register 5. byte_offset: 240 fieldset: SET_MESSAGE_PAD - name: ONE_BLOCK description: Process control register 6. byte_offset: 244 fieldset: ONE_BLOCK - name: SOFT_JTAG_CTRL description: Jtag register 0. byte_offset: 248 fieldset: SOFT_JTAG_CTRL - name: WR_JTAG description: Jtag register 1. byte_offset: 252 fieldset: WR_JTAG fieldset/ONE_BLOCK: description: Process control register 6. fields: - name: SET_ONE_BLOCK description: Don't have to do padding. bit_offset: 0 bit_size: 1 fieldset/QUERY_BUSY: description: Busy register. fields: - name: BUSY_STATE description: 'Hmac state. 1''b0: idle. 1''b1: busy.' bit_offset: 0 bit_size: 1 fieldset/QUERY_ERROR: description: Error register. fields: - name: QUERY_CHECK description: 'Hmac configuration state. 0: key are agree with purpose. 1: error.' bit_offset: 0 bit_size: 1 fieldset/SET_INVALIDATE_DS: description: Invalidate register 1. fields: - name: SET_INVALIDATE_DS description: Clear result from hmac downstream DS. bit_offset: 0 bit_size: 1 fieldset/SET_INVALIDATE_JTAG: description: Invalidate register 0. fields: - name: SET_INVALIDATE_JTAG description: Clear result from hmac downstream JTAG. bit_offset: 0 bit_size: 1 fieldset/SET_MESSAGE_END: description: Process control register 3. fields: - name: SET_TEXT_END description: Start hardware padding. bit_offset: 0 bit_size: 1 fieldset/SET_MESSAGE_ING: description: Process control register 2. fields: - name: SET_TEXT_ING description: Continue typical hmac. bit_offset: 0 bit_size: 1 fieldset/SET_MESSAGE_ONE: description: Process control register 1. fields: - name: SET_TEXT_ONE description: Call SHA to calculate one message block. bit_offset: 0 bit_size: 1 fieldset/SET_MESSAGE_PAD: description: Process control register 5. fields: - name: SET_TEXT_PAD description: Start software padding. bit_offset: 0 bit_size: 1 fieldset/SET_PARA_FINISH: description: Finish initial configuration. fields: - name: SET_PARA_END description: Finish hmac configuration. bit_offset: 0 bit_size: 1 fieldset/SET_PARA_KEY: description: Configure key. fields: - name: KEY_SET description: Set hmac parameter key. bit_offset: 0 bit_size: 3 fieldset/SET_PARA_PURPOSE: description: Configure purpose. fields: - name: PURPOSE_SET description: Set hmac parameter purpose. bit_offset: 0 bit_size: 4 fieldset/SET_RESULT_FINISH: description: Process control register 4. fields: - name: SET_RESULT_END description: After read result from upstream, then let hmac back to idle. bit_offset: 0 bit_size: 1 fieldset/SET_START: description: Process control register 0. fields: - name: SET_START description: Start hmac operation. bit_offset: 0 bit_size: 1 fieldset/SOFT_JTAG_CTRL: description: Jtag register 0. fields: - name: SOFT_JTAG_CTRL description: Turn on JTAG verification. bit_offset: 0 bit_size: 1 fieldset/WR_JTAG: description: Jtag register 1. fields: - name: WR_JTAG description: 32-bit of key to be compared. bit_offset: 0 bit_size: 32