Searched refs:sharedSecret (Results 1 - 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/javax/crypto/
H A DKeyAgreementSpi.java150 * <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 DKeyAgreement.java628 * <code>sharedSecret</code>, beginning at <code>offset</code> inclusive.
630 * <p>If the <code>sharedSecret</code> buffer is too small to hold the
640 * @param sharedSecret the buffer for the shared secret
641 * @param offset the offset in <code>sharedSecret</code> where the
644 * @return the number of bytes placed into <code>sharedSecret</code>
651 public final int generateSecret(byte[] sharedSecret, int offset) argument
655 return spi.engineGenerateSecret(sharedSecret, offset);
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DKeyAgreementSpiTest.java65 protected int engineGenerateSecret(byte[] sharedSecret, int offset) argument
67 return super.engineGenerateSecret(sharedSecret, offset);
H A DMockKeyAgreementSpi.java68 protected int engineGenerateSecret(byte[] sharedSecret, int offset) argument
/libcore/luni/src/test/java/libcore/javax/crypto/
H A DMockKeyAgreementSpi.java70 protected int engineGenerateSecret(byte[] sharedSecret, int offset) argument
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
H A DMyKeyAgreementSpi.java59 protected int engineGenerateSecret(byte[] sharedSecret, int offset) argument

Completed in 316 milliseconds