The invention relates to a technical field of integrate
circuit design, specifically to a two-dimension parity check error detecting method in an
advanced encryption standard and an implement hardware thereof. The method, by performing a two-dimension parity
check in a horizontal direction and a
vertical orientation for the data in the
advanced encryption standard, can completely covers the odd number errors by performing a two-dimension parity
check in a horizontal direction and a
vertical orientation for the data in the
advanced encryption standard, has a skyhigh percentage of coverage for the even number errors, especially completely covers the two errors in the condition the number of the error is two, and is capable of effectively resisting error
impact. The hardware for actualizing the invention uses a completely parallel construction between a principal operation module and a two-dimension parity
check digit computation module, wherein, in the principal operation module, 128 bit data are divided into 4 groups of 32 bit data and uses 2-degree pipeline architecture, and the parity
check digit computation module uses a 32 bit data computing mode. The
hardware structure has no affect on the data
throughput in the in an advanced
encryption standard, the leading in extra hardware has a low cost, and the invention is fit for an application area with a
high security requirement and a strict hardware area requirement.