Ver a proveniência

Document EC_POINT_get_affine_coordinates_GFp allowing NULL x and y.

Change-Id: Iffc1f43afc0fed2166509775ac3c52f90eb7cddf
Reviewed-on: https://boringssl-review.googlesource.com/26384
Reviewed-by: Steven Valdez <svaldez@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
kris/onging/CECPQ3_patch15
David Benjamin há 6 anos
committed by CQ bot account: commit-bot@chromium.org
ascendente
cometimento
3d2c6b0b0e
1 ficheiros alterados com 3 adições e 0 eliminações
  1. +3
    -0
      include/openssl/ec.h

+ 3
- 0
include/openssl/ec.h Ver ficheiro

@@ -209,6 +209,9 @@ OPENSSL_EXPORT int EC_POINTs_make_affine(const EC_GROUP *group, size_t num,
// EC_POINT_get_affine_coordinates_GFp sets |x| and |y| to the affine value of
// |point| using |ctx|, if it's not NULL. It returns one on success and zero
// otherwise.
//
// Either |x| or |y| may be NULL to skip computing that coordinate. This is
// slightly faster in the common case where only the x-coordinate is needed.
OPENSSL_EXPORT int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP *group,
const EC_POINT *point,
BIGNUM *x, BIGNUM *y,


Carregando…
Cancelar
Guardar