/external/boringssl/src/crypto/ec/ |
CMakeLists.txt | 7 p256-x86_64-asm.${ASM_EXT} 22 p256-64.c 23 p256-x86_64.c 31 perlasm(p256-x86_64-asm.${ASM_EXT} asm/p256-x86_64-asm.pl)
|
/system/core/libmincrypt/ |
Android.mk | 7 LOCAL_SRC_FILES := dsa_sig.c p256.c p256_ec.c p256_ecdsa.c rsa.c sha.c sha256.c 13 LOCAL_SRC_FILES := dsa_sig.c p256.c p256_ec.c p256_ecdsa.c rsa.c sha.c sha256.c
|
p256_ecdsa.c | 30 #include "mincrypt/p256.h"
|
dsa_sig.c | 30 #include "mincrypt/p256.h"
|
p256.c | 27 // This is an implementation of the P256 elliptic curve group. It's written to 40 #include "mincrypt/p256.h"
|
/prebuilts/go/darwin-x86/src/crypto/elliptic/ |
elliptic_test.go | 339 p256 := P256() 340 p256Generic := p256.Params() 352 x, y := p256.ScalarBaseMult(k.Bytes()) 365 p256 := P256() 366 p256Generic := p256.Params() 373 xx, yy := p256.ScalarMult(x, y, k.Bytes()) 390 {"p256", P256()}, [all...] |
p256.go | 7 // This file contains a constant-time, 32-bit implementation of P256. 18 p256 p256Curve 26 p256.CurveParams = &CurveParams{Name: "P-256"} 27 p256.P, _ = new(big.Int).SetString("115792089210356248762697446949407573530086143415290314195533631308867097853951", 10) 28 p256.N, _ = new(big.Int).SetString("115792089210356248762697446949407573529996955224135760342422259061068512044369", 10) 29 p256.B, _ = new(big.Int).SetString("5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b", 16) 30 p256.Gx, _ = new(big.Int).SetString("6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296", 16) 31 p256.Gy, _ = new(big.Int).SetString("4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5", 16) 32 p256.BitSize = 256 48 if n.Cmp(p256.N) >= 0 [all...] |
elliptic.go | 362 // P256 returns a Curve which implements P-256 (see FIPS 186-3, section D.2.3) 363 func P256() Curve { 365 return p256
|
/prebuilts/go/linux-x86/src/crypto/elliptic/ |
elliptic_test.go | 339 p256 := P256() 340 p256Generic := p256.Params() 352 x, y := p256.ScalarBaseMult(k.Bytes()) 365 p256 := P256() 366 p256Generic := p256.Params() 373 xx, yy := p256.ScalarMult(x, y, k.Bytes()) 390 {"p256", P256()}, [all...] |
p256.go | 7 // This file contains a constant-time, 32-bit implementation of P256. 18 p256 p256Curve 26 p256.CurveParams = &CurveParams{Name: "P-256"} 27 p256.P, _ = new(big.Int).SetString("115792089210356248762697446949407573530086143415290314195533631308867097853951", 10) 28 p256.N, _ = new(big.Int).SetString("115792089210356248762697446949407573529996955224135760342422259061068512044369", 10) 29 p256.B, _ = new(big.Int).SetString("5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b", 16) 30 p256.Gx, _ = new(big.Int).SetString("6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296", 16) 31 p256.Gy, _ = new(big.Int).SetString("4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5", 16) 32 p256.BitSize = 256 48 if n.Cmp(p256.N) >= 0 [all...] |
elliptic.go | 362 // P256 returns a Curve which implements P-256 (see FIPS 186-3, section D.2.3) 363 func P256() Curve { 365 return p256
|
/prebuilts/go/darwin-x86/src/crypto/ecdsa/ |
ecdsa_test.go | 40 testKeyGeneration(t, elliptic.P256(), "p256") 70 testSignAndVerify(t, elliptic.P256(), "p256") 107 testNonceSafety(t, elliptic.P256(), "p256") 142 testINDCCA(t, elliptic.P256(), "p256") 207 pub.Curve = elliptic.P256()
|
/prebuilts/go/linux-x86/src/crypto/ecdsa/ |
ecdsa_test.go | 40 testKeyGeneration(t, elliptic.P256(), "p256") 70 testSignAndVerify(t, elliptic.P256(), "p256") 107 testNonceSafety(t, elliptic.P256(), "p256") 142 testINDCCA(t, elliptic.P256(), "p256") 207 pub.Curve = elliptic.P256()
|
/system/core/include/mincrypt/ |
dsa_sig.h | 30 #include "mincrypt/p256.h"
|
p256_ecdsa.h | 33 #include "p256.h"
|
p256.h | 31 // Just enough to implement ecdsa-p256 and related algorithms.
|
/prebuilts/go/darwin-x86/src/crypto/tls/ |
generate_cert.go | 36 ecdsaCurve = flag.String("ecdsa-curve", "", "ECDSA curve to use to generate a key. Valid values are P224, P256, P384, P521") 80 case "P256": 81 priv, err = ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
|
/prebuilts/go/linux-x86/src/crypto/tls/ |
generate_cert.go | 36 ecdsaCurve = flag.String("ecdsa-curve", "", "ECDSA curve to use to generate a key. Valid values are P224, P256, P384, P521") 80 case "P256": 81 priv, err = ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
PkgInstallSignatureVerificationTest.java | 42 private static final String[] EC_KEY_NAMES = {"p256", "p384", "p521"}; 215 // Bitflip in the ECDSA signature. Based on v2-only-with-ecdsa-sha256-p256.apk. 217 "v2-only-with-ecdsa-sha256-p256-sig-does-not-verify.apk", error); 230 // Based on v2-only-with-ecdsa-sha256-p256.apk. Obtained by modifying APK signer to flip the 233 "v2-only-with-ecdsa-sha256-p256-digest-mismatch.apk", error);
|
/external/boringssl/ |
sources.mk | 131 src/crypto/ec/p256-64.c\ 132 src/crypto/ec/p256-x86_64.c\ 378 linux-x86_64/crypto/ec/p256-x86_64-asm.S\ 411 mac-x86_64/crypto/ec/p256-x86_64-asm.S\ 444 win-x86_64/crypto/ec/p256-x86_64-asm.asm\
|
/prebuilts/go/darwin-x86/pkg/darwin_amd64_race/crypto/ |
elliptic.a | 144 func @"".P256 () (? @"".Curve) [all...] |
/prebuilts/go/linux-x86/pkg/linux_amd64_race/crypto/ |
elliptic.a | 144 func @"".P256 () (? @"".Curve) [all...] |
/system/security/keystore/ |
keystore_cli_v2.cpp | 189 {"ECDSA-P256 Sign", true, GetECDSAParameters(256, true)}, 190 {"ECDSA-P256 Sign (more digests)", false, GetECDSAParameters(256, false)},
|
/prebuilts/go/darwin-x86/pkg/darwin_amd64/crypto/ |
elliptic.a | 144 func @"".P256 () (? @"".Curve) [all...] |
/prebuilts/go/linux-x86/pkg/linux_amd64/crypto/ |
elliptic.a | 144 func @"".P256 () (? @"".Curve) [all...] |