Commit 1d19058
crypto: hisilicon/hpre - adapt ECDH for high-performance cores
Only the ECDH with NIST P-256 meets requirements.
The algorithm will be scheduled first for high-performance cores.
The key step is to config resv1 field of BD.
Signed-off-by: lizhi <lizhi206@huawei.com>
Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>1 parent 07bb097 commit 1d19058
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
| 136 | + | |
| 137 | + | |
134 | 138 | | |
135 | 139 | | |
136 | 140 | | |
| |||
1619 | 1623 | | |
1620 | 1624 | | |
1621 | 1625 | | |
| 1626 | + | |
| 1627 | + | |
1622 | 1628 | | |
1623 | 1629 | | |
1624 | 1630 | | |
| |||
1653 | 1659 | | |
1654 | 1660 | | |
1655 | 1661 | | |
| 1662 | + | |
1656 | 1663 | | |
1657 | 1664 | | |
1658 | 1665 | | |
| |||
0 commit comments