OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:priv2
(Results
1 - 3
of
3
) sorted by null
/external/ipsec-tools/src/racoon/
eaytest.c
931
vchar_t p2, *pub2, *
priv2
, *gxy2;
local
950
if (eay_dh_generate(&p2, 2, 96, &pub2, &
priv2
) < 0) {
954
printf("private key for user 2 = \n"); PVDUMP(
priv2
);
966
eay_dh_compute(&p2, 2, pub2,
priv2
, pub1, &gxy2);
977
vfree(
priv2
);
/prebuilts/go/darwin-x86/src/crypto/x509/
x509_test.go
165
priv2
, err := ParsePKCS1PrivateKey(derBytes)
170
if priv.PublicKey.N.Cmp(
priv2
.PublicKey.N) != 0 ||
171
priv.PublicKey.E !=
priv2
.PublicKey.E ||
172
priv.D.Cmp(
priv2
.D) != 0 ||
173
len(
priv2
.Primes) != 3 ||
174
priv.Primes[0].Cmp(
priv2
.Primes[0]) != 0 ||
175
priv.Primes[1].Cmp(
priv2
.Primes[1]) != 0 ||
176
priv.Primes[2].Cmp(
priv2
.Primes[2]) != 0 {
177
t.Errorf("got:%+v want:%+v", priv,
priv2
)
[
all
...]
/prebuilts/go/linux-x86/src/crypto/x509/
x509_test.go
165
priv2
, err := ParsePKCS1PrivateKey(derBytes)
170
if priv.PublicKey.N.Cmp(
priv2
.PublicKey.N) != 0 ||
171
priv.PublicKey.E !=
priv2
.PublicKey.E ||
172
priv.D.Cmp(
priv2
.D) != 0 ||
173
len(
priv2
.Primes) != 3 ||
174
priv.Primes[0].Cmp(
priv2
.Primes[0]) != 0 ||
175
priv.Primes[1].Cmp(
priv2
.Primes[1]) != 0 ||
176
priv.Primes[2].Cmp(
priv2
.Primes[2]) != 0 {
177
t.Errorf("got:%+v want:%+v", priv,
priv2
)
[
all
...]
Completed in 2899 milliseconds