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

  /external/chromium_org/chrome/browser/sync/glue/
chrome_encryptor_unittest.cc 26 std::string ciphertext; local
27 EXPECT_TRUE(encryptor_.EncryptString(kPlaintext, &ciphertext));
28 EXPECT_NE(kPlaintext, ciphertext);
30 EXPECT_TRUE(encryptor_.DecryptString(ciphertext, &plaintext));
  /external/chromium/chrome/browser/password_manager/
encryptor_unittest.cc 34 std::string ciphertext; local
37 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext));
38 EXPECT_TRUE(Encryptor::DecryptString16(ciphertext, &result));
43 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext));
44 EXPECT_TRUE(Encryptor::DecryptString16(ciphertext, &result));
50 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext));
51 EXPECT_TRUE(Encryptor::DecryptString16(ciphertext, &result));
64 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext));
65 EXPECT_TRUE(Encryptor::DecryptString16(ciphertext, &result));
67 EXPECT_TRUE(Encryptor::DecryptString(ciphertext, &utf8_result))
80 std::string ciphertext; local
103 std::string ciphertext; local
130 std::string ciphertext; local
    [all...]
  /external/chromium/net/http/
des_unittest.cc 20 // DES known ciphertext (64-bits).
25 uint8 ciphertext[8]; local
26 memset(ciphertext, 0xaf, sizeof(ciphertext));
28 DESEncrypt(des_known_key, des_ecb_known_plaintext, ciphertext);
29 EXPECT_EQ(0, memcmp(ciphertext, des_ecb_known_ciphertext, 8));
43 uint8 ciphertext[8]; local
44 memset(ciphertext, 0xaf, sizeof(ciphertext));
46 DESEncrypt(key, plaintext, ciphertext);
    [all...]
  /external/chromium_org/components/webdata/encryptor/
encryptor_unittest.cc 34 std::string ciphertext; local
37 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext));
38 EXPECT_TRUE(Encryptor::DecryptString16(ciphertext, &result));
43 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext));
44 EXPECT_TRUE(Encryptor::DecryptString16(ciphertext, &result));
50 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext));
51 EXPECT_TRUE(Encryptor::DecryptString16(ciphertext, &result));
64 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext));
65 EXPECT_TRUE(Encryptor::DecryptString16(ciphertext, &result));
67 EXPECT_TRUE(Encryptor::DecryptString(ciphertext, &utf8_result))
80 std::string ciphertext; local
103 std::string ciphertext; local
130 std::string ciphertext; local
    [all...]
  /external/chromium_org/net/http/
des_unittest.cc 20 // DES known ciphertext (64-bits).
25 uint8 ciphertext[8]; local
26 memset(ciphertext, 0xaf, sizeof(ciphertext));
28 DESEncrypt(des_known_key, des_ecb_known_plaintext, ciphertext);
29 EXPECT_EQ(0, memcmp(ciphertext, des_ecb_known_ciphertext, 8));
43 uint8 ciphertext[8]; local
44 memset(ciphertext, 0xaf, sizeof(ciphertext));
46 DESEncrypt(key, plaintext, ciphertext);
    [all...]
  /external/chromium/crypto/
encryptor_unittest.cc 27 std::string ciphertext; local
28 EXPECT_TRUE(encryptor.Encrypt(plaintext, &ciphertext));
30 EXPECT_LT(0U, ciphertext.size());
33 EXPECT_TRUE(encryptor.Decrypt(ciphertext, &decypted));
102 std::string ciphertext; local
103 EXPECT_TRUE(encryptor.Encrypt(plaintext, &ciphertext));
105 EXPECT_EQ(sizeof(raw_ciphertext), ciphertext.size());
106 EXPECT_EQ(0, memcmp(ciphertext.data(), raw_ciphertext, ciphertext.size()));
109 EXPECT_TRUE(encryptor.Decrypt(ciphertext, &decypted))
132 std::string ciphertext; local
158 std::string ciphertext; local
211 std::string ciphertext; local
    [all...]
  /external/chromium/chrome/browser/sync/util/
nigori_unittest.cc 123 // Corrput the ciphertext by changing one of its bytes.
153 std::string ciphertext; local
155 EXPECT_TRUE(nigori1.Encrypt(original, &ciphertext));
156 EXPECT_TRUE(nigori2.Decrypt(ciphertext, &plaintext));
159 EXPECT_TRUE(nigori2.Encrypt(original, &ciphertext));
160 EXPECT_TRUE(nigori1.Decrypt(ciphertext, &plaintext));
  /external/chromium_org/crypto/
ghash_unittest.cc 52 const uint8* ciphertext; member in struct:crypto::__anon10565::TestCase
114 hash.UpdateCiphertext(test.ciphertext, test.ciphertext_length);
135 hash.UpdateCiphertext(test.ciphertext + i, n);
encryptor_unittest.cc 27 std::string ciphertext; local
28 EXPECT_TRUE(encryptor.Encrypt(plaintext, &ciphertext));
30 EXPECT_LT(0U, ciphertext.size());
33 EXPECT_TRUE(encryptor.Decrypt(ciphertext, &decypted));
71 std::string ciphertext; local
72 EXPECT_TRUE(encryptor.Encrypt(plaintext, &ciphertext));
81 ASSERT_EQ(arraysize(expected_ciphertext), ciphertext.size());
82 for (size_t i = 0; i < ciphertext.size(); ++i) {
84 static_cast<unsigned char>(ciphertext[i]));
98 EXPECT_FALSE(decryptor.Decrypt(ciphertext, &decypted))
295 std::string ciphertext; local
419 std::string ciphertext; local
449 std::string ciphertext; local
475 std::string ciphertext; local
528 std::string ciphertext; local
    [all...]
  /external/chromium_org/sync/util/
nigori_unittest.cc 123 // Corrput the ciphertext by changing one of its bytes.
153 std::string ciphertext; local
155 EXPECT_TRUE(nigori1.Encrypt(original, &ciphertext));
156 EXPECT_TRUE(nigori2.Decrypt(ciphertext, &plaintext));
159 EXPECT_TRUE(nigori2.Encrypt(original, &ciphertext));
160 EXPECT_TRUE(nigori1.Decrypt(ciphertext, &plaintext));
  /external/dropbear/libtomcrypt/demos/
encrypt.c 97 unsigned char plaintext[512],ciphertext[512]; local
223 if ((errno = ctr_encrypt(inbuf,ciphertext,y,&ctr)) != CRYPT_OK) {
228 if (fwrite(ciphertext,1,y,fdout) != y) {
  /external/chromium_org/third_party/openssl/openssl/crypto/evp/
evp_test.c 139 const unsigned char *ciphertext,int cn,
152 hexdump(stdout,"Ciphertext",ciphertext,cn);
186 fprintf(stderr,"Ciphertext length mismatch got %d expected %d\n",
191 if(memcmp(out,ciphertext,cn))
193 fprintf(stderr,"Ciphertext mismatch\n");
195 hexdump(stderr,"Expected",ciphertext,cn);
210 if(!EVP_DecryptUpdate(&ctx,out,&outl,ciphertext,cn))
247 const unsigned char *ciphertext,int cn,
256 test1(c,key,kn,iv,in,plaintext,pn,ciphertext,cn,encdec)
369 unsigned char *iv,*key,*plaintext,*ciphertext; local
    [all...]
  /external/openssl/crypto/evp/
evp_test.c 139 const unsigned char *ciphertext,int cn,
152 hexdump(stdout,"Ciphertext",ciphertext,cn);
186 fprintf(stderr,"Ciphertext length mismatch got %d expected %d\n",
191 if(memcmp(out,ciphertext,cn))
193 fprintf(stderr,"Ciphertext mismatch\n");
195 hexdump(stderr,"Expected",ciphertext,cn);
210 if(!EVP_DecryptUpdate(&ctx,out,&outl,ciphertext,cn))
247 const unsigned char *ciphertext,int cn,
256 test1(c,key,kn,iv,in,plaintext,pn,ciphertext,cn,encdec)
369 unsigned char *iv,*key,*plaintext,*ciphertext; local
    [all...]
  /external/chromium/net/socket/
dns_cert_provenance_checker.cc 314 std::string ciphertext; local
315 encryptor.Encrypt(plaintext, &ciphertext);
328 outer.WriteString(ciphertext);
  /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
133 uint8_t *ciphertext; /* ciphertext */ member in struct:cipher_test_case_t
196 * an array of values of key/xtd_seq_num_t/plaintext/ciphertext
  /external/chromium_org/chromeos/network/onc/
onc_utils.cc 68 std::string ciphertext; local
70 if (!root.GetString(encrypted::kCiphertext, &ciphertext) ||
121 if (!base::Base64Decode(ciphertext, &ciphertext)) {
132 !hmac_verifier.Verify(ciphertext, hmac)) {
144 if (!decryptor.Decrypt(ciphertext, &plaintext)) {
  /external/chromium_org/net/third_party/nss/ssl/
ssl3ext.c 953 SECItem ciphertext = {0, NULL, 0}; local
    [all...]
  /libcore/luni/src/test/java/libcore/javax/crypto/
CipherTest.java 2146 public final byte[] ciphertext; field in class:CipherTest.CipherTestParam
    [all...]

Completed in 728 milliseconds