/libcore/support/src/test/java/tests/security/ |
AlgorithmParameterSymmetricHelper.java | 34 private static final String plainData = "some data to encrypt and decrypt";
|
/packages/apps/ManagedProvisioning/res/layout/ |
encrypt_device.xml | 39 android:text="@string/encrypt"
|
/prebuilts/go/darwin-x86/src/crypto/aes/ |
cbc_s390x.go | 32 c.c = b.function + 128 // decrypt function code is encrypt + 128
|
cipher.go | 53 func (c *aesCipher) Encrypt(dst, src []byte) {
|
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/cipher/ |
cfb.go | 21 x.b.Encrypt(x.out, x.next)
|
ofb.go | 48 x.b.Encrypt(x.cipher, x.cipher)
|
cbc.go | 66 // Write the xor to dst, then encrypt in place. 68 x.b.Encrypt(dst[:x.blockSize], dst[:x.blockSize]) 99 // Block's block size and must match the iv used to encrypt the data.
|
/prebuilts/go/linux-x86/src/crypto/aes/ |
cbc_s390x.go | 32 c.c = b.function + 128 // decrypt function code is encrypt + 128
|
cipher.go | 53 func (c *aesCipher) Encrypt(dst, src []byte) {
|
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/linux-x86/src/crypto/cipher/ |
cfb.go | 21 x.b.Encrypt(x.out, x.next)
|
ofb.go | 48 x.b.Encrypt(x.cipher, x.cipher)
|
cbc.go | 66 // Write the xor to dst, then encrypt in place. 68 x.b.Encrypt(dst[:x.blockSize], dst[:x.blockSize]) 99 // Block's block size and must match the iv used to encrypt the data.
|
/system/extras/crypto-perf/ |
crypto.cpp | 133 fprintf(stderr, "encrypt: %llu us\n", 135 fprintf(stderr, "encrypt instructions: %llu\n", 137 fprintf(stderr, "encrypt instructions per second: %f\n", 141 fprintf(stderr, "encrypt instructions per cycle: %f\n",
|
/system/keymaster/ |
ecies_kem_test.cpp | 59 ASSERT_TRUE(kem->Encrypt(peer_public_value, &output_clear_key, &output_encrypted_key));
|
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,
|
/external/ppp/pppd/ |
pppcrypt.c | 156 encrypt((char *)des_input, 0); 172 encrypt((char *)des_input, 1); 198 &key_schedule, 1 /* encrypt */);
|
/external/tpm2/ |
Object_spt_fp.h | 61 // credential, it is the handle of encrypt object. 103 // encrypt the inner wrap of a duplication blob. 119 // credential, it is the handle of encrypt object.
|
CpriSym.c | 106 // Create AES encrypt key schedule 109 // XOR the data block into the IV, encrypt the IV into the IV 220 // Encrypt the IV into the IV, XOR in the data, and copy to output 223 // Encrypt the current value of the IV 278 // Encrypt the IV into the temp buffer 333 // Encrypt the current value of the IV(counter) 473 // Encrypt the current value of the "IV" 523 // Create SM4 encrypt key schedule 526 // XOR the data block into the IV, encrypt the IV into the IV 637 // Encrypt the IV into the IV, XOR in the data, and copy to outpu [all...] |
/prebuilts/go/darwin-x86/src/crypto/rsa/ |
example_test.go | 19 // RSA is able to encrypt only a very limited amount of data. In order 20 // to encrypt reasonable amounts of data a hybrid scheme is commonly 21 // used: RSA is used to encrypt a key for a symmetric primitive like
|
/prebuilts/go/linux-x86/src/crypto/rsa/ |
example_test.go | 19 // RSA is able to encrypt only a very limited amount of data. In order 20 // to encrypt reasonable amounts of data a hybrid scheme is commonly 21 // used: RSA is used to encrypt a key for a symmetric primitive like
|
/kernel/tests/net/test/ |
pf_key.py | 126 "SadbSa", "=IBBBBI", "spi replay state auth encrypt flags") 278 encrypt = _GetMultiConstantName(sa.encrypt, ["SADB_EALG_", 281 "auth=%s, encrypt=%s, flags=%x)" % ( 282 sa.spi, sa.replay, state, auth, encrypt, sa.flags))
|
/external/autotest/client/site_tests/network_DestinationVerification/ |
network_DestinationVerification.py | 256 """Test that shim encrypt operation works correctly. 258 Call into the shim to perform an encrypt operation. 262 @param data_to_encrypt: string data to encrypt. 263 @param expect_failure: bool true if encrypt should fail. 269 output = self._call_shim_with_args(('encrypt',), message) 324 logging.info('Checking graceful fail for too much data to encrypt.') 334 logging.info('Checking that we encrypt the empty string correctly.')
|
/system/tpm/attestation/common/ |
crypto_utility_impl.cc | 221 // Generate an AES key and encrypt the credential. 229 LOG(ERROR) << __func__ << ": Failed to encrypt credential."; 239 // Encrypt the TPM_ASYM_CA_CONTENTS with the EK public key. 252 LOG(ERROR) << __func__ << ": Failed to encrypt with EK public key."; 277 // Encrypt using the TPM_ES_RSAESOAEP_SHA1_MGF1 scheme. 286 LOG(ERROR) << __func__ << ": Failed to encrypt with public key."; 464 LOG(ERROR) << __func__ << ": Failed to encrypt OAEP padded input: "
|