Lines Matching +full:sifive +full:- +full:blocks
1 /* SPDX-License-Identifier: Apache-2.0 OR BSD-2-Clause */
3 // This file is dual-licensed, meaning that you can use it under your
15 // Copyright (c) 2023, Phoebe Chen <phoebe.chen@sifive.com>
40 // The generated code of this file depends on the following RISC-V extensions:
41 // - RV64I
42 // - RISC-V Vector ('V') with VLEN >= 128
43 // - RISC-V Vector SHA-2 Secure Hash extension ('Zvknhb')
44 // - RISC-V Vector Cryptography Bit-manipulation extension ('Zvkb')
70 // Do 4 rounds of SHA-512. w0 contains the current 4 message schedule words.
73 // computes 4 more message schedule words. w1-w3 contain the next 3 groups of 4
101 // message scheduling. There are 4 words, so an 8-bit mask suffices.
107 // is e8mf4. We use index-load with the i8 indices {40, 32, 8, 0},
108 // loaded using the 32-bit little endian value 0x00082028.
119 addi NUM_BLOCKS, NUM_BLOCKS, -1
125 // Load the next 1024-bit message block and endian-swap each 64-bit word
139 // Do the 80 rounds of SHA-512.
150 // Repeat if more blocks remain.
203 .size K512, . - K512