/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/testing/ |
H A D | StreamingTestUtil.java | 367 byte[] plaintext, in testEncryptionAndDecryption() 511 StreamingAead ags, byte[] plaintext, byte[] associatedData, int firstSegmentOffset) in encryptWithChannel() 538 ReadableByteChannel plaintext, in encryptWithChannel() 560 StreamingAead ags, byte[] plaintext, byte[] associatedData, int firstSegmentOffset) in encryptWithStream() 846 StreamingAead ags, byte[] plaintext, byte[] associatedData, byte[] ciphertext) in isValidCiphertext() 869 byte[] plaintext) in tryDecryptModifiedCiphertext() 966 StreamingAead ags, byte[] modifiedCiphertext, byte[] associatedData, byte[] plaintext) in tryDecryptModifiedCiphertextWithSeekableByteChannel() 1076 final ReadableByteChannel plaintext, in createCiphertextChannel() 1098 ReadableByteChannel plaintext = new PseudorandomReadableByteChannel(plaintextSize); in testEncryptDecryptLong() local 1124 SeekableByteBufferChannel plaintext = in testFileEncryptionWithChannel() local
|
/aosp_15_r20/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/ |
H A D | AesGcmHkdfAeadCrypter.java | 58 public void encrypt(ByteBuffer ciphertext, ByteBuffer plaintext, byte[] nonce) in encrypt() 66 public void encrypt(ByteBuffer ciphertext, ByteBuffer plaintext, ByteBuffer aad, byte[] nonce) in encrypt() 74 public void decrypt(ByteBuffer plaintext, ByteBuffer ciphertext, byte[] nonce) in decrypt() 82 public void decrypt(ByteBuffer plaintext, ByteBuffer ciphertext, ByteBuffer aad, byte[] nonce) in decrypt()
|
/aosp_15_r20/external/cronet/crypto/ |
H A D | aead.cc | 50 base::span<const uint8_t> plaintext, in Seal() 65 bool Aead::Seal(std::string_view plaintext, in Seal() 132 std::optional<size_t> Aead::Seal(base::span<const uint8_t> plaintext, in Seal() 154 std::optional<size_t> Aead::Open(base::span<const uint8_t> plaintext, in Open()
|
H A D | encryptor.cc | 65 bool Encryptor::Encrypt(std::string_view plaintext, std::string* ciphertext) { in Encrypt() 69 bool Encryptor::Encrypt(base::span<const uint8_t> plaintext, in Encrypt() 74 bool Encryptor::Decrypt(std::string_view ciphertext, std::string* plaintext) { in Decrypt() 79 std::vector<uint8_t>* plaintext) { in Decrypt()
|
/aosp_15_r20/hardware/interfaces/keymaster/3.0/vts/functional/ |
H A D | keymaster_hidl_hal_test.cpp | 847 string plaintext = in DecryptMessage() local 2500 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() local 2571 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() local 2788 string plaintext = DecryptMessage(ciphertext1, params); in TEST_P() local 2889 string plaintext = DecryptMessage(ciphertext1, params); in TEST_P() local 2953 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() local 3001 string plaintext; in TEST_P() local 3046 string plaintext = DecryptMessage(ciphertext1, params_iv1); in TEST_P() local 3141 string plaintext; in TEST_P() local 3162 const char* plaintext; member [all …]
|
/aosp_15_r20/external/tink/cc/streamingaead/ |
H A D | decrypting_random_access_stream_test.cc | 124 std::string plaintext = subtle::Random::GetRandomBytes(pt_size); in TEST() local 171 std::string plaintext = subtle::Random::GetRandomBytes(pt_size); in TEST() local 229 std::string plaintext = subtle::Random::GetRandomBytes(pt_size); in TEST() local 288 std::string plaintext = subtle::Random::GetRandomBytes(pt_size); in TEST() local 319 std::string plaintext = subtle::Random::GetRandomBytes(pt_size); in TEST() local
|
/aosp_15_r20/external/tink/testing/cross_language/protos/ |
H A D | testing_api.proto | 192 bytes plaintext = 2; field 211 bytes plaintext = 1; field 234 bytes plaintext = 2; field 253 bytes plaintext = 1; field 275 bytes plaintext = 2; field 294 bytes plaintext = 1; field 352 bytes plaintext = 2; field 371 bytes plaintext = 1; field
|
/aosp_15_r20/external/tink/testing/java_src/protos/ |
H A D | testing_api.proto | 192 bytes plaintext = 2; field 211 bytes plaintext = 1; field 234 bytes plaintext = 2; field 253 bytes plaintext = 1; field 275 bytes plaintext = 2; field 294 bytes plaintext = 1; field 352 bytes plaintext = 2; field 371 bytes plaintext = 1; field
|
/aosp_15_r20/external/tink/testing/go/protos/ |
H A D | testing_api.proto | 192 bytes plaintext = 2; field 211 bytes plaintext = 1; field 234 bytes plaintext = 2; field 253 bytes plaintext = 1; field 275 bytes plaintext = 2; field 294 bytes plaintext = 1; field 352 bytes plaintext = 2; field 371 bytes plaintext = 1; field
|
/aosp_15_r20/external/tink/testing/cc/protos/ |
H A D | testing_api.proto | 192 bytes plaintext = 2; field 211 bytes plaintext = 1; field 234 bytes plaintext = 2; field 253 bytes plaintext = 1; field 275 bytes plaintext = 2; field 294 bytes plaintext = 1; field 352 bytes plaintext = 2; field 371 bytes plaintext = 1; field
|
/aosp_15_r20/external/tink/testing/python/protos/ |
H A D | testing_api.proto | 192 bytes plaintext = 2; field 211 bytes plaintext = 1; field 234 bytes plaintext = 2; field 253 bytes plaintext = 1; field 275 bytes plaintext = 2; field 294 bytes plaintext = 1; field 352 bytes plaintext = 2; field 371 bytes plaintext = 1; field
|
/aosp_15_r20/external/tink/cc/util/ |
H A D | test_util.h | 232 absl::string_view plaintext, in Encrypt() 266 absl::Cord plaintext, absl::Cord associated_data) const override { in Encrypt() 279 auto plaintext = in Decrypt() local 303 absl::string_view plaintext, in EncryptDeterministically() 572 absl::string_view plaintext, in Encrypt()
|
/aosp_15_r20/external/tink/cc/aead/ |
H A D | cord_aead_wrapper_test.cc | 96 absl::Cord plaintext; in TEST() local 115 absl::Cord plaintext; in TEST() local 161 std::string plaintext = ""; in TEST() local 186 absl::Cord plaintext; in TEST() local
|
H A D | aead_wrapper.cc | 84 absl::string_view plaintext, absl::string_view associated_data) const { in Encrypt() 120 util::StatusOr<std::string> plaintext = in Decrypt() local 140 util::StatusOr<std::string> plaintext = in Decrypt() local
|
/aosp_15_r20/hardware/interfaces/security/keymint/aidl/vts/functional/ |
H A D | KeyMintTest.cpp | 4576 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() local 4644 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() local 5125 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() local 5155 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() local 5430 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() local 5660 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() local 5796 string plaintext = DecryptMessage(ciphertext1, params); in TEST_P() local 5875 string plaintext = DecryptMessage(ciphertext1, params); in TEST_P() local 5917 string plaintext = DecryptMessage(ciphertext, decrypt_params); in TEST_P() local 6080 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() local [all …]
|
/aosp_15_r20/external/tink/cc/daead/ |
H A D | deterministic_aead_wrapper_test.cc | 134 std::string plaintext = "some_plaintext"; in TEST_F() local 263 constexpr absl::string_view plaintext = "This is some plaintext!"; in TEST_F() local 311 constexpr absl::string_view plaintext = "This is some plaintext!"; in TEST_F() local 361 constexpr absl::string_view plaintext = "This is some plaintext!"; in TEST_F() local
|
/aosp_15_r20/external/federated-compute/fcp/secagg/shared/ |
H A D | aes_gcm_encryption_test.cc | 44 StatusOr<std::string> plaintext = aes.Decrypt(key, ciphertext); in TEST() local 90 StatusOr<std::string> plaintext = aes.Decrypt(key, ciphertext); in TEST() local 105 StatusOr<std::string> plaintext = aes.Decrypt(key, ciphertext); in TEST() local 121 StatusOr<std::string> plaintext = aes.Decrypt(key2, ciphertext); in TEST() local
|
/aosp_15_r20/external/tink/cc/aead/internal/ |
H A D | zero_copy_aead_wrapper.cc | 70 absl::string_view plaintext, absl::string_view associated_data) const { in Encrypt() 101 std::string plaintext; in Decrypt() local 120 std::string plaintext; in Decrypt() local
|
/aosp_15_r20/external/tink/cc/hybrid/internal/ |
H A D | hpke_context_test.cc | 81 util::StatusOr<std::string> plaintext = in TEST_P() local 138 util::StatusOr<std::string> plaintext = in TEST_P() local 163 util::StatusOr<std::string> plaintext = in TEST_P() local 188 util::StatusOr<std::string> plaintext = in TEST_P() local
|
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/aead/internal/ |
H A D | InsecureNonceChaCha20Base.java | 61 public byte[] encrypt(final byte[] nonce, final byte[] plaintext) in encrypt() 69 public void encrypt(ByteBuffer output, final byte[] nonce, final byte[] plaintext) in encrypt() 85 ByteBuffer plaintext = ByteBuffer.allocate(ciphertext.remaining()); in decrypt() local
|
/aosp_15_r20/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/ |
H A D | AesGcmHkdfAeadCrypterTest.java | 38 final byte[] plaintext; field in AesGcmHkdfAeadCrypterTest.TestVector 60 byte[] plaintext; field in AesGcmHkdfAeadCrypterTest.TestVectorBuilder 95 TestVectorBuilder withPlaintext(String plaintext) { in withPlaintext()
|
/aosp_15_r20/external/tink/cc/subtle/ |
H A D | xchacha20_poly1305_boringssl_test.cc | 79 util::StatusOr<std::string> plaintext = in TEST() local 120 util::StatusOr<std::string> plaintext = in TEST() local 192 util::StatusOr<std::string> plaintext = in TEST_P() local
|
H A D | decrypting_random_access_stream_test.cc | 181 std::string plaintext = subtle::Random::GetRandomBytes(pt_size); in TEST() local 214 std::string plaintext = subtle::Random::GetRandomBytes(pt_size); in TEST() local 262 std::string plaintext = subtle::Random::GetRandomBytes(pt_size); in TEST() local 308 std::string plaintext = subtle::Random::GetRandomBytes(pt_size); in TEST() local
|
/aosp_15_r20/external/private-join-and-compute/private_join_and_compute/crypto/ |
H A D | ec_commutative_cipher.cc | 111 absl::string_view plaintext) { in Encrypt() 155 ECCommutativeCipher::HashToTheCurveInternal(absl::string_view plaintext) { in HashToTheCurveInternal() 173 ECCommutativeCipher::HashToTheCurve(absl::string_view plaintext) { in HashToTheCurve()
|
/aosp_15_r20/external/tink/cc/hybrid/ |
H A D | hybrid_encrypt_wrapper_test.cc | 136 std::string plaintext = "some_plaintext"; in TEST_F() local 243 constexpr absl::string_view plaintext = "This is some plaintext!"; in TEST_F() local 285 constexpr absl::string_view plaintext = "This is some plaintext!"; in TEST_F() local
|