1 /*
2  * Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 #ifndef PKA_POINT_COMPRESS_REGS_DEF_H
7 #define PKA_POINT_COMPRESS_REGS_DEF_H
8 
9 /*stack*/
10 #define PKA_REG_X     2
11 #define PKA_REG_Y     3
12 #define PKA_REG_EC_A  4
13 #define PKA_REG_EC_B  5
14 
15 /*Square root*/
16 /*in*/
17 #define PKA_REG_Y1    PKA_REG_Y    //zQ
18 #define PKA_REG_Y2    PKA_REG_EC_A //zN
19 /*stack*/
20 #define PKA_REG_T     6   //zT
21 #define PKA_REG_Z     7   //zZ
22 #define PKA_REG_EX    8   //zEx
23 #define PKA_REG_YT    9   //zYt
24 
25 /* Jacobi symbol */
26 /*in*/
27 #define PKA_REG_A    10   //za
28 #define PKA_REG_B    11   //zb
29 /*stack*/
30 #define PKA_REG_C    12   //zc
31 
32 #endif
33