crypto: rockchip: v2: pka: fix bug on set np

Change-Id: I2b3207dcb3ce138a8677796ae628d1f270fab621
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
This commit is contained in:
Lin Jinhan 2020-04-01 16:38:02 +08:00 committed by Joseph Chen
parent 6b5b88bc03
commit 341631cbfb
1 changed files with 1 additions and 1 deletions

View File

@ -1052,7 +1052,7 @@ int rk_exptmod_np(void *m, void *e, void *n, void *np, void *d)
if (m_np->d)
error = rk_calcNp_and_initmodop((m_n)->d, /*in N*/
exact_size, /*in N size*/
np, /*out NP*/
m_np->d, /*out NP*/
RK_PKA_SET_NP, /*in set NP*/
2, /*in *r_t0*/
3, /*in r_t1*/