1. Acryp_completion_it

1.1. Function description:

This demo shows how to trigger Operation Completion Interrupt, the operation is modular in GF(p).

  • Enable global interrupt & register ACRYP interrupt.

  • Enable the related interrupt.

  • Allocate enough memory space of SRAM used by internal logic during computation.

  • Filling data to operand a & b address.

  • Configure & start modular operation.

  • To compare the result with the golden data to check after triggering & entering the interrupt service routine.

Note

The length of operand a must greater than operand b.

1.2. Main Configuration:

1.2.1. MOD operation:

Operation code

Option

Field

Operand a length

Operand b length

OP_MOD

ordinary

GF(p)

5 words

5 words

1.3. Test result:

If successfully trigger and enter interrupt service routine, and the result is same as the standard data, then print pass, if not print fail.

1.4. IO connection:

None