Searched refs:kG (Results 1 – 2 of 2) sorted by relevance
/openssl/crypto/sm2/ |
H A D | sm2_crypt.c | 125 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 D | sm2_sign.c | 213 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 5 milliseconds