Home
last modified time | relevance | path

Searched refs:kG (Results 1 – 2 of 2) sorted by relevance

/openssl/crypto/sm2/
H A Dsm2_crypt.c125 EC_POINT *kG = NULL; in ossl_sm2_encrypt() local
151 kG = EC_POINT_new(group); in ossl_sm2_encrypt()
153 if (kG == NULL || kP == NULL) { in ossl_sm2_encrypt()
193 if (!EC_POINT_mul(group, kG, k, NULL, NULL, ctx) in ossl_sm2_encrypt()
194 || !EC_POINT_get_affine_coordinates(group, kG, x1, y1, ctx) in ossl_sm2_encrypt()
270 EC_POINT_free(kG); in ossl_sm2_encrypt()
H A Dsm2_sign.c213 EC_POINT *kG = NULL; in sm2_sig_gen() local
223 kG = EC_POINT_new(group); in sm2_sig_gen()
224 if (kG == NULL) { in sm2_sig_gen()
271 if (!EC_POINT_mul(group, kG, k, NULL, NULL, ctx) in sm2_sig_gen()
272 || !EC_POINT_get_affine_coordinates(group, kG, x1, NULL, in sm2_sig_gen()
322 EC_POINT_free(kG); in sm2_sig_gen()

Completed in 8 milliseconds