Entity: aes_sbox_canright
- File: aes_sbox_canright.sv
Diagram
Description
Copyright lowRISC contributors. Licensed under the Apache License, Version 2.0, see LICENSE for details. SPDX-License-Identifier: Apache-2.0
AES Canright SBox #4
For details, see the technical report: Canright, "A very compact Rijndael S-box" available at https://hdl.handle.net/10945/25608
Ports
Port name | Direction | Type | Description |
---|---|---|---|
op_i | input | ||
data_i | input | [7:0] | |
data_o | output | [7:0] |
Signals
Name | Type | Description |
---|---|---|
data_basis_x | logic [7:0] | ///////////////// Canright SBox // ///////////////// |
data_inverse | logic [7:0] | ///////////////// Canright SBox // ///////////////// |
Functions
- aes_inverse_gf2p4 (logic [3:0]) return (logic [3:0])
Description
/////////////
Functions //
/////////////
Inverse in GF(2^4), using normal basis [alpha^8, alpha^2]
(see Figure 12 in the technical report)
- aes_inverse_gf2p8 (logic [7:0]) return (logic [7:0])
Description
Inverse in GF(2^8), using normal basis [d^16, d]
(see Figure 11 in the technical report)