Home
last modified time | relevance | path

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

12345678910>>...19

/external/mesa3d/src/gallium/auxiliary/util/
Du_format.csv36 # - channel encoding (only meaningful for plain layout), containing for each
62 PIPE_FORMAT_NONE , plain, 1, 1, u8 , , , , x001, rgb
65 PIPE_FORMAT_B8G8R8A8_UNORM , plain, 1, 1, un8 , un8 , un8 , un8 , zyxw, rgb
66 PIPE_FORMAT_B8G8R8X8_UNORM , plain, 1, 1, un8 , un8 , un8 , x8 , zyx1, rgb
67 PIPE_FORMAT_A8R8G8B8_UNORM , plain, 1, 1, un8 , un8 , un8 , un8 , yzwx, rgb
68 PIPE_FORMAT_X8R8G8B8_UNORM , plain, 1, 1, x8 , un8 , un8 , un8 , yzw1, rgb
69 PIPE_FORMAT_A8B8G8R8_UNORM , plain, 1, 1, un8 , un8 , un8 , un8 , wzyx, rgb
70 PIPE_FORMAT_X8B8G8R8_UNORM , plain, 1, 1, x8 , un8 , un8 , un8 , wzy1, rgb
72 PIPE_FORMAT_R8G8B8X8_UNORM , plain, 1, 1, un8 , un8 , un8 , x8 , xyz1, rgb
73 PIPE_FORMAT_B5G5R5X1_UNORM , plain, 1, 1, un5 , un5 , un5 , x1 , zyx1, rgb
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_format.csv36 # - channel encoding (only meaningful for plain layout), containing for each
62 PIPE_FORMAT_NONE , plain, 1, 1, u8 , , , , x001, rgb
65 PIPE_FORMAT_B8G8R8A8_UNORM , plain, 1, 1, un8 , un8 , un8 , un8 , zyxw, rgb
66 PIPE_FORMAT_B8G8R8X8_UNORM , plain, 1, 1, un8 , un8 , un8 , x8 , zyx1, rgb
67 PIPE_FORMAT_A8R8G8B8_UNORM , plain, 1, 1, un8 , un8 , un8 , un8 , yzwx, rgb
68 PIPE_FORMAT_X8R8G8B8_UNORM , plain, 1, 1, x8 , un8 , un8 , un8 , yzw1, rgb
69 PIPE_FORMAT_A8B8G8R8_UNORM , plain, 1, 1, un8 , un8 , un8 , un8 , wzyx, rgb
70 PIPE_FORMAT_X8B8G8R8_UNORM , plain, 1, 1, x8 , un8 , un8 , un8 , wzy1, rgb
72 PIPE_FORMAT_R8G8B8X8_UNORM , plain, 1, 1, un8 , un8 , un8 , x8 , xyz1, rgb
73 PIPE_FORMAT_B5G5R5X1_UNORM , plain, 1, 1, un5 , un5 , un5 , x1 , zyx1, rgb
[all …]
/external/fonttools/Lib/fontTools/misc/
Deexec.py10 plain = ( (cipher ^ (R>>8)) ) & 0xFF
12 return bytechr(plain), R
14 def _encryptChar(plain, R): argument
15 plain = byteord(plain)
16 cipher = ( (plain ^ (R>>8)) ) & 0xFF
24 plain, R = _decryptChar(cipher, R)
25 plainList.append(plain)
31 for plain in plainstring:
32 cipher, R = _encryptChar(plain, R)
/external/wpa_supplicant_8/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.c99 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() argument
102 aes_ecb_encrypt(plain, crypt, skey); in aes_encrypt()
128 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt() argument
131 aes_ecb_encrypt(plain, (u8 *) crypt, skey); in aes_decrypt()
350 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, in crypto_cipher_encrypt() argument
356 if (plain != crypt) in crypto_cipher_encrypt()
357 os_memcpy(crypt, plain, len); in crypto_cipher_encrypt()
364 res = cbc_encrypt(plain, crypt, len, &ctx->u.cbc); in crypto_cipher_encrypt()
375 u8 *plain, size_t len) in crypto_cipher_decrypt() argument
380 if (plain != crypt) in crypto_cipher_decrypt()
[all …]
Ddes-internal.c434 void des_block_encrypt(const u8 *plain, const u32 *ek, u8 *crypt) in des_block_encrypt() argument
437 work[0] = WPA_GET_BE32(plain); in des_block_encrypt()
438 work[1] = WPA_GET_BE32(plain + 4); in des_block_encrypt()
445 void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain) in des_block_decrypt() argument
451 WPA_PUT_BE32(plain, work[0]); in des_block_decrypt()
452 WPA_PUT_BE32(plain + 4, work[1]); in des_block_decrypt()
468 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt) in des3_encrypt() argument
472 work[0] = WPA_GET_BE32(plain); in des3_encrypt()
473 work[1] = WPA_GET_BE32(plain + 4); in des3_encrypt()
482 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);
47 const u8 *plain, size_t plain_len,
54 u8 *plain);
59 size_t M, const u8 *plain, size_t plain_len,
64 u8 *plain);
Dcrypto_gnutls.c110 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() argument
113 gcry_cipher_encrypt(hd, crypt, 16, plain, 16); in aes_encrypt()
140 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt() argument
143 gcry_cipher_decrypt(hd, plain, 16, crypt, 16); in aes_decrypt()
274 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, in crypto_cipher_encrypt() argument
277 if (gcry_cipher_encrypt(ctx->enc, crypt, len, plain, len) != in crypto_cipher_encrypt()
285 u8 *plain, size_t len) in crypto_cipher_decrypt() argument
287 if (gcry_cipher_decrypt(ctx->dec, plain, len, crypt, len) != in crypto_cipher_decrypt()
Daes-unwrap.c27 u8 *plain) in aes_unwrap() argument
36 r = plain; in aes_unwrap()
51 r = plain + (n - 1) * 8; in aes_unwrap()
Daes-ccm.c149 size_t M, const u8 *plain, size_t plain_len, in aes_ccm_ae() argument
164 aes_ccm_auth(aes, plain, plain_len, x); in aes_ccm_ae()
168 aes_ccm_encr(aes, L, plain, plain_len, crypt, a); in aes_ccm_ae()
180 const u8 *aad, size_t aad_len, const u8 *auth, u8 *plain) in aes_ccm_ad() argument
199 aes_ccm_encr(aes, L, crypt, crypt_len, plain, a); in aes_ccm_ad()
202 aes_ccm_auth(aes, plain, crypt_len, x); in aes_ccm_ad()
Daes.h15 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt);
18 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain);
Dcrypto_nss.c144 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() argument
160 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt() argument
191 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, in crypto_cipher_encrypt() argument
199 u8 *plain, size_t len) in crypto_cipher_decrypt() argument
Dcrypto_cryptoapi.c291 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() argument
296 os_memcpy(crypt, plain, 16); in aes_encrypt()
323 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt() argument
328 os_memcpy(plain, crypt, 16); in aes_decrypt()
331 if (!CryptDecrypt(akey->ckey, 0, FALSE, 0, plain, &dlen)) { in aes_decrypt()
590 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, in crypto_cipher_encrypt() argument
595 os_memcpy(crypt, plain, len); in crypto_cipher_encrypt()
608 u8 *plain, size_t len) in crypto_cipher_decrypt() argument
612 os_memcpy(plain, crypt, len); in crypto_cipher_decrypt()
614 if (!CryptDecrypt(ctx->key, 0, FALSE, 0, plain, &dlen)) { in crypto_cipher_decrypt()
/external/openssl/crypto/des/
Ddestest.c290 static unsigned char plain[24]= variable
612 for (i=0; i<sizeof(plain); i++) in main()
613 des_cfb_encrypt(&(plain[i]),&(cfb_buf1[i]), in main()
615 if (memcmp(cfb_cipher8,cfb_buf1,sizeof(plain)) != 0) in main()
622 for (i=0; i<sizeof(plain); i++) in main()
625 if (memcmp(plain,cfb_buf2,sizeof(plain)) != 0) in main()
639 des_ofb_encrypt(plain,ofb_buf1,64,sizeof(plain)/8,ks,&ofb_tmp); in main()
653 if (memcmp(plain,ofb_buf2,sizeof(ofb_buf2)) != 0) in main()
660 plain[8+0], plain[8+1], plain[8+2], plain[8+3], in main()
661 plain[8+4], plain[8+5], plain[8+6], plain[8+7]); in main()
[all …]
/external/chromium_org/chrome/common/extensions/api/networking_private/
Dnetworking_private_crypto_unittest.cc17 const std::string& plain, in VerifyByteString() argument
22 return decrypted == plain; in VerifyByteString()
147 std::string plain; in TEST_F() local
151 plain = kTestData; in TEST_F()
153 public_key, plain, &encrypted_output)); in TEST_F()
154 EXPECT_TRUE(VerifyByteString(kPrivateKey, plain, encrypted_output)); in TEST_F()
157 plain = kEmptyData; in TEST_F()
159 public_key, plain, &encrypted_output)); in TEST_F()
/external/wpa_supplicant_8/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()
/external/chromium_org/third_party/libjingle/source/talk/xmpp/
Dsaslmechanism.cc56 SaslMechanism::Base64Encode(const std::string & plain) { in Base64Encode() argument
57 return Base64::Encode(plain); in Base64Encode()
66 SaslMechanism::Base64EncodeFromArray(const char * plain, size_t length) { in Base64EncodeFromArray() argument
68 Base64::EncodeFromArray(plain, length, &result); in Base64EncodeFromArray()
/external/wpa_supplicant_8/src/wps/
Dwps_enrollee.c205 struct wpabuf *msg, *plain; in wps_build_m5() local
209 plain = wpabuf_alloc(200); in wps_build_m5()
210 if (plain == NULL) in wps_build_m5()
215 wpabuf_free(plain); in wps_build_m5()
222 wps_build_e_snonce1(wps, plain) || in wps_build_m5()
223 wps_build_key_wrap_auth(wps, plain) || in wps_build_m5()
224 wps_build_encr_settings(wps, msg, plain) || in wps_build_m5()
227 wpabuf_free(plain); in wps_build_m5()
231 wpabuf_free(plain); in wps_build_m5()
318 static int wps_build_ap_settings(struct wps_data *wps, struct wpabuf *plain) in wps_build_ap_settings() argument
[all …]
/external/wpa_supplicant_8/src/eap_peer/
Dikev2.c1109 struct wpabuf *plain = wpabuf_alloc(data->IDr_len + 1000); in ikev2_build_sa_init() local
1110 if (plain == NULL) { in ikev2_build_sa_init()
1114 if (ikev2_build_idr(data, plain, in ikev2_build_sa_init()
1118 &data->keys, 0, msg, plain, in ikev2_build_sa_init()
1120 wpabuf_free(plain); in ikev2_build_sa_init()
1124 wpabuf_free(plain); in ikev2_build_sa_init()
1142 struct wpabuf *msg, *plain; in ikev2_build_sa_auth() local
1151 plain = wpabuf_alloc(data->IDr_len + 1000); in ikev2_build_sa_auth()
1152 if (plain == NULL) { in ikev2_build_sa_auth()
1157 if (ikev2_build_idr(data, plain, IKEV2_PAYLOAD_AUTHENTICATION) || in ikev2_build_sa_auth()
[all …]
/external/openssl/crypto/rc2/
Drc2test.c120 static unsigned char plain[CFB_TEST_SIZE]= variable
225 idea_cfb64_encrypt(plain,cfb_buf1,(long)12,&eks, in cfb64_test()
227 idea_cfb64_encrypt(&(plain[12]),&(cfb_buf1[12]), in cfb64_test()
244 if (memcmp(plain,cfb_buf2,CFB_TEST_SIZE) != 0) in cfb64_test()
/external/wpa_supplicant_8/src/eap_common/
Dikev2_common.c177 const u8 *plain, u8 *crypt, size_t len) in ikev2_encr_encrypt() argument
200 if (crypto_cipher_encrypt(cipher, plain, crypt, len) < 0) { in ikev2_encr_encrypt()
212 const u8 *crypt, u8 *plain, size_t len) in ikev2_encr_decrypt() argument
235 if (crypto_cipher_decrypt(cipher, crypt, plain, len) < 0) { in ikev2_encr_decrypt()
529 struct wpabuf *plain, u8 next_payload) in ikev2_build_encrypted() argument
577 pad_len = iv_len - (wpabuf_len(plain) + 1) % iv_len; in ikev2_build_encrypted()
580 wpabuf_put(plain, pad_len); in ikev2_build_encrypted()
581 wpabuf_put_u8(plain, pad_len); in ikev2_build_encrypted()
584 wpabuf_head(plain), wpabuf_mhead(plain), in ikev2_build_encrypted()
585 wpabuf_len(plain)) < 0) in ikev2_build_encrypted()
[all …]
/external/llvm/test/YAMLParser/
Dspec-08-12.data8 !!str , # Empty plain scalar
9 '', # Empty plain scalar
/external/markdown/MarkdownTest/Tests_2004/
DYuri-Links-in-Headers.text1 ## A plain header
3 Let's first have a plain header
/external/ppp/pppd/plugins/radius/
Dradius.c734 u_char plain[32]; in radius_setmppekeys() local
743 memcpy(plain, vp->strvalue, sizeof(plain)); in radius_setmppekeys()
751 plain[i] ^= buf[i]; in radius_setmppekeys()
759 plain[i + 16] ^= buf[i]; in radius_setmppekeys()
766 mppe_set_keys(challenge, &plain[8]); in radius_setmppekeys()
789 u_char plain[32]; in radius_setmppekeys2() local
807 memcpy(plain, crypt, 32); in radius_setmppekeys2()
816 plain[i] ^= buf[i]; in radius_setmppekeys2()
818 if (plain[0] != sizeof(mppe_send_key) /* 16 */) { in radius_setmppekeys2()
820 (int) plain[0], type); in radius_setmppekeys2()
[all …]

12345678910>>...19