/system/keymaster/include/keymaster/km_openssl/ |
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,
|
/device/linaro/bootloader/edk2/CryptoPkg/Application/Cryptest/ |
BlockCipherVerify.c | 148 UINT8 Encrypt[256];
165 ZeroMem (Encrypt, sizeof (Encrypt));
174 Status = TdesEcbEncrypt (CipherCtx, TdesEcbData, 8, Encrypt);
180 Status = TdesEcbDecrypt (CipherCtx, Encrypt, 8, Decrypt);
186 if (CompareMem (Encrypt, TdesEcbCipher, 8) != 0) {
201 ZeroMem (Encrypt, sizeof (Encrypt));
210 Status = TdesEcbEncrypt (CipherCtx, TdesEcbData, 8, Encrypt);
216 Status = TdesEcbDecrypt (CipherCtx, Encrypt, 8, Decrypt); [all...] |
/external/pdfium/xfa/fxfa/parser/ |
cxfa_encryption.cpp | 13 {XFA_Element::Encrypt, 1, 0},
|
cxfa_encrypt.cpp | 25 constexpr wchar_t kName[] = L"encrypt"; 35 XFA_Element::Encrypt,
|
cxfa_submit.cpp | 14 const CXFA_Node::PropertyData kPropertyData[] = {{XFA_Element::Encrypt, 1, 0},
|
/system/keymaster/tests/ |
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_test.cpp | 60 ASSERT_TRUE(kem->Encrypt(peer_public_value, &output_clear_key, &output_encrypted_key));
|
/system/bt/vendor_libs/test_vendor_lib/include/ |
connection.h | 58 void Encrypt() { encrypted_ = true; };
|
/system/keymaster/km_openssl/ |
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,
|
/prebuilts/go/darwin-x86/src/crypto/cipher/ |
ctr_test.go | 16 func (noopBlock) Encrypt(dst, src []byte) { copy(dst, src) }
|
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 | 58 x.b.Encrypt(x.out[remain:], x.ctr)
|
/prebuilts/go/linux-x86/src/crypto/cipher/ |
ctr_test.go | 16 func (noopBlock) Encrypt(dst, src []byte) { copy(dst, src) }
|
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/des/ |
cipher.go | 40 func (c *desCipher) Encrypt(dst, src []byte) { encryptBlock(c.subkeys[:], dst, src) } 64 func (c *tripleDESCipher) Encrypt(dst, src []byte) {
|
/prebuilts/go/linux-x86/src/crypto/des/ |
cipher.go | 40 func (c *desCipher) Encrypt(dst, src []byte) { encryptBlock(c.subkeys[:], dst, src) } 64 func (c *tripleDESCipher) Encrypt(dst, src []byte) {
|
/prebuilts/go/darwin-x86/src/crypto/aes/ |
aes_test.go | 283 // Test Cipher Encrypt method against FIPS 197 examples. 292 c.Encrypt(out, tt.in) 295 t.Errorf("Cipher.Encrypt %d: out[%d] = %#x, want %#x", i, j, v, tt.out[j]) 329 mustPanic(t, "crypto/aes: input not full block", func() { c.Encrypt(bytes(1), bytes(1)) }) 331 mustPanic(t, "crypto/aes: input not full block", func() { c.Encrypt(bytes(100), bytes(1)) }) 333 mustPanic(t, "crypto/aes: output not full block", func() { c.Encrypt(bytes(1), bytes(100)) }) 359 c.Encrypt(out, tt.in)
|
cipher.go | 53 func (c *aesCipher) Encrypt(dst, src []byte) {
|
cipher_amd64.go | 48 func (c *aesCipherAsm) Encrypt(dst, src []byte) {
|
cipher_ppc64le.go | 55 func (c *aesCipherAsm) Encrypt(dst, src []byte) {
|
/prebuilts/go/linux-x86/src/crypto/aes/ |
aes_test.go | 283 // Test Cipher Encrypt method against FIPS 197 examples. 292 c.Encrypt(out, tt.in) 295 t.Errorf("Cipher.Encrypt %d: out[%d] = %#x, want %#x", i, j, v, tt.out[j]) 329 mustPanic(t, "crypto/aes: input not full block", func() { c.Encrypt(bytes(1), bytes(1)) }) 331 mustPanic(t, "crypto/aes: input not full block", func() { c.Encrypt(bytes(100), bytes(1)) }) 333 mustPanic(t, "crypto/aes: output not full block", func() { c.Encrypt(bytes(1), bytes(100)) }) 359 c.Encrypt(out, tt.in)
|
/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:])
|