Searched refs:sharedSecret (Results 1 - 8 of 8) sorted by relevance
/openjdk9/jdk/src/java.base/share/classes/javax/crypto/ |
H A D | KeyAgreementSpi.java | 150 * <code>sharedSecret</code>, beginning at <code>offset</code> inclusive. 152 * <p>If the <code>sharedSecret</code> buffer is too small to hold the 163 * @param sharedSecret the buffer for the shared secret 164 * @param offset the offset in <code>sharedSecret</code> where the 167 * @return the number of bytes placed into <code>sharedSecret</code> 174 protected abstract int engineGenerateSecret(byte[] sharedSecret, argument
|
H A D | KeyAgreement.java | 603 * {@code sharedSecret}, beginning at {@code offset} inclusive. 605 * <p>If the {@code sharedSecret} buffer is too small to hold the 615 * @param sharedSecret the buffer for the shared secret 616 * @param offset the offset in {@code sharedSecret} where the 619 * @return the number of bytes placed into {@code sharedSecret} 626 public final int generateSecret(byte[] sharedSecret, int offset) argument 630 return spi.engineGenerateSecret(sharedSecret, offset);
|
/openjdk9/jdk/src/jdk.crypto.ec/share/classes/sun/security/ec/ |
H A D | ECDHKeyAgreement.java | 140 protected int engineGenerateSecret(byte[] sharedSecret, int argument 142 if (offset + secretLen > sharedSecret.length) { 144 + " bytes, only " + (sharedSecret.length - offset) + " available"); 147 System.arraycopy(secret, 0, sharedSecret, offset, secret.length);
|
/openjdk9/jdk/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/ |
H A D | P11ECDHKeyAgreement.java | 152 protected int engineGenerateSecret(byte[] sharedSecret, int argument 154 if (offset + secretLen > sharedSecret.length) { 156 + " bytes, only " + (sharedSecret.length - offset) + " available"); 159 System.arraycopy(secret, 0, sharedSecret, offset, secret.length);
|
H A D | P11KeyAgreement.java | 235 protected int engineGenerateSecret(byte[] sharedSecret, int argument 238 int n = multiPartyAgreement.generateSecret(sharedSecret, offset); 242 if (offset + secretLen > sharedSecret.length) { 244 + " bytes, only " + (sharedSecret.length - offset) + " available"); 247 System.arraycopy(secret, 0, sharedSecret, offset, secret.length);
|
/openjdk9/jdk/src/java.base/share/classes/com/sun/crypto/provider/ |
H A D | DHKeyAgreement.java | 255 * <code>sharedSecret</code>, beginning at <code>offset</code>. 257 * <p>If the <code>sharedSecret</code> buffer is too small to hold the 268 * @param sharedSecret the buffer for the shared secret 269 * @param offset the offset in <code>sharedSecret</code> where the 272 * @return the number of bytes placed into <code>sharedSecret</code> 279 protected int engineGenerateSecret(byte[] sharedSecret, int offset) argument 287 if (sharedSecret == null) { 294 if ((sharedSecret.length - offset) < expectedLen) { 319 System.arraycopy(secret, 0, sharedSecret, offset, 324 System.arraycopy(secret, 0, sharedSecret, [all...] |
/openjdk9/jdk/test/com/sun/crypto/provider/TLS/ |
H A D | TestLeadingZeroes.java | 76 byte[] sharedSecret = aliceKeyAgree.generateSecret(); 77 System.out.println("shared secret:\n" + toHexString(sharedSecret)); 80 if (sharedSecret.length != 128) { 83 if (sharedSecret[0] != 0) { 103 if (tlsPremasterSecret[i] != sharedSecret[i+1]) {
|
/openjdk9/jdk/test/sun/security/pkcs11/tls/ |
H A D | TestLeadingZeroesP11.java | 76 byte[] sharedSecret = aliceKeyAgree.generateSecret(); 77 System.out.println("shared secret:\n" + toHexString(sharedSecret)); 80 if (sharedSecret.length != 128) { 83 if (sharedSecret[0] != 0) { 103 if (tlsPremasterSecret[i] != sharedSecret[i+1]) {
|
Completed in 170 milliseconds