/external/chromium/chrome/browser/password_manager/ |
encryptor_unittest.cc | 30 string16 plaintext; local 37 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext)); 39 EXPECT_EQ(plaintext, result); 42 plaintext = ASCIIToUTF16("hello"); 43 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext)); 45 EXPECT_EQ(plaintext, result); 49 plaintext = ASCIIToUTF16("1234567890123456"); 50 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext)); 52 EXPECT_EQ(plaintext, result); 61 plaintext = wchars 78 std::string plaintext; local 101 std::string plaintext; local 128 std::string plaintext; local [all...] |
/external/chromium/net/http/ |
des_unittest.cc | 17 // DES known plaintext (64-bits). 39 static const uint8 plaintext[] = { 0, 0, 0, 0, 0, 0, 0, 0 }; local 46 DESEncrypt(key, plaintext, ciphertext);
|
/external/chromium/crypto/ |
encryptor_unittest.cc | 26 std::string plaintext("this is the plaintext"); 28 EXPECT_TRUE(encryptor.Encrypt(plaintext, &ciphertext)); 35 EXPECT_EQ(plaintext, decypted); 100 std::string plaintext(reinterpret_cast<const char*>(raw_plaintext), 103 EXPECT_TRUE(encryptor.Encrypt(plaintext, &ciphertext)); 111 EXPECT_EQ(plaintext, decypted); 118 std::string plaintext = "Plain text with a g-clef U+1D11E \360\235\204\236"; local 133 EXPECT_TRUE(encryptor.Encrypt(plaintext, &ciphertext)); 139 EXPECT_EQ(plaintext, decypted) 146 std::string plaintext = "Small text"; local 199 std::string plaintext; local [all...] |
/external/chromium/chrome/browser/sync/util/ |
nigori_unittest.cc | 55 std::string plaintext("value"); 58 EXPECT_TRUE(nigori.Encrypt(plaintext, &encrypted1)); 61 EXPECT_TRUE(nigori.Encrypt(plaintext, &encrypted2)); 74 std::string plaintext; local 75 EXPECT_TRUE(nigori.Decrypt(encrypted, &plaintext)); 78 EXPECT_EQ(expected, plaintext); 85 std::string plaintext("value"); 88 EXPECT_TRUE(nigori.Encrypt(plaintext, &encrypted)); 93 EXPECT_EQ(plaintext, decrypted); 100 std::string plaintext("test") 152 std::string plaintext; local [all...] |
nigori.cc | 130 NigoriStream plaintext; local 131 plaintext << type << name; 139 if (!encryptor.Encrypt(plaintext.str(), &ciphertext)) 241 std::string plaintext;
|
cryptographer.cc | 67 std::string plaintext = DecryptToString(encrypted); local 68 return message->ParseFromString(plaintext); 79 std::string plaintext; local 80 if (!it->second->Decrypt(encrypted.blob(), &plaintext)) { 84 return plaintext; 158 std::string plaintext; local 159 if (!nigori.Decrypt(pending_keys_->blob(), &plaintext)) 163 if (!bag.ParseFromString(plaintext)) {
|
/external/openssh/ |
cipher.h | 66 int plaintext; member in struct:CipherContext
|
/external/dropbear/libtomcrypt/demos/ |
encrypt.c | 97 unsigned char plaintext[512],ciphertext[512]; local 182 if ((errno = ctr_decrypt(inbuf,plaintext,y,&ctr)) != CRYPT_OK) { 187 if (fwrite(plaintext,1,y,fdout) != y) {
|
tv_gen.c | 168 "The output of step N is used as the key and plaintext for step N+1 (key bytes repeated as required to fill the key)\n\n"); 398 plaintext[MAXBLOCKSIZE*2], tag[MAXBLOCKSIZE]; local 402 fprintf(out, "EAX Test Vectors. Uses the 00010203...NN-1 pattern for header/nonce/plaintext/key. The outputs\n" 424 plaintext[z] = (unsigned char)(z & 255); 429 if ((err = eax_encrypt_authenticate_memory(x, key, kl, nonce, y1, header, y1, plaintext, y1, plaintext, tag, &len)) != CRYPT_OK) { 435 fprintf(out, "%02X", plaintext[z]); 458 plaintext[MAXBLOCKSIZE*2], tag[MAXBLOCKSIZE]; local 462 fprintf(out, "OCB Test Vectors. Uses the 00010203...NN-1 pattern for nonce/plaintext/key. The outputs\n" 489 plaintext[z] = (unsigned char)(z & 255) 522 plaintext[MAXBLOCKSIZE*2], tag[MAXBLOCKSIZE]; local 584 unsigned char key[MAXBLOCKSIZE], plaintext[MAXBLOCKSIZE*2], tag[MAXBLOCKSIZE]; local [all...] |
/external/openssl/crypto/evp/ |
evp_test.c | 138 const unsigned char *plaintext,int pn, 151 hexdump(stdout,"Plaintext",plaintext,pn); 171 if(!EVP_EncryptUpdate(&ctx,out,&outl,plaintext,pn)) 225 fprintf(stderr,"Plaintext length mismatch got %d expected %d\n", 230 if(memcmp(out,plaintext,pn)) 232 fprintf(stderr,"Plaintext mismatch\n"); 234 hexdump(stderr,"Expected",plaintext,pn); 246 const unsigned char *plaintext,int pn, 256 test1(c,key,kn,iv,in,plaintext,pn,ciphertext,cn,encdec) 369 unsigned char *iv,*key,*plaintext,*ciphertext; local [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);
|
/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/google-diff-match-patch/name/fraser/neil/plaintext/ |
diff_match_patch_test.java | 20 package name.fraser.neil.plaintext; 33 import name.fraser.neil.plaintext.diff_match_patch.Diff; 34 import name.fraser.neil.plaintext.diff_match_patch.LinesToCharsResult; 35 import name.fraser.neil.plaintext.diff_match_patch.Patch; [all...] |
diff_match_patch.java | 20 package name.fraser.neil.plaintext; [all...] |
/libcore/luni/src/test/java/libcore/javax/crypto/ |
CipherTest.java | 2091 public final byte[] plaintext; field in class:CipherTest.CipherTestParam [all...] |
/system/bluetooth/bluez-clean-headers/bluetooth/ |
hci.h | 1664 uint8_t plaintext[16]; member in struct:__anon43704 [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/freemarker/ |
freemarker-2.3.19.jar | |