/system/keymaster/ |
kem.h | 40 virtual bool Encrypt(const Buffer& peer_public_value, Buffer* output_clear_key, 42 virtual bool Encrypt(const uint8_t* peer_public_value, size_t peer_public_value_len,
|
ecies_kem.h | 42 bool Encrypt(const Buffer& peer_public_value, Buffer* output_clear_key, 44 bool Encrypt(const uint8_t* peer_public_value, size_t peer_public_value_len,
|
key_blob_test.cpp | 67 keymaster_error_t Encrypt() { 100 ASSERT_EQ(KM_ERROR_OK, Encrypt()); 128 ASSERT_EQ(KM_ERROR_OK, Encrypt()); 138 ASSERT_EQ(KM_ERROR_OK, Encrypt()); 155 ASSERT_EQ(KM_ERROR_OK, Encrypt()); 172 ASSERT_EQ(KM_ERROR_OK, Encrypt()); 189 ASSERT_EQ(KM_ERROR_OK, Encrypt()); 203 ASSERT_EQ(KM_ERROR_OK, Encrypt()); 226 ASSERT_EQ(KM_ERROR_OK, Encrypt()); 249 ASSERT_EQ(KM_ERROR_OK, Encrypt()); [all...] |
ecies_kem.cpp | 75 bool EciesKem::Encrypt(const Buffer& peer_public_value, Buffer* output_clear_key, 77 return Encrypt(peer_public_value.peek_read(), peer_public_value.available_read(), 82 bool EciesKem::Encrypt(const uint8_t* peer_public_value, size_t peer_public_value_len,
|
ecies_kem_test.cpp | 59 ASSERT_TRUE(kem->Encrypt(peer_public_value, &output_clear_key, &output_encrypted_key));
|
/system/connectivity/shill/ |
crypto_rot47_unittest.cc | 43 TEST_F(CryptoROT47Test, Encrypt) { 45 EXPECT_TRUE(crypto_.Encrypt(kPlainText, &text)); 47 EXPECT_TRUE(crypto_.Encrypt(kEmpty, &text));
|
crypto_rot47.cc | 31 bool CryptoROT47::Encrypt(const string& plaintext, string* ciphertext) { 50 return Encrypt(ciphertext, plaintext);
|
crypto_interface.h | 33 virtual bool Encrypt(const std::string& plaintext,
|
crypto_rot47.h | 37 virtual bool Encrypt(const std::string& plaintext, std::string* ciphertext);
|
crypto_des_cbc.h | 50 virtual bool Encrypt(const std::string& plaintext, std::string* ciphertext); 58 FRIEND_TEST(CryptoDESCBCTest, Encrypt);
|
crypto_provider_unittest.cc | 84 TEST_F(CryptoProviderTest, Encrypt) { 85 EXPECT_EQ(kPlainText, provider_.Encrypt(kPlainText)); 86 EXPECT_EQ(kEmptyText, provider_.Encrypt(kEmptyText)); 89 EXPECT_EQ(kROT47Text, provider_.Encrypt(kPlainText)); 95 EXPECT_EQ(kROT47Text, provider_.Encrypt(kPlainText));
|
crypto_provider.h | 39 std::string Encrypt(const std::string& plaintext);
|
crypto_provider.cc | 47 string CryptoProvider::Encrypt(const string& plaintext) { 50 if (crypto->Encrypt(plaintext, &ciphertext)) { 55 LOG(WARNING) << "Unable to encrypt text, returning as is.";
|
crypto_des_cbc_unittest.cc | 93 TEST_F(CryptoDESCBCTest, Encrypt) { 98 EXPECT_FALSE(crypto_.Encrypt(kPlainText, &ciphertext));
|
crypto_des_cbc.cc | 42 bool CryptoDESCBC::Encrypt(const string& plaintext, string* ciphertext) { 43 // Never encrypt. We'll fall back to rot47 which doesn't depend on
|
/prebuilts/go/darwin-x86/src/crypto/des/ |
cipher.go | 39 func (c *desCipher) Encrypt(dst, src []byte) { encryptBlock(c.subkeys[:], dst, src) } 63 func (c *tripleDESCipher) Encrypt(dst, src []byte) { 64 c.cipher1.Encrypt(dst, src) 66 c.cipher3.Encrypt(dst, dst) 71 c.cipher2.Encrypt(dst, dst)
|
/prebuilts/go/linux-x86/src/crypto/des/ |
cipher.go | 39 func (c *desCipher) Encrypt(dst, src []byte) { encryptBlock(c.subkeys[:], dst, src) } 63 func (c *tripleDESCipher) Encrypt(dst, src []byte) { 64 c.cipher1.Encrypt(dst, src) 66 c.cipher3.Encrypt(dst, dst) 71 c.cipher2.Encrypt(dst, dst)
|
/prebuilts/go/darwin-x86/src/crypto/cipher/ |
cipher.go | 12 // using a given key. It provides the capability to encrypt 19 // Encrypt encrypts the first block in src into dst. 21 Encrypt(dst, src []byte)
|
cfb.go | 21 x.b.Encrypt(x.out, x.next)
|
ctr.go | 51 x.b.Encrypt(x.out[remain:], x.ctr)
|
ofb.go | 48 x.b.Encrypt(x.cipher, x.cipher)
|
/prebuilts/go/linux-x86/src/crypto/cipher/ |
cipher.go | 12 // using a given key. It provides the capability to encrypt 19 // Encrypt encrypts the first block in src into dst. 21 Encrypt(dst, src []byte)
|
/prebuilts/go/darwin-x86/src/crypto/rand/ |
rand_unix.go | 136 // t = encrypt(time) 137 // dst = encrypt(t^seed) 138 // seed = encrypt(t^dst) 148 r.cipher.Encrypt(r.time[0:], r.time[0:]) 152 r.cipher.Encrypt(r.dst[0:], r.dst[0:]) 156 r.cipher.Encrypt(r.seed[0:], r.seed[0:])
|
/prebuilts/go/linux-x86/src/crypto/rand/ |
rand_unix.go | 136 // t = encrypt(time) 137 // dst = encrypt(t^seed) 138 // seed = encrypt(t^dst) 148 r.cipher.Encrypt(r.time[0:], r.time[0:]) 152 r.cipher.Encrypt(r.dst[0:], r.dst[0:]) 156 r.cipher.Encrypt(r.seed[0:], r.seed[0:])
|
/prebuilts/go/darwin-x86/src/crypto/aes/ |
cipher.go | 48 func (c *aesCipher) Encrypt(dst, src []byte) {
|