HomeSort by relevance Sort by last modified time
    Searched defs:plaintext (Results 1 - 15 of 15) sorted by null

  /external/boringssl/src/crypto/cipher/
cipher_test.cc 109 const std::vector<uint8_t> &plaintext,
115 in = &plaintext;
119 out = &plaintext;
204 std::vector<uint8_t> key, iv, plaintext, ciphertext, aad, tag; local
206 !t->GetBytes(&plaintext, "Plaintext") ||
240 !TestOperation(t, cipher, true /* encrypt */, key, iv, plaintext,
245 !TestOperation(t, cipher, false /* decrypt */, key, iv, plaintext,
  /external/openssh/
cipher.h 67 int plaintext; member in struct:sshcipher_ctx
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_uu.py 12 plaintext = "The smooth-scaled python crept over the sleeping dog\n" variable
23 inp = cStringIO.StringIO(plaintext)
27 inp = cStringIO.StringIO(plaintext)
36 self.assertEqual(out.getvalue(), plaintext)
44 self.assertEqual(out.getvalue(), plaintext)
75 sys.stdin = cStringIO.StringIO(plaintext)
87 self.assertEqual(sys.stdout.getvalue(), plaintext)
119 fin.write(plaintext)
159 self.assertEqual(s, plaintext)
177 self.assertEqual(s, plaintext)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_uu.py 12 plaintext = "The smooth-scaled python crept over the sleeping dog\n" variable
23 inp = cStringIO.StringIO(plaintext)
27 inp = cStringIO.StringIO(plaintext)
36 self.assertEqual(out.getvalue(), plaintext)
44 self.assertEqual(out.getvalue(), plaintext)
75 sys.stdin = cStringIO.StringIO(plaintext)
87 self.assertEqual(sys.stdout.getvalue(), plaintext)
119 fin.write(plaintext)
159 self.assertEqual(s, plaintext)
177 self.assertEqual(s, plaintext)
    [all...]
  /external/boringssl/src/crypto/modes/
gcm_test.c 62 const char *plaintext; member in struct:test_case
315 uint8_t *key = NULL, *plaintext = NULL, *additional_data = NULL, local
322 !decode_hex(&plaintext, &plaintext_len, test->plaintext, test_num,
323 "plaintext") ||
334 fprintf(stderr, "%u: plaintext and ciphertext have differing lengths.\n",
364 if (plaintext) {
365 CRYPTO_gcm128_encrypt(&ctx, plaintext, out, plaintext_len);
387 if (plaintext && memcmp(out, plaintext, plaintext_len))
    [all...]
  /external/srtp/tables/
aes_tables.c 323 uint8_t plaintext[16] = { local
335 v128_copy_octet_string(&x, plaintext);
342 v128_copy_octet_string(&y, plaintext);
  /system/keymaster/
key_blob_test.cpp 117 KeymasterKeyBlob plaintext; local
118 OcbDecryptKey(hw2, sw2, hidden_, master_key_, ciphertext_, nonce_, tag_, &plaintext);
123 ASSERT_EQ(key_material_.key_material_size, plaintext.key_material_size);
124 EXPECT_EQ(0, memcmp(plaintext.begin(), key_material_.begin(), plaintext.key_material_size));
android_keymaster_test.cpp 1838 string plaintext = DecryptMessage(ciphertext, KM_MODE_ECB, KM_PAD_PKCS7); local
1895 string plaintext = DecryptMessage(ciphertext, KM_PAD_NONE); local
1995 string plaintext = DecryptMessage(ciphertext, KM_DIGEST_SHA_2_256, KM_PAD_RSA_OAEP); local
2131 string plaintext = DecryptMessage(ciphertext, KM_PAD_RSA_PKCS1_1_5_ENCRYPT); local
2246 string plaintext = DecryptMessage(ciphertext1, KM_MODE_ECB, KM_PAD_NONE); local
2299 string plaintext = DecryptMessage(ciphertext, KM_MODE_ECB, KM_PAD_PKCS7); local
2340 string plaintext; local
2369 string plaintext = DecryptMessage(ciphertext1, KM_MODE_CTR, KM_PAD_NONE, iv1); local
2405 string plaintext; local
2419 const char* plaintext; member in struct:keymaster::test::AesCtrSp80038aTestVector
2458 const string plaintext = hex2str(test.plaintext); local
2514 string plaintext = DecryptMessage(ciphertext1, KM_MODE_CBC, KM_PAD_NONE, iv1); local
2533 string plaintext = DecryptMessage(ciphertext1, KM_MODE_CBC, KM_PAD_NONE, iv1); local
2576 string plaintext = DecryptMessage(ciphertext1, KM_MODE_CBC, KM_PAD_NONE, iv1); local
2623 string plaintext; local
2646 string plaintext = DecryptMessage(ciphertext, KM_MODE_CBC, KM_PAD_PKCS7, iv); local
2686 string plaintext; local
2779 string plaintext; local
2851 string plaintext; local
2909 string plaintext; local
2972 string plaintext; local
3020 string plaintext; local
3059 string plaintext; local
3106 string plaintext; local
    [all...]
  /cts/tests/tests/keystore/src/android/keystore/cts/
AESCipherNistCavpKatTest.java 247 } else if ("PLAINTEXT".equals(name)) {
248 testVector.plaintext = HexEncoding.decode(value);
293 byte[] input = (encrypt) ? testVector.plaintext : testVector.ciphertext;
295 byte[] expectedOutput = (encrypt) ? testVector.ciphertext : testVector.plaintext;
321 public byte[] plaintext; field in class:AESCipherNistCavpKatTest.TestVector
CipherTest.java 80 private final byte[] plaintext; field in class:CipherTest.KatVector
93 private KatVector(byte[] plaintext, byte[] ciphertext) {
94 this(plaintext, null, ciphertext);
97 private KatVector(byte[] plaintext, AlgorithmParameterSpec params, byte[] ciphertext) {
98 this.plaintext = plaintext;
322 byte[] plaintext = truncatePlaintextIfNecessary(
324 if (plaintext == null) {
331 byte[] ciphertext = cipher.doFinal(plaintext);
332 byte[] expectedPlaintext = plaintext;
    [all...]
  /external/srtp/crypto/include/
cipher.h 63 direction_encrypt, /**< encryption (convert plaintext to ciphertext) */
64 direction_decrypt, /**< decryption (convert ciphertext to plaintext) */
120 * plaintext, and ciphertext values that are known to be correct for a
130 int plaintext_length_octets; /* octets in plaintext */
131 uint8_t *plaintext; /* plaintext */ member in struct:cipher_test_case_t
132 int ciphertext_length_octets; /* octets in plaintext */
196 * an array of values of key/xtd_seq_num_t/plaintext/ciphertext
  /external/wpa_supplicant_8/src/crypto/
crypto_module_tests.c 36 u8 plaintext[] = { local
94 if (aes_siv_encrypt(key, plaintext, sizeof(plaintext),
109 if (os_memcmp(out, plaintext, sizeof(plaintext)) != 0) {
417 char *plaintext; member in struct:ecb_test_vector
476 hexstr2bin(tv->plaintext, plain, sizeof(plain)) ||
    [all...]
  /libcore/luni/src/test/java/libcore/javax/crypto/
CipherTest.java 2777 public final byte[] plaintext; field in class:CipherTest.CipherTestParam
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.apache.commons.httpclient_3.1.0.v201005080502.jar 
  /prebuilts/tools/common/m2/repository/org/freemarker/freemarker/2.3.20/
freemarker-2.3.20.jar 

Completed in 495 milliseconds