Lines Matching full:aes
41 // This file contains macros that are shared by the other aes-*.S files. The
45 // - RISC-V Vector AES block cipher extension ('Zvkned')
47 // Loads the AES round keys from \keyp into vector registers and jumps to code
49 // - If AES-128, loads round keys into v1-v11 and jumps to \label128.
50 // - If AES-192, loads round keys into v1-v13 and jumps to \label192.
51 // - If AES-256, loads round keys into v1-v15 and continues onwards.
56 li t1, 24 // t1 = key length for AES-192
79 blt t0, t1, \label128 // If AES-128, goto label128.
84 beq t0, t1, \label192 // If AES-192, goto label192.
85 // Else, it's AES-256.
93 // v1-v11 (for AES-128), v1-v13 (for AES-192), or v1-v15 (for AES-256). \keylen
94 // is the AES key length in bits. vl and vtype must already be set