Searched defs:plain (Results 26 - 50 of 90) sorted by relevance

1234

/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Daes-ccm.c149 size_t M, const u8 *plain, size_t plain_len,
164 aes_ccm_auth(aes, plain, plain_len, x);
168 aes_ccm_encr(aes, L, plain, plain_len, crypt, a);
180 const u8 *aad, size_t aad_len, const u8 *auth, u8 *plain)
199 aes_ccm_encr(aes, L, crypt, crypt_len, plain, a);
202 aes_ccm_auth(aes, plain, crypt_len, x);
148 aes_ccm_ae(const u8 *key, size_t key_len, const u8 *nonce, size_t M, const u8 *plain, size_t plain_len, const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth) argument
178 aes_ccm_ad(const u8 *key, size_t key_len, const u8 *nonce, size_t M, const u8 *crypt, size_t crypt_len, const u8 *aad, size_t aad_len, const u8 *auth, u8 *plain) argument
H A Daes-internal-dec.c150 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
153 rijndaelDecrypt(ctx, rk[AES_PRIV_NR_POS], crypt, plain);
H A Dcrypto_internal-cipher.c103 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, argument
110 if (plain != crypt)
111 os_memcpy(crypt, plain, len);
122 ctx->u.aes.cbc[j] ^= plain[j];
126 plain += AES_BLOCK_SIZE;
136 ctx->u.des3.cbc[j] ^= plain[j];
140 plain += 8;
150 ctx->u.des3.cbc[j] ^= plain[j];
154 plain += 8;
167 u8 *plain, size_
166 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
[all...]
H A Daes-gcm.c255 const u8 *plain, size_t plain_len,
270 aes_gcm_gctr(aes, J0, plain, plain_len, crypt);
290 const u8 *aad, size_t aad_len, const u8 *tag, u8 *plain)
304 aes_gcm_gctr(aes, J0, crypt, crypt_len, plain);
254 aes_gcm_ae(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *plain, size_t plain_len, const u8 *aad, size_t aad_len, u8 *crypt, u8 *tag) argument
288 aes_gcm_ad(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *crypt, size_t crypt_len, const u8 *aad, size_t aad_len, const u8 *tag, u8 *plain) argument
H A Dcrypto_gnutls.c110 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
113 gcry_cipher_encrypt(hd, crypt, 16, plain, 16);
140 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
143 gcry_cipher_decrypt(hd, plain, 16, crypt, 16);
274 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, argument
277 if (gcry_cipher_encrypt(ctx->enc, crypt, len, plain, len) !=
285 u8 *plain, size_t len)
287 if (gcry_cipher_decrypt(ctx->dec, plain, len, crypt, len) !=
284 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
H A Ddes-internal.c434 void des_block_encrypt(const u8 *plain, const u32 *ek, u8 *crypt) argument
437 work[0] = WPA_GET_BE32(plain);
438 work[1] = WPA_GET_BE32(plain + 4);
445 void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain) argument
451 WPA_PUT_BE32(plain, work[0]);
452 WPA_PUT_BE32(plain + 4, work[1]);
468 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt) argument
472 work[0] = WPA_GET_BE32(plain);
473 work[1] = WPA_GET_BE32(plain + 4);
482 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dpkcs1.c136 u8 *plain, size_t *plain_len)
142 if (crypto_rsa_exptmod(crypt, crypt_len, plain, &len, key, 0) < 0)
157 plain[0] != 0x00 || plain[1] != 0x01) {
163 pos = plain + 3;
165 if (plain[2] != 0xff) {
170 while (pos < plain + len && *pos == 0xff)
173 if (pos - plain - 2 < 8) {
180 if (pos + 16 /* min hash len */ >= plain + len || *pos != 0x00) {
186 len -= pos - plain;
134 pkcs1_decrypt_public_key(struct crypto_rsa_key *key, const u8 *crypt, size_t crypt_len, u8 *plain, size_t *plain_len) argument
[all...]
/external/autotest/client/common_lib/
H A Dsmogcheck_tpm.py69 plain=TSS_SECRET_MODE_PLAIN) variable
/external/icu/icu4c/source/i18n/
H A Dregexcmp.h73 plain = -1, // No special handling enumerator in enum:RegexCompile::EParenClass
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Daes-gcm.c255 const u8 *plain, size_t plain_len,
270 aes_gcm_gctr(aes, J0, plain, plain_len, crypt);
290 const u8 *aad, size_t aad_len, const u8 *tag, u8 *plain)
304 aes_gcm_gctr(aes, J0, crypt, crypt_len, plain);
254 aes_gcm_ae(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *plain, size_t plain_len, const u8 *aad, size_t aad_len, u8 *crypt, u8 *tag) argument
288 aes_gcm_ad(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *crypt, size_t crypt_len, const u8 *aad, size_t aad_len, const u8 *tag, u8 *plain) argument
H A Dcrypto_gnutls.c110 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
113 gcry_cipher_encrypt(hd, crypt, 16, plain, 16);
140 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
143 gcry_cipher_decrypt(hd, plain, 16, crypt, 16);
274 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, argument
277 if (gcry_cipher_encrypt(ctx->enc, crypt, len, plain, len) !=
285 u8 *plain, size_t len)
287 if (gcry_cipher_decrypt(ctx->dec, plain, len, crypt, len) !=
284 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
H A Ddes-internal.c434 void des_block_encrypt(const u8 *plain, const u32 *ek, u8 *crypt) argument
437 work[0] = WPA_GET_BE32(plain);
438 work[1] = WPA_GET_BE32(plain + 4);
445 void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain) argument
451 WPA_PUT_BE32(plain, work[0]);
452 WPA_PUT_BE32(plain + 4, work[1]);
468 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt) argument
472 work[0] = WPA_GET_BE32(plain);
473 work[1] = WPA_GET_BE32(plain + 4);
482 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_server_tls_common.c411 const struct wpabuf *plain)
416 plain);
409 eap_server_tls_encrypt(struct eap_sm *sm, struct eap_ssl_data *data, const struct wpabuf *plain) argument
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_attr_build.c375 struct wpabuf *plain)
384 pad_len = block_size - wpabuf_len(plain) % block_size;
385 os_memset(wpabuf_put(plain, pad_len), pad_len, pad_len);
388 wpabuf_put_be16(msg, block_size + wpabuf_len(plain));
395 wpabuf_put_buf(msg, plain);
396 if (aes_128_cbc_encrypt(wps->keywrapkey, iv, data, wpabuf_len(plain)))
374 wps_build_encr_settings(struct wps_data *wps, struct wpabuf *msg, struct wpabuf *plain) argument
H A Dwps_enrollee.c205 struct wpabuf *msg, *plain; local
209 plain = wpabuf_alloc(200);
210 if (plain == NULL)
215 wpabuf_free(plain);
222 wps_build_e_snonce1(wps, plain) ||
223 wps_build_key_wrap_auth(wps, plain) ||
224 wps_build_encr_settings(wps, msg, plain) ||
227 wpabuf_free(plain);
231 wpabuf_free(plain);
344 static int wps_build_ap_settings(struct wps_data *wps, struct wpabuf *plain) argument
374 struct wpabuf *msg, *plain; local
[all...]
/external/wpa_supplicant_8/src/crypto/
H A Daes-gcm.c255 const u8 *plain, size_t plain_len,
270 aes_gcm_gctr(aes, J0, plain, plain_len, crypt);
290 const u8 *aad, size_t aad_len, const u8 *tag, u8 *plain)
304 aes_gcm_gctr(aes, J0, crypt, crypt_len, plain);
254 aes_gcm_ae(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *plain, size_t plain_len, const u8 *aad, size_t aad_len, u8 *crypt, u8 *tag) argument
288 aes_gcm_ad(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *crypt, size_t crypt_len, const u8 *aad, size_t aad_len, const u8 *tag, u8 *plain) argument
H A Dcrypto_gnutls.c110 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
113 gcry_cipher_encrypt(hd, crypt, 16, plain, 16);
140 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
143 gcry_cipher_decrypt(hd, plain, 16, crypt, 16);
274 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, argument
277 if (gcry_cipher_encrypt(ctx->enc, crypt, len, plain, len) !=
285 u8 *plain, size_t len)
287 if (gcry_cipher_decrypt(ctx->dec, plain, len, crypt, len) !=
284 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
H A Ddes-internal.c434 void des_block_encrypt(const u8 *plain, const u32 *ek, u8 *crypt) argument
437 work[0] = WPA_GET_BE32(plain);
438 work[1] = WPA_GET_BE32(plain + 4);
445 void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain) argument
451 WPA_PUT_BE32(plain, work[0]);
452 WPA_PUT_BE32(plain + 4, work[1]);
468 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt) argument
472 work[0] = WPA_GET_BE32(plain);
473 work[1] = WPA_GET_BE32(plain + 4);
482 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain) argument
[all...]
/external/wpa_supplicant_8/src/eap_server/
H A Deap_server_tls_common.c411 const struct wpabuf *plain)
416 plain);
409 eap_server_tls_encrypt(struct eap_sm *sm, struct eap_ssl_data *data, const struct wpabuf *plain) argument
/external/wpa_supplicant_8/src/wps/
H A Dwps_attr_build.c375 struct wpabuf *plain)
384 pad_len = block_size - wpabuf_len(plain) % block_size;
385 os_memset(wpabuf_put(plain, pad_len), pad_len, pad_len);
388 wpabuf_put_be16(msg, block_size + wpabuf_len(plain));
395 wpabuf_put_buf(msg, plain);
396 if (aes_128_cbc_encrypt(wps->keywrapkey, iv, data, wpabuf_len(plain)))
374 wps_build_encr_settings(struct wps_data *wps, struct wpabuf *msg, struct wpabuf *plain) argument
H A Dwps_enrollee.c205 struct wpabuf *msg, *plain; local
209 plain = wpabuf_alloc(200);
210 if (plain == NULL)
215 wpabuf_free(plain);
222 wps_build_e_snonce1(wps, plain) ||
223 wps_build_key_wrap_auth(wps, plain) ||
224 wps_build_encr_settings(wps, msg, plain) ||
227 wpabuf_free(plain);
231 wpabuf_free(plain);
344 static int wps_build_ap_settings(struct wps_data *wps, struct wpabuf *plain) argument
374 struct wpabuf *msg, *plain; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/
H A Deap_server_tls_common.c411 const struct wpabuf *plain)
416 plain);
409 eap_server_tls_encrypt(struct eap_sm *sm, struct eap_ssl_data *data, const struct wpabuf *plain) argument
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_attr_build.c375 struct wpabuf *plain)
384 pad_len = block_size - wpabuf_len(plain) % block_size;
385 os_memset(wpabuf_put(plain, pad_len), pad_len, pad_len);
388 wpabuf_put_be16(msg, block_size + wpabuf_len(plain));
395 wpabuf_put_buf(msg, plain);
396 if (aes_128_cbc_encrypt(wps->keywrapkey, iv, data, wpabuf_len(plain)))
374 wps_build_encr_settings(struct wps_data *wps, struct wpabuf *msg, struct wpabuf *plain) argument
H A Dwps_enrollee.c205 struct wpabuf *msg, *plain; local
209 plain = wpabuf_alloc(200);
210 if (plain == NULL)
215 wpabuf_free(plain);
222 wps_build_e_snonce1(wps, plain) ||
223 wps_build_key_wrap_auth(wps, plain) ||
224 wps_build_encr_settings(wps, msg, plain) ||
227 wpabuf_free(plain);
231 wpabuf_free(plain);
344 static int wps_build_ap_settings(struct wps_data *wps, struct wpabuf *plain) argument
374 struct wpabuf *msg, *plain; local
[all...]
/external/chromium-trace/catapult/third_party/Paste/paste/
H A Dhttpexceptions.py107 1. The content given to the exception may either be plain-text or
114 3. The final output may either be text/plain or text/html
129 a plain-text explanation of the error message that is
134 a plain-text message customization that is not subject
151 a plain-text override of the default ``detail``
157 a plain-text additional information which is
160 To override the template (which is HTML content) or the plain-text
164 plain-text and html messages for various clients as well as
215 def plain(self, environ): member in class:HTTPException
216 """ text/plain representatio
384 def plain(self, environ): member in class:HTTPNotModified
[all...]

Completed in 408 milliseconds

1234