/external/chromium/crypto/ |
encryptor_win.cc | 80 bool Encryptor::Encrypt(const std::string& plaintext, std::string* ciphertext) { 81 DWORD data_len = plaintext.size(); 86 memcpy(&tmp[0], plaintext.data(), data_len); 97 bool Encryptor::Decrypt(const std::string& ciphertext, std::string* plaintext) { 111 plaintext->assign(reinterpret_cast<char*>(&tmp[0]), data_len);
|
encryptor_openssl.cc | 72 bool Encryptor::Encrypt(const std::string& plaintext, std::string* ciphertext) { 73 return Crypt(true, plaintext, ciphertext); 76 bool Encryptor::Decrypt(const std::string& ciphertext, std::string* plaintext) { 77 return Crypt(false, ciphertext, plaintext);
|
/external/srtp/crypto/cipher/ |
cipher.c | 76 * plaintext, and ciphertext that is known to be good 126 /* copy plaintext into test buffer */ 132 buffer[i] = test_case->plaintext[i]; 134 debug_print(mod_cipher, "plaintext: %s", 220 debug_print(mod_cipher, "plaintext: %s", 224 /* compare the resulting plaintext with that in the test case */ 229 if (buffer[i] != test_case->plaintext[i]) { 240 octet_string_hex_string(test_case->plaintext, 278 debug_print(mod_cipher, "random plaintext length %d\n", length); 282 debug_print(mod_cipher, "plaintext: %s" [all...] |
null_cipher.c | 4 * A null cipher implementation. This cipher leaves the plaintext 128 0, /* octets in plaintext */ 129 NULL, /* plaintext */ 130 0, /* octets in plaintext */
|
/external/dropbear/libtomcrypt/demos/ |
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/webkit/Tools/DumpRenderTree/chromium/ |
PlainTextController.cpp | 48 bindMethod("plainText", &PlainTextController::plainText); 54 void PlainTextController::plainText(const CppArgumentList& arguments, CppVariant* result)
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
CipherInputStreamTest.java | 33 private final String plainText = "abcde"; 45 new ByteArrayInputStream(plainText.getBytes("UTF-8")), cipher); 55 assertEquals(plainText, new String(bytes, "UTF-8"));
|
/external/dropbear/libtomcrypt/src/modes/ctr/ |
ctr_decrypt.c | 23 @param pt [out] Plaintext
|
/external/dropbear/libtomcrypt/src/modes/f8/ |
f8_decrypt.c | 23 @param pt [out] Plaintext
|
/external/dropbear/libtomcrypt/src/modes/ofb/ |
ofb_decrypt.c | 23 @param pt [out] Plaintext
|
ofb_encrypt.c | 22 @param pt Plaintext 24 @param len Length of plaintext (octets)
|
/external/webkit/Tools/iExploder/iexploder-1.7.2/src/html-tags/ |
mozilla | 88 plaintext
|
webkit | 96 plaintext
|
/external/chromium/chrome/browser/sync/util/ |
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/dbus/dbus/ |
dbus-auth.h | 65 const DBusString *plaintext, 70 DBusString *plaintext);
|
/external/dropbear/libtomcrypt/src/modes/cfb/ |
cfb_encrypt.c | 22 @param pt Plaintext 24 @param len Length of plaintext (octets)
|
/external/srtp/crypto/include/ |
aes.h | 67 aes_encrypt(v128_t *plaintext, const aes_expanded_key_t exp_key); 70 aes_decrypt(v128_t *plaintext, const aes_expanded_key_t exp_key);
|
/external/webkit/Tools/DumpRenderTree/qt/ |
PlainTextControllerQt.cpp | 41 QString PlainTextController::plainText(const QVariant& range) 43 return DumpRenderTreeSupportQt::plainText(range);
|
/external/dropbear/libtomcrypt/src/encauth/eax/ |
eax_test.c | 38 plaintext[MAXBLOCKSIZE], 53 /* plaintext */ 73 /* plaintext */ 93 /* plaintext */ 102 /* test with header + nonce + plaintext */ 114 /* plaintext */ 129 /* test with header + nonce + plaintext [not even sizes!] */ 141 /* plaintext */ 231 tests[x].plaintext, tests[x].msglen, outct, outtag, &len)) != CRYPT_OK) { 259 if ((res != 1) || XMEMCMP(outct, tests[x].plaintext, tests[x].msglen)) [all...] |
eax_encrypt_authenticate_memory.c | 29 @param pt The plaintext 30 @param ptlen The length of the plaintext (octets)
|
/external/dropbear/libtomcrypt/src/encauth/ocb/ |
ocb_encrypt_authenticate_memory.c | 26 @param pt The plaintext 27 @param ptlen The length of the plaintext (octets)
|
/external/dropbear/libtomcrypt/src/modes/cbc/ |
cbc_decrypt.c | 24 @param pt [out] Plaintext 70 /* xor IV against plaintext */
|
cbc_encrypt.c | 23 @param pt Plaintext 59 /* xor IV against plaintext */
|
/external/dropbear/libtomcrypt/src/pk/katja/ |
katja_decrypt_key.c | 24 @param out [out] The plaintext 25 @param outlen [in/out] The max size and resulting size of the plaintext (octets)
|
katja_encrypt_key.c | 22 @param in The plaintext 23 @param inlen The length of the plaintext (octets)
|