Home
last modified time | relevance | path

Searched defs:plaintext (Results 26 – 50 of 540) sorted by relevance

12345678910>>...22

/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/testing/
H A DStreamingTestUtil.java367 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 DAesGcmHkdfAeadCrypter.java58 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 Daead.cc50 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 Dencryptor.cc65 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 Dkeymaster_hidl_hal_test.cpp847 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 Ddecrypting_random_access_stream_test.cc124 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 Dtesting_api.proto192 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 Dtesting_api.proto192 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 Dtesting_api.proto192 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 Dtesting_api.proto192 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 Dtesting_api.proto192 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 Dtest_util.h232 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 Dcord_aead_wrapper_test.cc96 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 Daead_wrapper.cc84 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 DKeyMintTest.cpp4576 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 Ddeterministic_aead_wrapper_test.cc134 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 Daes_gcm_encryption_test.cc44 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 Dzero_copy_aead_wrapper.cc70 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 Dhpke_context_test.cc81 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 DInsecureNonceChaCha20Base.java61 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 DAesGcmHkdfAeadCrypterTest.java38 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 Dxchacha20_poly1305_boringssl_test.cc79 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 Ddecrypting_random_access_stream_test.cc181 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 Dec_commutative_cipher.cc111 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 Dhybrid_encrypt_wrapper_test.cc136 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

12345678910>>...22