HomeSort by relevance Sort by last modified time
    Searched full:plaintext (Results 1 - 25 of 348) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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...]
encryptor_win.cc 13 bool Encryptor::EncryptString16(const string16& plaintext,
15 return EncryptString(UTF16ToUTF8(plaintext), ciphertext);
19 string16* plaintext) {
24 *plaintext = UTF8ToUTF16(utf8);
28 bool Encryptor::EncryptString(const std::string& plaintext,
32 reinterpret_cast<const BYTE*>(plaintext.data()));
33 input.cbData = static_cast<DWORD>(plaintext.length());
50 std::string* plaintext) {
62 plaintext->assign(reinterpret_cast<char*>(output.pbData), output.cbData);
encryptor_mac.mm 70 bool Encryptor::EncryptString16(const string16& plaintext,
72 return EncryptString(UTF16ToUTF8(plaintext), ciphertext);
76 string16* plaintext) {
81 *plaintext = UTF8ToUTF16(utf8);
85 bool Encryptor::EncryptString(const std::string& plaintext,
87 if (plaintext.empty()) {
101 if (!encryptor.Encrypt(plaintext, ciphertext))
110 std::string* plaintext) {
112 *plaintext = std::string();
122 *plaintext = ciphertext
    [all...]
encryptor.h 21 static bool EncryptString16(const string16& plaintext,
29 string16* plaintext);
32 static bool EncryptString(const std::string& plaintext,
40 std::string* plaintext);
encryptor_linux.cc 57 bool Encryptor::EncryptString16(const string16& plaintext,
59 return EncryptString(UTF16ToUTF8(plaintext), ciphertext);
63 string16* plaintext) {
68 *plaintext = UTF8ToUTF16(utf8);
72 bool Encryptor::EncryptString(const std::string& plaintext,
79 if (plaintext.empty()) {
93 if (!encryptor.Encrypt(plaintext, ciphertext))
102 std::string* plaintext) {
109 *plaintext = std::string();
119 *plaintext = ciphertext
    [all...]
  /external/wpa_supplicant/examples/
plaintext.conf 0 # Plaintext (no encryption) network
  /external/wpa_supplicant_6/wpa_supplicant/examples/
plaintext.conf 0 # Plaintext (no encryption) network
  /external/wpa_supplicant_8/wpa_supplicant/examples/
plaintext.conf 0 # Plaintext (no encryption) network
  /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...]
  /external/google-diff-match-patch/
Android.mk 5 LOCAL_SRC_FILES := name/fraser/neil/plaintext/diff_match_patch.java
  /external/srtp/crypto/test/
aes_calc.c 15 plaintext: 00112233445566778899aabbccddeeff
27 printf("usage: %s <key> <plaintext> [-v]\n", prog_name);
74 /* read in plaintext, checking length */
77 "error: too many digits in plaintext "
86 "error: too few digits in plaintext "
93 /* print out plaintext */
94 printf("plaintext:\t%s\n", octet_string_hex_string((uint8_t *)&data, 16));
97 /* encrypt plaintext */
  /external/chromium/crypto/
encryptor.h 35 // Encrypts |plaintext| into |ciphertext|.
36 bool Encrypt(const std::string& plaintext, std::string* ciphertext);
38 // Decrypts |ciphertext| into |plaintext|.
39 bool Decrypt(const std::string& ciphertext, std::string* plaintext);
encryptor_nss.cc 52 bool Encryptor::Encrypt(const std::string& plaintext, std::string* ciphertext) {
60 size_t ciphertext_len = plaintext.size() + AES_BLOCK_SIZE;
69 const_cast<char*>(plaintext.data())),
70 plaintext.size());
87 bool Encryptor::Decrypt(const std::string& ciphertext, std::string* plaintext) {
120 plaintext->assign(reinterpret_cast<char *>(&buffer[0]),
encryptor_mac.cc 68 bool Encryptor::Encrypt(const std::string& plaintext, std::string* ciphertext) {
69 return Crypt(kCCEncrypt, plaintext, ciphertext);
72 bool Encryptor::Decrypt(const std::string& ciphertext, std::string* plaintext) {
73 return Crypt(kCCDecrypt, ciphertext, plaintext);
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/autocomplete/
autocomplete_edit_view_mac_unittest.mm 27 const string16 plainText(ASCIIToUTF16("test text"));
34 clipboard_writer.WriteText(plainText);
38 EXPECT_EQ(plainText, text);
52 clipboard_writer.WriteText(plainText);
57 EXPECT_EQ(plainText, text);
  /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/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/webkit/Source/WebCore/inspector/front-end/
DOMSyntaxHighlighter.js 61 var plainText = line.substring(plainTextStart, column);
62 node.appendChild(document.createTextNode(plainText));
72 var plainText = line.substring(plainTextStart, line.length);
73 node.appendChild(document.createTextNode(plainText));
  /external/webkit/Tools/iExploder/iexploder-1.7.2/src/html-values/
webkit 62 plaintext-only
  /frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/common/
FwdLockGlue.h 43 * Returns the length of the encrypted key, given the length of the plaintext key.
45 * @param[in] plaintextKeyLength The length in bytes of the plaintext key.
54 * @param[in] pPlaintextKey A reference to the buffer containing the plaintext key.
55 * @param[in] plaintextKeyLength The length in bytes of the plaintext key.
  /external/dropbear/libtomcrypt/src/encauth/eax/
eax_encrypt.c 23 @param pt The plaintext to encrypt
25 @param length The length of the plaintext (octets)
  /external/dropbear/libtomcrypt/src/encauth/ocb/
ocb_done_encrypt.c 23 @param pt Remaining plaintext (if any)
24 @param ptlen The length of the plaintext (octets)
  /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/webkit/Source/WebCore/platform/chromium/
PasteboardChromium.cpp 88 String plainText = frame->editor()->selectedText();
90 replaceNewlinesWithWindowsStyleNewlines(plainText);
92 replaceNBSPWithSpace(plainText);
94 PlatformBridge::clipboardWriteSelection(html, url, plainText, canSmartCopyOrDelete);
100 String plainText(text);
101 replaceNewlinesWithWindowsStyleNewlines(plainText);
102 PlatformBridge::clipboardWritePlainText(plainText);
161 String Pasteboard::plainText(Frame* frame)

Completed in 317 milliseconds

1 2 3 4 5 6 7 8 91011>>