Home
last modified time | relevance | path

Searched defs:keyBytes (Results 1 – 25 of 544) sorted by relevance

12345678910>>...22

/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/jwt/
H A DJwtHmacKeyTest.java43 SecretBytes keyBytes = SecretBytes.randomBytes(16); in buildSimpleVariantCheckProperties() local
70 SecretBytes keyBytes = SecretBytes.randomBytes(16); in build_kidStrategyIgnored_WithCustomKid_throws() local
87 SecretBytes keyBytes = SecretBytes.randomBytes(16); in build_kidStrategyIgnored_withIdRequirement_throws() local
101 SecretBytes keyBytes = SecretBytes.randomBytes(16); in build_kidStrategyCustom() local
121 SecretBytes keyBytes = SecretBytes.randomBytes(16); in build_kidStrategyCustom_differentAlgorithmAndKeyId_works() local
141 SecretBytes keyBytes = SecretBytes.randomBytes(16); in build_kidStrategyCustom_doNotSetCustomKid_throws() local
155 SecretBytes keyBytes = SecretBytes.randomBytes(16); in build_kidStrategyCustom_setIdRequirement_throws() local
173 SecretBytes keyBytes = SecretBytes.randomBytes(16); in build_kidStrategyBase64_works() local
195 SecretBytes keyBytes = SecretBytes.randomBytes(16); in build_kidStrategyBase64_setCustomKeyId_throws() local
213 SecretBytes keyBytes = SecretBytes.randomBytes(16); in build_kidStrategyBase64_omitIdRequirement_throws() local
[all …]
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/signature/
H A DEd25519PublicKeyTest.java48 Bytes keyBytes = Bytes.copyFrom(Random.randBytes(32)); in buildNoPrefixVariantAndGetProperties() local
60 Bytes keyBytes = Bytes.copyFrom(Random.randBytes(32)); in buildNoPrefixVariantExplicitAndGetProperties() local
74 Bytes keyBytes = Bytes.copyFrom(Random.randBytes(32)); in buildTinkVariantAndGetProperties() local
90 Bytes keyBytes = Bytes.copyFrom(Random.randBytes(32)); in buildCrunchyVariantAndGetProperties() local
106 Bytes keyBytes = Bytes.copyFrom(Random.randBytes(32)); in buildLegacyVariantAndGetProperties() local
123 Bytes keyBytes = Bytes.copyFrom(Random.randBytes(32)); in requireIdButIdIsNotSet_fails() local
132 Bytes keyBytes = Bytes.copyFrom(Random.randBytes(32)); in doesNotRequireIdButIdIsSet_fails() local
143 Bytes keyBytes = Bytes.copyFrom(Random.randBytes(64)); in invalidKeySize() local
150 Bytes keyBytes = Bytes.copyFrom(Random.randBytes(32)); in testEqualities() local
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/aead/
H A DXChaCha20Poly1305KeyTest.java35 SecretBytes keyBytes = SecretBytes.randomBytes(32); in buildNoPrefixVariantAndGetProperties() local
45 SecretBytes keyBytes = SecretBytes.randomBytes(32); in buildNoPrefixVariantExplicitAndGetProperties() local
56 SecretBytes keyBytes = SecretBytes.randomBytes(32); in buildTinkVariantAndGetProperties() local
69 SecretBytes keyBytes = SecretBytes.randomBytes(32); in buildCrunchyVariantAndGetProperties() local
83 SecretBytes keyBytes = SecretBytes.randomBytes(32); in wrongIdRequirement_throws() local
102 SecretBytes keyBytes = SecretBytes.randomBytes(32); in testEqualities() local
H A DChaCha20Poly1305KeyTest.java35 SecretBytes keyBytes = SecretBytes.randomBytes(32); in buildNoPrefixVariantAndGetProperties() local
45 SecretBytes keyBytes = SecretBytes.randomBytes(32); in buildNoPrefixVariantExplicitAndGetProperties() local
56 SecretBytes keyBytes = SecretBytes.randomBytes(32); in buildTinkVariantAndGetProperties() local
69 SecretBytes keyBytes = SecretBytes.randomBytes(32); in buildCrunchyVariantAndGetProperties() local
83 SecretBytes keyBytes = SecretBytes.randomBytes(32); in wrongIdRequirement_throws() local
100 SecretBytes keyBytes = SecretBytes.randomBytes(32); in testEqualities() local
H A DAesGcmKeyTest.java45 SecretBytes keyBytes = SecretBytes.randomBytes(16); in buildNoPrefixVariantAndGetProperties() local
63 SecretBytes keyBytes = SecretBytes.randomBytes(24); in buildTinkVariantAndGetProperties() local
86 SecretBytes keyBytes = SecretBytes.randomBytes(32); in buildCrunchyVariantAndGetProperties() local
286 SecretBytes keyBytes = SecretBytes.randomBytes(16); in testDifferentKeyTypesEquality_fails() local
H A DAesGcmSivKeyTest.java42 SecretBytes keyBytes = SecretBytes.randomBytes(16); in buildNoPrefixVariantAndGetProperties() local
59 SecretBytes keyBytes = SecretBytes.randomBytes(16); in buildTinkVariantAndGetProperties() local
80 SecretBytes keyBytes = SecretBytes.randomBytes(32); in buildCrunchyVariantAndGetProperties() local
264 SecretBytes keyBytes = SecretBytes.randomBytes(16); in testDifferentKeyTypesEquality_fails() local
H A DAesEaxKeyTest.java45 SecretBytes keyBytes = SecretBytes.randomBytes(16); in buildNoPrefixVariantAndGetProperties() local
63 SecretBytes keyBytes = SecretBytes.randomBytes(16); in buildTinkVariantAndGetProperties() local
86 SecretBytes keyBytes = SecretBytes.randomBytes(16); in buildCrunchyVariantAndGetProperties() local
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/prf/
H A DHmacPrfKey.java39 private final SecretBytes keyBytes; field in HmacPrfKey
44 @Nullable private SecretBytes keyBytes = null; field in HmacPrfKey.Builder
55 public Builder setKeyBytes(SecretBytes keyBytes) { in setKeyBytes()
73 private HmacPrfKey(HmacPrfParameters parameters, SecretBytes keyBytes) { in HmacPrfKey()
H A DHkdfPrfKey.java41 private final SecretBytes keyBytes; field in HkdfPrfKey
46 @Nullable private SecretBytes keyBytes = null; field in HkdfPrfKey.Builder
57 public Builder setKeyBytes(SecretBytes keyBytes) { in setKeyBytes()
75 private HkdfPrfKey(HkdfPrfParameters parameters, SecretBytes keyBytes) { in HkdfPrfKey()
H A DAesCmacPrfKey.java38 private final SecretBytes keyBytes; field in AesCmacPrfKey
40 private AesCmacPrfKey(AesCmacPrfParameters parameters, SecretBytes keyBytes) { in AesCmacPrfKey()
50 public static AesCmacPrfKey create(AesCmacPrfParameters parameters, SecretBytes keyBytes) in create()
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/aead/
H A DAesGcmKey.java42 private final SecretBytes keyBytes; field in AesGcmKey
49 @Nullable private SecretBytes keyBytes = null; field in AesGcmKey.Builder
61 public Builder setKeyBytes(SecretBytes keyBytes) { in setKeyBytes()
111 SecretBytes keyBytes, in AesGcmKey()
H A DAesEaxKey.java42 private final SecretBytes keyBytes; field in AesEaxKey
49 @Nullable private SecretBytes keyBytes = null; field in AesEaxKey.Builder
61 public Builder setKeyBytes(SecretBytes keyBytes) { in setKeyBytes()
111 SecretBytes keyBytes, in AesEaxKey()
H A DAesGcmSivKey.java42 private final SecretBytes keyBytes; field in AesGcmSivKey
49 @Nullable private SecretBytes keyBytes = null; field in AesGcmSivKey.Builder
61 public Builder setKeyBytes(SecretBytes keyBytes) { in setKeyBytes()
111 SecretBytes keyBytes, in AesGcmSivKey()
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/mac/
H A DHmacKey.java42 private final SecretBytes keyBytes; field in HmacKey
49 @Nullable private SecretBytes keyBytes = null; field in HmacKey.Builder
61 public Builder setKeyBytes(SecretBytes keyBytes) { in setKeyBytes()
111 SecretBytes keyBytes, in HmacKey()
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/daead/
H A DAesSivKey.java43 private final SecretBytes keyBytes; field in AesSivKey
50 @Nullable private SecretBytes keyBytes = null; field in AesSivKey.Builder
62 public Builder setKeyBytes(SecretBytes keyBytes) { in setKeyBytes()
112 SecretBytes keyBytes, in AesSivKey()
/aosp_15_r20/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeMacPrf.java105 public byte[] signBytes(byte[] keyBytes, byte[] dataToSign) { in signBytes()
120 private byte[] modifyAesXCbcKeyIfNeeded(byte[] keyBytes) throws GeneralSecurityException { in modifyAesXCbcKeyIfNeeded()
142 private byte[] modifyAesCmacKeyIfNeeded(byte[] keyBytes) { in modifyAesCmacKeyIfNeeded()
215 public byte[] generateKeyMat(byte[] keyBytes, byte[] dataToSign, int keyMaterialLen) { in generateKeyMat()
DIkeNormalModeCipher.java62 private byte[] doCipherAction(byte[] data, byte[] keyBytes, byte[] ivBytes, int opmode) in doCipherAction()
109 public byte[] encrypt(byte[] paddedData, byte[] keyBytes, byte[] ivBytes) { in encrypt()
127 public byte[] decrypt(byte[] encryptedData, byte[] keyBytes, byte[] ivBytes) in decrypt()
DIkeCombinedModeCipher.java87 byte[] data, byte[] additionalAuthData, byte[] keyBytes, byte[] ivBytes, int opmode) in doCipherAction()
157 byte[] paddedData, byte[] additionalAuthData, byte[] keyBytes, byte[] ivBytes) { in encrypt()
179 byte[] keyBytes, in decrypt()
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/daead/
H A DAesSivKeyTest.java44 SecretBytes keyBytes = SecretBytes.randomBytes(32); in buildNoPrefixVariantAndGetProperties() local
62 SecretBytes keyBytes = SecretBytes.randomBytes(32); in buildTinkVariantAndGetProperties() local
85 SecretBytes keyBytes = SecretBytes.randomBytes(32); in buildCrunchyVariantAndGetProperties() local
268 SecretBytes keyBytes = SecretBytes.randomBytes(32); in testDifferentKeyTypesEquality_fails() local
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/mac/
H A DHmacKeyTest.java45 SecretBytes keyBytes = SecretBytes.randomBytes(16); in buildNoPrefixVariantAndGetProperties() local
63 SecretBytes keyBytes = SecretBytes.randomBytes(16); in buildTinkVariantAndGetProperties() local
86 SecretBytes keyBytes = SecretBytes.randomBytes(16); in buildLegacyVariantAndGetProperties() local
109 SecretBytes keyBytes = SecretBytes.randomBytes(16); in buildCrunchyVariantAndGetProperties() local
/aosp_15_r20/external/private-join-and-compute/java/com/google/privacy/private_join_and_compute/encryption/commutative/
H A DEcCommutativeCipher.java83 SupportedCurve curve, HashType hashType, byte[] keyBytes) { in createFromKey()
102 public static EcCommutativeCipher createFromKey(SupportedCurve curve, byte[] keyBytes) { in createFromKey()
118 SupportedCurve curve, byte[] keyBytes) { in createFromKeyCppIncompatible()
/aosp_15_r20/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
H A DOpenSSLMac.java52 protected abstract void initContext(byte[] keyBytes); in initContext()
171 protected void initContext(byte[] keyBytes) { in initContext()
267 protected void initContext(byte[] keyBytes) { in initContext()
/aosp_15_r20/external/conscrypt/common/src/main/java/org/conscrypt/
H A DOpenSSLMac.java50 protected abstract void initContext(byte[] keyBytes); in initContext()
166 protected void initContext(byte[] keyBytes) { in initContext()
242 protected void initContext(byte[] keyBytes) { in initContext()
/aosp_15_r20/packages/modules/IPsec/src/java/com/android/internal/net/crypto/
DKeyGenerationUtils.java42 ByteSigner byteSigner, byte[] keyBytes, byte[] dataToSign, int keyMaterialLen) { in prfPlus()
79 byte[] signBytes(byte[] keyBytes, byte[] dataToSign); in signBytes()
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/prf/
H A DAesCmacPrfKeyTest.java43 SecretBytes keyBytes = SecretBytes.randomBytes(keySize); in createAndGetProperties_succeeds() local
60 SecretBytes keyBytes = SecretBytes.randomBytes(16); in equals() local

12345678910>>...22