Home
last modified time | relevance | path

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

/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLECGroupContext.java30 private final long groupCtx; field in OpenSSLECGroupContext
32 public OpenSSLECGroupContext(long groupCtx) { in OpenSSLECGroupContext() argument
33 this.groupCtx = groupCtx; in OpenSSLECGroupContext()
85 if (groupCtx != 0) { in finalize()
86 NativeCrypto.EC_GROUP_clear_free(groupCtx); in finalize()
100 return NativeCrypto.EC_GROUP_cmp(groupCtx, other.groupCtx); in equals()
110 return groupCtx; in getContext()
143 final String curveName = NativeCrypto.EC_GROUP_get_curve_name(groupCtx); in getECParameterSpec()
145 final byte[][] curveParams = NativeCrypto.EC_GROUP_get_curve(groupCtx); in getECParameterSpec()
151 final int type = NativeCrypto.get_EC_GROUP_type(groupCtx); in getECParameterSpec()
[all …]
DNativeCrypto.java233 …public static native void EC_GROUP_set_generator(long groupCtx, long pointCtx, byte[] n, byte[] h); in EC_GROUP_set_generator() argument
235 public static native long EC_GROUP_get_generator(long groupCtx); in EC_GROUP_get_generator() argument
237 public static native int get_EC_GROUP_type(long groupCtx); in get_EC_GROUP_type() argument
239 public static native byte[] EC_GROUP_get_order(long groupCtx); in EC_GROUP_get_order() argument
241 public static native int EC_GROUP_get_degree(long groupCtx); in EC_GROUP_get_degree() argument
243 public static native byte[] EC_GROUP_get_cofactor(long groupCtx); in EC_GROUP_get_cofactor() argument
251 public static native byte[][] EC_POINT_get_affine_coordinates(long groupCtx, long pointCtx); in EC_POINT_get_affine_coordinates() argument
253 … public static native void EC_POINT_set_affine_coordinates(long groupCtx, long pointCtx, byte[] x, in EC_POINT_set_affine_coordinates() argument