From c7dbaa883d89e40a008c21ff0758286b77930601 Mon Sep 17 00:00:00 2001 From: Gorachya <38173958+Gorachya@users.noreply.github.com> Date: Fri, 13 May 2022 20:01:33 +0800 Subject: [PATCH] Add files via upload --- include/gmssl/sm9.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/gmssl/sm9.h b/include/gmssl/sm9.h index 0ba06d31..dba22138 100644 --- a/include/gmssl/sm9.h +++ b/include/gmssl/sm9.h @@ -296,6 +296,7 @@ void sm9_pairing(sm9_fp12_t r, const sm9_twist_point_t *Q, const sm9_point_t *P) void sm9_fn_add(sm9_fn_t r, const sm9_fn_t a, const sm9_fn_t b); void sm9_fn_sub(sm9_fn_t r, const sm9_fn_t a, const sm9_fn_t b); void sm9_fn_mul(sm9_fn_t r, const sm9_fn_t a, const sm9_fn_t b); +void sm9_fn_pow(sm9_fn_t r, const sm9_fn_t a, const sm9_bn_t e); void sm9_fn_inv(sm9_fn_t r, const sm9_fn_t a); int sm9_fn_is_zero(const sm9_fn_t a); int sm9_fn_equ(const sm9_fn_t a, const sm9_fn_t b);