Lines Matching +full:32 +full:- +full:61
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 # Copyright 2023- IBM Corp. All rights reserved
10 # Poly1305 - this version mainly using vector/VSX/Scalar
11 # - 26 bits limbs
12 # - Handle multiple 64 byte blcok.
17 # p = 2^130 - 5
25 # 07/22/21 - this revison based on the above sum of products. Setup r^4, r^3, r^2, r and s3, s2, …
50 # k = 32 bytes key
56 #include <asm/asm-offsets.h>
57 #include <asm/asm-compat.h>
95 stdu 1,-752(1)
119 SAVE_VRS 22, 32, 9
154 RESTORE_VRS 22, 32, 9
351 xxlor 29, 61, 61
367 xxpermdi 61, 61, 39, 0x3 # r3
404 xxlor 3, 61, 61
406 xxlor 5, 32, 32
483 li 15, 32
486 lvx 25, 0, 10 # v25 - mask
495 ld 10, 32(3)
509 mtvsrdd 61, 0, 17
523 # k = 32 bytes key
619 addi 5, 5, -64 # len -= 64
633 # h3 = (h1 + m3) * r^2, h4 = (h2 + m4) * r^2 --> (h0 + m1) r*4 + (h3 + m3) r^2, (h0 + m2) r^4 + (h…
635 # h5 = (h3 + m5) * r^2, h6 = (h4 + m6) * r^2 -->
636 # h7 = (h5 + m7) * r^2, h8 = (h6 + m8) * r^1 --> m5 * r^4 + m6 * r^3 + m7 * r^2 + m8 * r
729 addi 5, 5, -64 # len -= 64
738 xxlor 61, 3, 3
740 xxlor 32, 5, 5
852 ld 10, 32(3)
857 add 19, 21, 10 # s1: r19 - (r1 >> 2) *5
861 mtvsrdd 32+0, 9, 19 # r0, s1
862 mtvsrdd 32+1, 10, 9 # r1, r0
863 mtvsrdd 32+2, 19, 25 # s1
864 mtvsrdd 32+3, 9, 25 # r0
897 mfvsrld 27, 32+7
898 mfvsrld 28, 32+10
899 mfvsrld 29, 32+11
900 mfvsrd 20, 32+7 # h0.h
901 mfvsrd 21, 32+10 # h1.h
923 # - no highbit if final leftover block (highbit = 0)
931 stdu 1,-400(1)
984 mtvsrdd 32+6, 27, 28 # h0, h1
985 mtvsrdd 32+8, 29, 22 # h2
1039 # h + 5 + (-p)