Home
last modified time | relevance | path

Searched refs:plain (Results 1 – 25 of 1494) sorted by relevance

12345678910>>...60

/third_party/node/test/fixtures/
Daead-vectors.js4 iv: '583673497131313748307652', plain: 'Hello World!', property
9 iv: '583673497131313748307652', plain: 'Hello World!', property
14 iv: '583673497131313748307652', plain: 'Hello World!', property
19 iv: '36306950306836764a6f4561', plain: 'Hello node.js world!', property
24 iv: '36306950306836764a6f4561', plain: 'Hello node.js world!', property
29 iv: '0e1791e9db3bd21a9122c416', plain: 'Hello node.js world!', property
41 plain: '', property
50 plain: '00000000000000000000000000000000', property
59 plain: 'd9313225f88406e5a55909c5aff5269a' + property
74 plain: 'd9313225f88406e5a55909c5aff5269a' + property
[all …]
/third_party/openssl/test/
Ddestest.c240 static unsigned char plain[24] = { variable
506 DES_cfb_encrypt(plain, cfb_buf1, bits, sizeof(plain), &ks, &cfb_tmp, in cfb_test()
508 if (!TEST_mem_eq(cfb_cipher, sizeof(plain), cfb_buf1, sizeof(plain))) in cfb_test()
511 DES_cfb_encrypt(cfb_buf1, cfb_buf2, bits, sizeof(plain), &ks, &cfb_tmp, in cfb_test()
513 return TEST_mem_eq(plain, sizeof(plain), cfb_buf2, sizeof(plain)); in cfb_test()
548 DES_cfb64_encrypt(plain, cfb_buf1, 12, &ks, &cfb_tmp, &n, DES_ENCRYPT); in test_des_cfb64()
549 DES_cfb64_encrypt(&plain[12], &cfb_buf1[12], sizeof(plain) - 12, &ks, in test_des_cfb64()
551 if (!TEST_mem_eq(cfb_cipher64, sizeof(plain), cfb_buf1, sizeof(plain))) in test_des_cfb64()
557 sizeof(plain) - 17, &ks, &cfb_tmp, &n, DES_DECRYPT); in test_des_cfb64()
558 if (!TEST_mem_eq(plain, sizeof(plain), cfb_buf2, sizeof(plain))) in test_des_cfb64()
[all …]
/third_party/parse5/test/data/parser-feedback/
Dscriptdata01.test123 "description": "FOO<script type=\"text/plain\"></scriptx>BAR",
124 "input": "FOO<script type=\"text/plain\"></scriptx>BAR",
134 "type": "text/plain"
410 "description": "FOO<script type=\"text/plain\">'<!-- <sCrIpt>'</script>BAR",
411 "input": "FOO<script type=\"text/plain\">'<!-- <sCrIpt>'</script>BAR",
421 "type": "text/plain"
431 "description": "FOO<script type=\"text/plain\">'<!-- <sCrIpt> -'</script>BAR",
432 "input": "FOO<script type=\"text/plain\">'<!-- <sCrIpt> -'</script>BAR",
442 "type": "text/plain"
452 "description": "FOO<script type=\"text/plain\">'<!-- <sCrIpt> --'</script>BAR",
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dcrypto_internal-cipher.c103 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, in crypto_cipher_encrypt() argument
110 if (plain != crypt) in crypto_cipher_encrypt()
111 os_memcpy(crypt, plain, len); in crypto_cipher_encrypt()
122 ctx->u.aes.cbc[j] ^= plain[j]; in crypto_cipher_encrypt()
126 plain += AES_BLOCK_SIZE; in crypto_cipher_encrypt()
136 ctx->u.des3.cbc[j] ^= plain[j]; in crypto_cipher_encrypt()
140 plain += 8; in crypto_cipher_encrypt()
150 ctx->u.des3.cbc[j] ^= plain[j]; in crypto_cipher_encrypt()
154 plain += 8; in crypto_cipher_encrypt()
167 u8 *plain, size_t len) in crypto_cipher_decrypt() argument
[all …]
Dcrypto_libtomcrypt.c100 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() argument
103 return aes_ecb_encrypt(plain, crypt, skey) == CRYPT_OK ? 0 : -1; in aes_encrypt()
129 int aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt() argument
132 return aes_ecb_encrypt(plain, (u8 *) crypt, skey) == CRYPT_OK ? 0 : -1; in aes_decrypt()
354 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, in crypto_cipher_encrypt() argument
360 if (plain != crypt) in crypto_cipher_encrypt()
361 os_memcpy(crypt, plain, len); in crypto_cipher_encrypt()
368 res = cbc_encrypt(plain, crypt, len, &ctx->u.cbc); in crypto_cipher_encrypt()
379 u8 *plain, size_t len) in crypto_cipher_decrypt() argument
384 if (plain != crypt) in crypto_cipher_decrypt()
[all …]
Ddes-internal.c435 void des_block_encrypt(const u8 *plain, const u32 *ek, u8 *crypt) in des_block_encrypt() argument
438 work[0] = WPA_GET_BE32(plain); in des_block_encrypt()
439 work[1] = WPA_GET_BE32(plain + 4); in des_block_encrypt()
446 void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain) in des_block_decrypt() argument
452 WPA_PUT_BE32(plain, work[0]); in des_block_decrypt()
453 WPA_PUT_BE32(plain + 4, work[1]); in des_block_decrypt()
469 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt) in des3_encrypt() argument
473 work[0] = WPA_GET_BE32(plain); in des3_encrypt()
474 work[1] = WPA_GET_BE32(plain + 4); in des3_encrypt()
483 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain) in des3_decrypt() argument
[all …]
Ddes_i.h18 void des_block_encrypt(const u8 *plain, const u32 *ek, u8 *crypt);
19 void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain);
22 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt);
23 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain);
Daes_wrap.h21 int __must_check aes_wrap(const u8 *kek, size_t kek_len, int n, const u8 *plain,
24 const u8 *cipher, u8 *plain);
54 const u8 *plain, size_t plain_len,
61 u8 *plain);
66 size_t M, const u8 *plain, size_t plain_len,
71 u8 *plain);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dcrypto_internal-cipher.c103 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, in crypto_cipher_encrypt() argument
110 if (plain != crypt) in crypto_cipher_encrypt()
111 os_memcpy(crypt, plain, len); in crypto_cipher_encrypt()
122 ctx->u.aes.cbc[j] ^= plain[j]; in crypto_cipher_encrypt()
126 plain += AES_BLOCK_SIZE; in crypto_cipher_encrypt()
136 ctx->u.des3.cbc[j] ^= plain[j]; in crypto_cipher_encrypt()
140 plain += 8; in crypto_cipher_encrypt()
150 ctx->u.des3.cbc[j] ^= plain[j]; in crypto_cipher_encrypt()
154 plain += 8; in crypto_cipher_encrypt()
167 u8 *plain, size_t len) in crypto_cipher_decrypt() argument
[all …]
Dcrypto_libtomcrypt.c100 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() argument
103 return aes_ecb_encrypt(plain, crypt, skey) == CRYPT_OK ? 0 : -1; in aes_encrypt()
129 int aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt() argument
132 return aes_ecb_encrypt(plain, (u8 *) crypt, skey) == CRYPT_OK ? 0 : -1; in aes_decrypt()
354 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, in crypto_cipher_encrypt() argument
360 if (plain != crypt) in crypto_cipher_encrypt()
361 os_memcpy(crypt, plain, len); in crypto_cipher_encrypt()
368 res = cbc_encrypt(plain, crypt, len, &ctx->u.cbc); in crypto_cipher_encrypt()
379 u8 *plain, size_t len) in crypto_cipher_decrypt() argument
384 if (plain != crypt) in crypto_cipher_decrypt()
[all …]
Ddes-internal.c435 void des_block_encrypt(const u8 *plain, const u32 *ek, u8 *crypt) in des_block_encrypt() argument
438 work[0] = WPA_GET_BE32(plain); in des_block_encrypt()
439 work[1] = WPA_GET_BE32(plain + 4); in des_block_encrypt()
446 void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain) in des_block_decrypt() argument
452 WPA_PUT_BE32(plain, work[0]); in des_block_decrypt()
453 WPA_PUT_BE32(plain + 4, work[1]); in des_block_decrypt()
469 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt) in des3_encrypt() argument
473 work[0] = WPA_GET_BE32(plain); in des3_encrypt()
474 work[1] = WPA_GET_BE32(plain + 4); in des3_encrypt()
483 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain) in des3_decrypt() argument
[all …]
Ddes_i.h18 void des_block_encrypt(const u8 *plain, const u32 *ek, u8 *crypt);
19 void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain);
22 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt);
23 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain);
/third_party/boost/libs/parameter/test/
Dtimings.txt32 plain time: 0.75
36 plain time: 0.781
65 plain time: 6.42
69 plain time: 6.42
91 plain time: <ignored>
93 plain time: 1.453
95 plain time: 1.453
104 plain time: <ignored>
106 plain time: 1.438
108 plain time: 1.438
[all …]
/third_party/node/test/parallel/
Dtest-crypto-authenticated-stream.js49 const plain = new stream.PassThrough();
52 plain.pipe(c).pipe(crypt);
53 plain.end(expected);
61 const plain = new Sink();
62 crypt.pipe(d).pipe(plain);
66 plain.on('close', common.mustCall(() => {
67 const actual = Buffer.concat(plain.chunks);
84 const plain = fs.createReadStream(filename('a'));
86 plain.pipe(c).pipe(crypt);
107 const plain = fs.createWriteStream(filename('c'));
[all …]
Dtest-crypto-padding.js62 function enc(plain, pad) { argument
65 let hex = encrypt.update(plain, 'ascii', 'hex');
73 let plain = decrypt.update(encd, 'hex');
74 plain += decrypt.final('latin1');
75 return plain;
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dpkcs1.c136 u8 *plain, size_t *plain_len) in pkcs1_decrypt_public_key() argument
142 if (crypto_rsa_exptmod(crypt, crypt_len, plain, &len, key, 0) < 0) in pkcs1_decrypt_public_key()
157 plain[0] != 0x00 || plain[1] != 0x01) { in pkcs1_decrypt_public_key()
163 pos = plain + 3; in pkcs1_decrypt_public_key()
165 if (plain[2] != 0xff) { in pkcs1_decrypt_public_key()
170 while (pos < plain + len && *pos == 0xff) in pkcs1_decrypt_public_key()
173 if (pos - plain - 2 < 8) { in pkcs1_decrypt_public_key()
180 if (pos + 16 /* min hash len */ >= plain + len || *pos != 0x00) { in pkcs1_decrypt_public_key()
186 len -= pos - plain; in pkcs1_decrypt_public_key()
189 os_memmove(plain, pos, len); in pkcs1_decrypt_public_key()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dpkcs1.c136 u8 *plain, size_t *plain_len) in pkcs1_decrypt_public_key() argument
142 if (crypto_rsa_exptmod(crypt, crypt_len, plain, &len, key, 0) < 0) in pkcs1_decrypt_public_key()
157 plain[0] != 0x00 || plain[1] != 0x01) { in pkcs1_decrypt_public_key()
163 pos = plain + 3; in pkcs1_decrypt_public_key()
165 if (plain[2] != 0xff) { in pkcs1_decrypt_public_key()
170 while (pos < plain + len && *pos == 0xff) in pkcs1_decrypt_public_key()
173 if (pos - plain - 2 < 8) { in pkcs1_decrypt_public_key()
180 if (pos + 16 /* min hash len */ >= plain + len || *pos != 0x00) { in pkcs1_decrypt_public_key()
186 len -= pos - plain; in pkcs1_decrypt_public_key()
189 os_memmove(plain, pos, len); in pkcs1_decrypt_public_key()
/third_party/python/Lib/test/test_email/data/
Dmsg_12.txt9 Content-Type: text/plain; charset="us-ascii"
20 Content-Type: text/plain; charset="iso-8859-2"
24 Content-Type: text/plain; charset="iso-8859-3"
29 Content-Type: text/plain; charset="us-ascii"
33 Content-Type: text/plain; charset="koi8-r"
Dmsg_12a.txt9 Content-Type: text/plain; charset="us-ascii"
20 Content-Type: text/plain; charset="iso-8859-2"
24 Content-Type: text/plain; charset="iso-8859-3"
31 Content-Type: text/plain; charset="us-ascii"
35 Content-Type: text/plain; charset="koi8-r"
Dmsg_02.txt12 Content-type: text/plain; charset=us-ascii
31 Content-type: text/plain; charset=us-ascii
48 Content-Type: text/plain; charset=us-ascii
64 Content-Type: text/plain; charset=us-ascii
78 Content-Type: text/plain; charset=us-ascii
93 Content-Type: text/plain; charset=us-ascii
108 Content-Type: text/plain; charset=us-ascii
124 Content-type: text/plain; charset=us-ascii
Dmsg_10.txt9 Content-Type: text/plain; charset="us-ascii"
21 Content-Type: text/plain; charset="iso-8859-1"
28 Content-Type: text/plain; charset="iso-8859-1"
35 Content-Type: text/plain; charset="iso-8859-1"
/third_party/curl/tests/data/
Dtest106614 Content-Type: text/plain
22 Content-Type: text/plain
61 Content-Type: text/plain
62 Content-Type: text/plain
72 Content-Type: text/plain
73 Content-Type: text/plain
Dtest108919 Content-Type: text/plain
29 Content-Type: text/plain; charset=us-ascii
71 Content-Type: text/plain
78 Content-Type: text/plain; charset=us-ascii
85 text/plain; charset=us-ascii
/third_party/python/Doc/library/
Demail.iterators.rst62 text/plain
63 text/plain
66 text/plain
68 text/plain
70 text/plain
72 text/plain
74 text/plain
75 text/plain
/third_party/node/deps/npm/test/tap/
Dinstall-order.js44 var plain = [
52 t.isDeeply(sortActions(plain), sorted)
57 var plain = [
63 t.isDeeply(sortActions(plain), sorted)

12345678910>>...60