Initializerswift-crypto 3.10.0CryptoBoringWrapper
init(inverting:on:)
EllipticCurvePoint.swift:135@usableFromInline convenience init(inverting point: EllipticCurvePoint, on group: BoringSSLEllipticCurveGroup) throws
@usableFromInline convenience init(inverting point: EllipticCurvePoint, on group: BoringSSLEllipticCurveGroup) throws
s19CryptoBoringWrapper18EllipticCurvePointC9inverting2onA2C_AA0b11SSLEllipticE5GroupCtKcfc
What are these?2LP96
import CryptoBoringWrapper
@usableFromInline final class EllipticCurvePoint
A wrapper around BoringSSL’s EC_POINT with some lifetime management.
@usableFromInline final class BoringSSLEllipticCurveGroup
A wrapper around BoringSSL’s EC_GROUP object that handles reference counting and liveness.
@usableFromInline init(_pointAtInfinityOn group: BoringSSLEllipticCurveGroup) throws
@usableFromInline convenience init(adding lhs: EllipticCurvePoint, _ rhs: EllipticCurvePoint, on group: BoringSSLEllipticCurveGroup) throws
@usableFromInline convenience init(copying other: EllipticCurvePoint, on group: BoringSSLEllipticCurveGroup) throws
@usableFromInline init(copying pointer: OpaquePointer, on group: BoringSSLEllipticCurveGroup) throws
@usableFromInline convenience init<MessageBytes, DSTBytes>(hashing msg: MessageBytes, to group: BoringSSLEllipticCurveGroup, domainSeparationTag: DSTBytes) throws where MessageBytes : ContiguousBytes, DSTBytes : ContiguousBytes
@usableFromInline convenience init(multiplying lhs: EllipticCurvePoint, by rhs: ArbitraryPrecisionInteger, on group: BoringSSLEllipticCurveGroup) throws
@usableFromInline convenience init(multiplying scalar: ArbitraryPrecisionInteger, on group: BoringSSLEllipticCurveGroup) throws
@usableFromInline convenience init(subtracting rhs: EllipticCurvePoint, from lhs: EllipticCurvePoint, on group: BoringSSLEllipticCurveGroup) throws
@usableFromInline convenience init<Bytes>(x962Representation bytes: Bytes, on group: BoringSSLEllipticCurveGroup) throws where Bytes : ContiguousBytes
@usableFromInline static func adding(_ lhs: EllipticCurvePoint, _ rhs: EllipticCurvePoint, on group: BoringSSLEllipticCurveGroup) throws -> EllipticCurvePoint
@usableFromInline static func inverting(_ point: EllipticCurvePoint, on group: BoringSSLEllipticCurveGroup) throws -> EllipticCurvePoint
@usableFromInline static func multiplying(_ lhs: EllipticCurvePoint, by rhs: ArbitraryPrecisionInteger, on group: BoringSSLEllipticCurveGroup) throws -> EllipticCurvePoint
@usableFromInline static func subtracting(_ rhs: EllipticCurvePoint, from lhs: EllipticCurvePoint, on group: BoringSSLEllipticCurveGroup) throws -> EllipticCurvePoint
@usableFromInline func add(_ rhs: EllipticCurvePoint, on group: BoringSSLEllipticCurveGroup) throws
@usableFromInline func adding(_ rhs: EllipticCurvePoint, on group: BoringSSLEllipticCurveGroup) throws -> EllipticCurvePoint
@usableFromInline func affineCoordinates(group: BoringSSLEllipticCurveGroup) throws -> (x: ArbitraryPrecisionInteger, y: ArbitraryPrecisionInteger)
@usableFromInline func invert(on group: BoringSSLEllipticCurveGroup) throws
@usableFromInline func inverting(on group: BoringSSLEllipticCurveGroup) throws -> EllipticCurvePoint
@usableFromInline func isEqual(to rhs: EllipticCurvePoint, on group: BoringSSLEllipticCurveGroup) -> Bool
@usableFromInline func multiply(by rhs: ArbitraryPrecisionInteger, on group: BoringSSLEllipticCurveGroup) throws
@usableFromInline func multiplying(by rhs: ArbitraryPrecisionInteger, on group: BoringSSLEllipticCurveGroup) throws -> EllipticCurvePoint
@usableFromInline func subtract(_ rhs: EllipticCurvePoint, on group: BoringSSLEllipticCurveGroup) throws
@usableFromInline func subtracting(_ rhs: EllipticCurvePoint, on group: BoringSSLEllipticCurveGroup) throws -> EllipticCurvePoint
func withPointPointer<T>(_ body: (OpaquePointer) throws -> T) rethrows -> T
@usableFromInline func x962Representation(compressed: Bool, on group: BoringSSLEllipticCurveGroup) throws -> Data
@usableFromInline func x962RepresentationByteCount(compressed: Bool, on group: BoringSSLEllipticCurveGroup) throws -> Int