Searched refs:publicValue (Results 1 - 7 of 7) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/security/ec/
H A DECDHKeyAgreement.java46 private byte[] publicValue; field in class:ECDHKeyAgreement
66 publicValue = null;
88 if (publicValue != null) {
104 publicValue = ((ECPublicKeyImpl)ecKey).getEncodedPublicValue();
106 publicValue =
118 if ((privateKey == null) || (publicValue == null)) {
128 return deriveKey(s, publicValue, encodedParams);
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11ECDHKeyAgreement.java59 private byte[] publicValue; field in class:P11ECDHKeyAgreement
79 publicValue = null;
99 if (publicValue != null) {
113 publicValue = P11ECKeyFactory.getEncodedPublicValue(ecKey);
119 if ((privateKey == null) || (publicValue == null)) {
130 new CK_ECDH1_DERIVE_PARAMS(CKD_NULL, null, publicValue);
146 publicValue = null;
180 if ((privateKey == null) || (publicValue == null)) {
192 new CK_ECDH1_DERIVE_PARAMS(CKD_NULL, null, publicValue);
209 publicValue
[all...]
H A DP11KeyAgreement.java64 private BigInteger publicValue; field in class:P11KeyAgreement
87 publicValue = null;
108 if (publicValue != null) {
176 publicValue = y;
189 if ((privateKey == null) || (publicValue == null)) {
202 new CK_MECHANISM(mechanism, publicValue), privateKey.keyID,
229 publicValue = null;
303 if ((privateKey == null) || (publicValue == null)) {
317 new CK_MECHANISM(mechanism, publicValue), privateKey.keyID,
342 publicValue
[all...]
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DDHCrypt.java88 private BigInteger publicValue; // X (aka y) field in class:DHCrypt
106 publicValue = spec.getY();
134 publicValue = spec.getY();
171 return publicValue;
/openjdk7/jdk/src/share/native/sun/security/ec/
H A DECC_JNI.cpp113 resultElements[1] = (jlong) &(privKey->publicValue); // encoded ec point
132 // Don't free privKey->privateValue and privKey->publicValue
289 pubKey.publicValue.data = NULL;
305 pubKey.publicValue.len = env->GetArrayLength(publicKey);
306 pubKey.publicValue.data =
322 if (pubKey.publicValue.data)
324 (jbyte *) pubKey.publicValue.data, JNI_ABORT);
/openjdk7/jdk/src/share/native/sun/security/ec/impl/
H A Dec.c316 SECITEM_AllocItem(arena, &key->publicValue, 2*len + 1, kmflag);
334 rv = ec_points_mul(ecParams, &k, NULL, NULL, &(key->publicValue), kmflag);
478 EC_ValidatePublicKey(ECParams *ecParams, SECItem *publicValue, int kmflag) argument
486 if (!ecParams || !publicValue) {
493 if (publicValue->data[0] != EC_POINT_FORM_UNCOMPRESSED) {
496 } else if (publicValue->len != (2 * len + 1)) {
507 CHECK_MPI_OK( mp_read_unsigned_octets(&Px, publicValue->data + 1, (mp_size) len) );
508 CHECK_MPI_OK( mp_read_unsigned_octets(&Py, publicValue->data + 1 + len, (mp_size) len) );
556 ** multiplication of privateValue and publicValue (with or without the
565 ECDH_Derive(SECItem *publicValue, argument
[all...]
H A Decc_impl.h204 SECItem publicValue; /* elliptic curve point encoded as member in struct:ECPublicKeyStr
212 SECItem publicValue; /* encoded ec point */ member in struct:ECPrivateKeyStr

Completed in 50 milliseconds