/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/jwt/ |
H A D | JwtHmacKeyTest.java | 43 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 D | Ed25519PublicKeyTest.java | 48 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 D | XChaCha20Poly1305KeyTest.java | 35 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 D | ChaCha20Poly1305KeyTest.java | 35 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 D | AesGcmKeyTest.java | 45 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 D | AesGcmSivKeyTest.java | 42 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 D | AesEaxKeyTest.java | 45 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 D | HmacPrfKey.java | 39 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 D | HkdfPrfKey.java | 41 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 D | AesCmacPrfKey.java | 38 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 D | AesGcmKey.java | 42 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 D | AesEaxKey.java | 42 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 D | AesGcmSivKey.java | 42 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 D | HmacKey.java | 42 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 D | AesSivKey.java | 43 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/ |
D | IkeMacPrf.java | 105 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()
|
D | IkeNormalModeCipher.java | 62 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()
|
D | IkeCombinedModeCipher.java | 87 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 D | AesSivKeyTest.java | 44 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 D | HmacKeyTest.java | 45 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 D | EcCommutativeCipher.java | 83 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 D | OpenSSLMac.java | 52 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 D | OpenSSLMac.java | 50 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/ |
D | KeyGenerationUtils.java | 42 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 D | AesCmacPrfKeyTest.java | 43 SecretBytes keyBytes = SecretBytes.randomBytes(keySize); in createAndGetProperties_succeeds() local 60 SecretBytes keyBytes = SecretBytes.randomBytes(16); in equals() local
|