Home
last modified time | relevance | path

Searched defs:Curve (Results 1 – 25 of 85) sorted by relevance

1234

/aosp_15_r20/prebuilts/go/linux-x86/src/crypto/ecdsa/
Decdsa_test.go26 func testAllCurves(t *testing.T, f func(*testing.T, elliptic.Curve)) {
53 func genericParamsForCurve(c elliptic.Curve) *elliptic.CurveParams {
62 func testKeyGeneration(t *testing.T, c elliptic.Curve) {
76 func testSignAndVerify(t *testing.T, c elliptic.Curve) {
100 func testSignAndVerifyASN1(t *testing.T, c elliptic.Curve) {
124 func testNonceSafety(t *testing.T, c elliptic.Curve) {
155 func testINDCCA(t *testing.T, c elliptic.Curve) {
302 func testNegativeInputs(t *testing.T, curve elliptic.Curve) {
322 func testZeroHashSignature(t *testing.T, curve elliptic.Curve) {
420 func testZeroSignature(t *testing.T, curve elliptic.Curve) {
[all …]
Decdsa_legacy.go20 func generateLegacy(c elliptic.Curve, rand io.Reader) (*PrivateKey, error) {
36 func hashToInt(hash []byte, c elliptic.Curve) *big.Int {
173 func randFieldElement(c elliptic.Curve, rand io.Reader) (k *big.Int, err error) {
Decdsa.go51 elliptic.Curve anonMember
111 func curveToECDH(c elliptic.Curve) ecdh.Curve {
162 func GenerateKey(c elliptic.Curve, rand io.Reader) (*PrivateKey, error) {
Decdsa_s390x.go36 func canUseKDSA(c elliptic.Curve) (functionCode uint64, blockSize int, ok bool) {
54 func hashToBytes(dst, hash []byte, c elliptic.Curve) {
/aosp_15_r20/external/tink/go/hybrid/subtle/
H A Delliptic_curves.go30 elliptic.Curve anonMember
41 func GetECPrivateKey(c elliptic.Curve, b []byte) *ECPrivateKey {
69 func getModulus(c elliptic.Curve) *big.Int {
73 func fieldSizeInBits(c elliptic.Curve) int {
79 func fieldSizeInBytes(c elliptic.Curve) int {
83 func encodingSizeInBytes(c elliptic.Curve, p string) (int, error) {
98 func PointEncode(c elliptic.Curve, pFormat string, pt ECPoint) ([]byte, error) {
137 func PointDecode(c elliptic.Curve, pFormat string, e []byte) (*ECPoint, error) {
196 func getY(x *big.Int, lsb bool, c elliptic.Curve) *big.Int {
252 func GenerateECDHKeyPair(c elliptic.Curve) (*ECPrivateKey, error) {
H A Delliptic_curves_test.go38 elliptic.Curve anonMember
43 elliptic.Curve anonMember
527 func convertPointPublicKey(t *testing.T, pk []byte, curve elliptic.Curve, flags []string) (*subtle.…
/aosp_15_r20/external/cronet/third_party/boringssl/src/crypto/fipsmodule/ec/
H A Dmake_tables.go89 func writeCurveData(w *columnWriter, curve elliptic.Curve, includeNonMontgomery bool) error {
302 func makeMultiples(curve elliptic.Curve, n, shift int) [][2]*big.Int {
325 func makeComb(curve elliptic.Curve, stride, size, shift int) [][2]*big.Int {
384 func bigIntToU64s(curve elliptic.Curve, n *big.Int) []uint64 {
395 func bigIntToU32s(curve elliptic.Curve, n *big.Int) []uint32 {
471 func writeDecl(w *columnWriter, curve elliptic.Curve, bits int, decl string, n *big.Int) error {
504 func writeBNMont(w *columnWriter, curve elliptic.Curve, n *big.Int) error {
513 func writeU64Mont(w *columnWriter, curve elliptic.Curve, n *big.Int) error {
518 func writeU32Mont(w *columnWriter, curve elliptic.Curve, n *big.Int) error {
525 func writeTable(w *columnWriter, curve elliptic.Curve, table [][2]*big.Int, writeBigInt writeBigInt…
[all …]
/aosp_15_r20/external/boringssl/src/crypto/fipsmodule/ec/
H A Dmake_tables.go89 func writeCurveData(w *columnWriter, curve elliptic.Curve, includeNonMontgomery bool) error {
302 func makeMultiples(curve elliptic.Curve, n, shift int) [][2]*big.Int {
325 func makeComb(curve elliptic.Curve, stride, size, shift int) [][2]*big.Int {
384 func bigIntToU64s(curve elliptic.Curve, n *big.Int) []uint64 {
395 func bigIntToU32s(curve elliptic.Curve, n *big.Int) []uint32 {
471 func writeDecl(w *columnWriter, curve elliptic.Curve, bits int, decl string, n *big.Int) error {
504 func writeBNMont(w *columnWriter, curve elliptic.Curve, n *big.Int) error {
513 func writeU64Mont(w *columnWriter, curve elliptic.Curve, n *big.Int) error {
518 func writeU32Mont(w *columnWriter, curve elliptic.Curve, n *big.Int) error {
525 func writeTable(w *columnWriter, curve elliptic.Curve, table [][2]*big.Int, writeBigInt writeBigInt…
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/ring/src/
Dec.rs19 pub struct Curve { struct
23 pub id: CurveID, argument
35 derive_debug_via_id!(Curve); argument
/aosp_15_r20/prebuilts/go/linux-x86/src/crypto/elliptic/
Delliptic_test.go19 func genericParamsForCurve(c Curve) *CurveParams {
24 func testAllCurves(t *testing.T, f func(*testing.T, Curve)) { argument
89 func testInfinity(t *testing.T, curve Curve) {
179 func testUnmarshalToLargeCoordinates(t *testing.T, curve Curve) {
228 func testInvalidCoordinates(t *testing.T, curve Curve) {
313 func testMarshalCompressed(t *testing.T, curve Curve, x, y *big.Int, want []byte) {
346 func benchmarkAllCurves(b *testing.B, f func(*testing.B, Curve)) { argument
Delliptic.go31 type Curve interface { interface
75 func GenerateKey(curve Curve, rand io.Reader) (priv []byte, x, y *big.Int, err error) {
109 func Marshal(curve Curve, x, y *big.Int) []byte {
126 func MarshalCompressed(curve Curve, x, y *big.Int) []byte {
153 func Unmarshal(curve Curve, data []byte) (x, y *big.Int) {
180 func UnmarshalCompressed(curve Curve, data []byte) (x, y *big.Int) {
212 func panicIfNotOnCurve(curve Curve, x, y *big.Int) {
/aosp_15_r20/external/rust/android-crates-io/crates/mls-rs-crypto-traits/src/
Dec.rs11 pub enum Curve { enum
28 impl Curve { implementation
/aosp_15_r20/external/skia/tests/
H A DPathOpsThreeWayTest.cpp21 struct Curve { struct
26 static const Curve testSet0[] = { // extracted from skpClip2 argument
/aosp_15_r20/prebuilts/go/linux-x86/src/crypto/ecdh/
Decdh.go18 type Curve interface { interface
98 func (k *PublicKey) Curve() Curve { func
157 func (k *PrivateKey) Curve() Curve { func
Decdh_test.go358 func testAllCurves(t *testing.T, f func(t *testing.T, curve ecdh.Curve)) {
404 func benchmarkAllCurves(b *testing.B, f func(b *testing.B, curve ecdh.Curve)) {
/aosp_15_r20/external/rust/beto-rust/nearby/connections/ukey2/ukey2_proto/src/ukey2_all_proto/
Ddevice_to_device_messages.rs485 pub fn curve(&self) -> Curve { in curve()
501 pub fn set_curve(&mut self, v: Curve) { in set_curve()
904 pub enum Curve { enum
909 impl ::protobuf::Enum for Curve { implementation
916 fn from_i32(value: i32) -> ::std::option::Option<Curve> { in from_i32()
929 impl ::std::default::Default for Curve { implementation
/aosp_15_r20/external/rust/android-crates-io/crates/criterion-plot/src/
Dcurve.rs159 pub enum Curve<X, Y> { enum
204 impl<X, Y> Curve<X, Y> { implementation
/aosp_15_r20/frameworks/base/core/java/android/hardware/display/
H A DCurve.java23 public final class Curve implements Parcelable { class
27 public Curve(float[] x, float[] y) { in Curve() method in Curve
/aosp_15_r20/external/pdfium/third_party/lcms/src/
H A Dcmsgamma.c906 void CMSEXPORT cmsFreeToneCurve(cmsToneCurve* Curve) in cmsFreeToneCurve()
1330 cmsBool CMSEXPORT cmsIsToneCurveLinear(const cmsToneCurve* Curve) in cmsIsToneCurveLinear()
1419 cmsFloat32Number CMSEXPORT cmsEvalToneCurveFloat(const cmsToneCurve* Curve, cmsFloat32Number v) in cmsEvalToneCurveFloat()
1438 cmsUInt16Number CMSEXPORT cmsEvalToneCurve16(const cmsToneCurve* Curve, cmsUInt16Number v) in cmsEvalToneCurve16()
/aosp_15_r20/external/rust/beto-rust/nearby/crypto/crypto_provider/src/
Delliptic_curve.rs18 pub trait Curve {} trait
/aosp_15_r20/external/rust/android-crates-io/crates/ring/src/ec/
Dkeys.rs32 curve: &'static Curve, in generate()
46 curve: &'static Curve, in from_bytes()
Dsuite_b.rs157 curve: &'static ec::Curve, in key_pair_from_pkcs8()
213 curve: &'static ec::Curve, in key_pair_from_bytes()
/aosp_15_r20/external/tink/go/signature/subtle/
H A Dsubtle_test.go44 Curve string `json:"curve"` member
52 Curve string `json:"crv"` member
/aosp_15_r20/external/boringssl/src/rust/bssl-crypto/src/
H A Dec.rs28 pub trait Curve: Debug { interface
/aosp_15_r20/external/cronet/third_party/boringssl/src/rust/bssl-crypto/src/
H A Dec.rs28 pub trait Curve: Debug { trait

1234