Home
last modified time | relevance | path

Searched defs:publicKeyBytes (Results 1 – 25 of 66) sorted by relevance

123

/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/hybrid/
H A DHpkePublicKeyTest.java73 Bytes publicKeyBytes = in createNistCurvePublicKey() local
96 Bytes publicKeyBytes = Bytes.copyFrom(X25519.publicFromPrivate(X25519.generatePrivateKey())); in createX25519PublicKey() local
118 Bytes publicKeyBytes = in createNistCurvePublicKey_failsWithWrongKeyLength() local
145 Bytes publicKeyBytes = Bytes.copyFrom(X25519.publicFromPrivate(X25519.generatePrivateKey())); in createX25519PublicKey_failsWithWrongKeyLength() local
188 Bytes publicKeyBytes = in createNistCurvePublicKey_failsIfPointNotOnCurve() local
204 Bytes publicKeyBytes = Bytes.copyFrom(X25519.publicFromPrivate(X25519.generatePrivateKey())); in createPublicKey_failsWithMismatchedIdRequirement() local
230 Bytes publicKeyBytes = Bytes.copyFrom(X25519.publicFromPrivate(X25519.generatePrivateKey())); in getOutputPrefix() local
263 Bytes publicKeyBytes = Bytes.copyFrom(X25519.publicFromPrivate(X25519.generatePrivateKey())); in sameKeysAreEqual() local
280 Bytes publicKeyBytes = Bytes.copyFrom(X25519.publicFromPrivate(X25519.generatePrivateKey())); in differentParamsAreNotEqual() local
321 Bytes publicKeyBytes = Bytes.copyFrom(X25519.publicFromPrivate(X25519.generatePrivateKey())); in differentIdsAreNotEqual() local
H A DHpkePrivateKeyTest.java79 Bytes publicKeyBytes = in createNistCurvePrivateKey() local
109 Bytes publicKeyBytes = Bytes.copyFrom(X25519.publicFromPrivate(privateKeyBytes)); in createX25519PrivateKey() local
136 Bytes publicKeyBytes = in createNistCurvePrivateKey_failsWithWrongKeyLength() local
168 Bytes publicKeyBytes = in createNistCurvePrivateKey_failsWithMismatchedPublicKey() local
195 Bytes publicKeyBytes = Bytes.copyFrom(X25519.publicFromPrivate(privateKeyBytes)); in createX25519PrivateKey_failsWithWrongKeyLength() local
218 Bytes publicKeyBytes = Bytes.copyFrom(X25519.publicFromPrivate(X25519.generatePrivateKey())); in createX25519PrivateKey_failsWithMismatchedPublicKey() local
239 Bytes publicKeyBytes = Bytes.copyFrom(X25519.publicFromPrivate(privateKeyBytes)); in sameKeysAreEqual() local
263 Bytes publicKeyBytes = Bytes.copyFrom(X25519.publicFromPrivate(privateKeyBytes)); in differentPublicKeyParamsAreNotEqual() local
293 Bytes publicKeyBytes = Bytes.copyFrom(X25519.publicFromPrivate(privateKeyBytes)); in differentKeyTypesAreNotEqual() local
H A DEciesPublicKeyTest.java203 Bytes publicKeyBytes = Bytes.copyFrom(X25519.publicFromPrivate(X25519.generatePrivateKey())); in createX25519PublicKey_withWrongKeyLength_fails() local
246 Bytes publicKeyBytes = Bytes.copyFrom(X25519.publicFromPrivate(X25519.generatePrivateKey())); in createPublicKeyWithMismatchedIdRequirement_fails() local
352 Bytes publicKeyBytes = Bytes.copyFrom(X25519.publicFromPrivate(X25519.generatePrivateKey())); in keysWithDifferentParams_areNotEqual() local
393 Bytes publicKeyBytes = Bytes.copyFrom(X25519.publicFromPrivate(X25519.generatePrivateKey())); in keysWithdifferentIds_areNotEqual() local
H A DEciesPrivateKeyTest.java193 Bytes publicKeyBytes = Bytes.copyFrom(X25519.publicFromPrivate(X25519.generatePrivateKey())); in callCreateForNistCurveWithX25519PublicKey_throws() local
324 Bytes publicKeyBytes = Bytes.copyFrom(X25519.publicFromPrivate(X25519.generatePrivateKey())); in createX25519PrivateKey_failsWithMismatchedPublicKey() local
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/hybrid/
H A DHpkePublicKey.java39 private final Bytes publicKeyBytes; field in HpkePublicKey
45 Bytes publicKeyBytes, in HpkePublicKey()
66 private static void validatePublicKeyByteLength(HpkeParameters.KemId kemId, Bytes publicKeyBytes) in validatePublicKeyByteLength()
118 private static void validatePublicKeyOnCurve(HpkeParameters.KemId kemId, Bytes publicKeyBytes) in validatePublicKeyOnCurve()
136 private static void validatePublicKey(HpkeParameters.KemId kemId, Bytes publicKeyBytes) in validatePublicKey()
175 HpkeParameters parameters, Bytes publicKeyBytes, @Nullable Integer idRequirement) in create()
178 validatePublicKey(parameters.getKemId(), publicKeyBytes); in create() local
H A DEciesPrivateKey.java82 private static void validateX25519PrivateKeyBytes(byte[] privateKeyBytes, byte[] publicKeyBytes) in validateX25519PrivateKeyBytes()
H A DHpkePrivateKey.java105 HpkeParameters.KemId kemId, byte[] publicKeyBytes, byte[] privateKeyBytes) in validateKeyPair()
H A DHpkeProtoSerialization.java255 com.google.crypto.tink.proto.HpkeKem kem, byte[] publicKeyBytes) in encodePublicKeyBytes()
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/signature/
H A DEd25519PublicKey.java40 private final Bytes publicKeyBytes; field in Ed25519PublicKey
46 Bytes publicKeyBytes, in Ed25519PublicKey()
83 public static Ed25519PublicKey create(Bytes publicKeyBytes) throws GeneralSecurityException { in create()
93 Ed25519Parameters.Variant variant, Bytes publicKeyBytes, @Nullable Integer idRequirement) in create()
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/hybrid/internal/
H A DX25519HpkeKemPrivateKeyTest.java37 private static byte[] publicKeyBytes; field in X25519HpkeKemPrivateKeyTest
H A DHpkePublicKeyManagerTest.java45 private static byte[] publicKeyBytes; field in HpkePublicKeyManagerTest
H A DHpkeEncryptDecryptTest.java44 private static byte[] publicKeyBytes; field in HpkeEncryptDecryptTest
/aosp_15_r20/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
H A DKeyAgreementThread.java34 private byte[] publicKeyBytes = null; field in KeyAgreementThread.KeyAgreementGen
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/signature/
H A DEd25519PublicKeyTest.java190 Bytes publicKeyBytes = Bytes.copyFrom(Random.randBytes(32)); in testDifferentKeyTypesEquality_fails() local
/aosp_15_r20/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/
H A DXdhKeyTest.java51 private final byte[] publicKeyBytes = publicKey.getU(); field in XdhKeyTest
/aosp_15_r20/external/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/
H A DXdhKeyTest.java47 private final byte[] publicKeyBytes = publicKey.getU(); field in XdhKeyTest
/aosp_15_r20/frameworks/base/telephony/java/android/telephony/
H A DImsiEncryptionInfo.java129 private static PublicKey makeKeyObject(byte[] publicKeyBytes) { in makeKeyObject()
/aosp_15_r20/out/soong/.intermediates/external/firebase-messaging/firebase-installations-aar/android_common/aar/
Dfirebase-installations-aar.jarcom/google/firebase/installations/AwaitListener.class AwaitListener.java package com.google. ...
Dclasses.jarcom/google/firebase/installations/AwaitListener.class AwaitListener.java package com.google. ...
/aosp_15_r20/out/soong/.intermediates/tools/apksig/apksig/linux_glibc_common/local-javac-header/
Dapksig.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/aosp_15_r20/out/soong/.intermediates/tools/apksig/apksig/linux_glibc_common/javac/
Dapksig.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/aosp_15_r20/out/soong/.intermediates/frameworks/base/framework-minus-apex/android_common/repackaged-jarjar/javac-17/
Dframework.jarandroid/view/InternalInsetsAnimationController.class InternalInsetsAnimationController.java package android.view public abstract android.view ...
/aosp_15_r20/out/soong/.intermediates/frameworks/base/framework-minus-apex/android_common/javac/
Dframework.jar17META-INF/ META-INF/MANIFEST.MF android/ android/util/ android/ ...
/aosp_15_r20/prebuilts/module_sdk/conscrypt/current/host-exports/java/linux_glibc/
Dconscrypt-unbundled.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/conscrypt/ org/ ...
/aosp_15_r20/out/soong/.intermediates/external/conscrypt/conscrypt-unbundled/linux_glibc_common/local-javac-header/
Dconscrypt-unbundled.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/conscrypt/ org/ ...

123