Searched refs:publicValue (Results 1 - 7 of 7) sorted by relevance
/openjdk9/jdk/src/jdk.crypto.ec/share/classes/sun/security/ec/ |
H A D | ECDHKeyAgreement.java | 48 private byte[] publicValue; field in class:ECDHKeyAgreement 68 publicValue = null; 90 if (publicValue != null) { 106 publicValue = ((ECPublicKeyImpl)ecKey).getEncodedPublicValue(); 108 publicValue = 120 if ((privateKey == null) || (publicValue == null)) { 130 return deriveKey(s, publicValue, encodedParams);
|
/openjdk9/jdk/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/ |
H A D | P11ECDHKeyAgreement.java | 59 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 D | P11KeyAgreement.java | 64 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...] |
/openjdk9/jdk/src/jdk.crypto.ec/share/native/libsunec/ |
H A D | ECC_JNI.cpp | 156 jba = getEncodedBytes(env, &(privKey->publicValue)); 180 SECITEM_FreeItem(&privKey->publicValue, B_FALSE); 333 pubKey.publicValue.data = NULL; 352 pubKey.publicValue.len = env->GetArrayLength(publicKey); 353 pubKey.publicValue.data = 369 if (pubKey.publicValue.data) 371 (jbyte *) pubKey.publicValue.data, JNI_ABORT);
|
/openjdk9/jdk/src/jdk.crypto.ec/share/native/libsunec/impl/ |
H A D | ec.c | 318 SECITEM_AllocItem(arena, &key->publicValue, 2*len + 1, kmflag); 337 rv = ec_points_mul(ecParams, &k, NULL, NULL, &(key->publicValue), kmflag, /*timing*/ 0); 481 EC_ValidatePublicKey(ECParams *ecParams, SECItem *publicValue, int kmflag) argument 489 if (!ecParams || !publicValue) { 496 if (publicValue->data[0] != EC_POINT_FORM_UNCOMPRESSED) { 499 } else if (publicValue->len != (2 * len + 1)) { 510 CHECK_MPI_OK( mp_read_unsigned_octets(&Px, publicValue->data + 1, (mp_size) len) ); 511 CHECK_MPI_OK( mp_read_unsigned_octets(&Py, publicValue->data + 1 + len, (mp_size) len) ); 559 ** multiplication of privateValue and publicValue (with or without the 568 ECDH_Derive(SECItem *publicValue, argument [all...] |
H A D | ecc_impl.h | 212 SECItem publicValue; /* elliptic curve point encoded as member in struct:ECPublicKeyStr 220 SECItem publicValue; /* encoded ec point */ member in struct:ECPrivateKeyStr
|
/openjdk9/jdk/src/java.base/share/classes/sun/security/ssl/ |
H A D | DHCrypt.java | 94 private BigInteger publicValue; // X (aka y) field in class:DHCrypt 138 publicValue = spec.getY(); 176 return publicValue;
|
Completed in 105 milliseconds