Searched defs:crypt (Results 1 - 25 of 53) sorted by relevance

123

/external/chromium_org/chrome/utility/importer/
H A Dfirefox_importer_unittest_utils.h48 base::string16 Decrypt(const std::string& crypt);
88 base::string16 FFUnitTestDecryptorProxy::Decrypt(const std::string& crypt) { argument
89 return decryptor_.Decrypt(crypt);
H A Dfirefox_importer_unittest_utils_mac.cc213 base::string16 FFUnitTestDecryptorProxy::Decrypt(const std::string& crypt) { argument
214 channel_->Send(new Msg_Decrypt(crypt));
252 void OnDecrypt(std::string crypt) { argument
253 base::string16 unencrypted_str = decryptor_.Decrypt(crypt);
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Daes-internal-enc.c115 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
118 rijndaelEncrypt(ctx, rk[AES_PRIV_NR_POS], plain, crypt);
H A Dcrypto_internal-rsa.c112 const u8 *crypt, size_t crypt_len,
116 crypt, crypt_len, plain, plain_len);
111 crypto_public_key_decrypt_pkcs1(struct crypto_public_key *key, const u8 *crypt, size_t crypt_len, u8 *plain, size_t *plain_len) argument
H A Daes-ccm.c98 /* crypt = msg XOR (S_1 | S_2 | ... | S_n) */
150 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth)
168 aes_ccm_encr(aes, L, plain, plain_len, crypt, a);
179 size_t M, const u8 *crypt, size_t crypt_len,
199 aes_ccm_encr(aes, L, crypt, crypt_len, plain, a);
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.c104 u8 *crypt, size_t len)
110 if (plain != crypt)
111 os_memcpy(crypt, plain, len);
113 ctx->u.rc4.used_bytes, crypt, len);
125 os_memcpy(crypt, ctx->u.aes.cbc, AES_BLOCK_SIZE);
127 crypt += AES_BLOCK_SIZE;
139 os_memcpy(crypt, ctx->u.des3.cbc, 8);
141 crypt += 8;
153 os_memcpy(crypt, ctx->u.des.cbc, 8);
155 crypt
103 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
166 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
[all...]
H A Daes-gcm.c230 const u8 *crypt, size_t crypt_len, u8 *S)
242 ghash(H, crypt, crypt_len, S);
256 const u8 *aad, size_t aad_len, u8 *crypt, u8 *tag)
270 aes_gcm_gctr(aes, J0, plain, plain_len, crypt);
272 aes_gcm_ghash(H, aad, aad_len, crypt, plain_len, S);
289 const u8 *crypt, size_t crypt_len,
304 aes_gcm_gctr(aes, J0, crypt, crypt_len, plain);
306 aes_gcm_ghash(H, aad, aad_len, crypt, crypt_len, S);
229 aes_gcm_ghash(const u8 *H, const u8 *aad, size_t aad_len, const u8 *crypt, size_t crypt_len, u8 *S) argument
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);
275 u8 *crypt, size_t len)
277 if (gcry_cipher_encrypt(ctx->enc, crypt, len, plain, len) !=
284 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, argument
287 if (gcry_cipher_decrypt(ctx->dec, plain, len, crypt, len) !=
274 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
H A Dcrypto_nss.c144 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
160 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
192 u8 *crypt, size_t len)
198 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, argument
191 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
H A Ddes-internal.c434 void des_block_encrypt(const u8 *plain, const u32 *ek, u8 *crypt) argument
440 WPA_PUT_BE32(crypt, work[0]);
441 WPA_PUT_BE32(crypt + 4, work[1]);
445 void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain) argument
448 work[0] = WPA_GET_BE32(crypt);
449 work[1] = WPA_GET_BE32(crypt + 4);
468 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt) argument
477 WPA_PUT_BE32(crypt, work[0]);
478 WPA_PUT_BE32(crypt + 4, work[1]);
482 void des3_decrypt(const u8 *crypt, cons argument
[all...]
/external/wpa_supplicant_8/src/crypto/
H A Daes-internal-enc.c115 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
118 rijndaelEncrypt(ctx, rk[AES_PRIV_NR_POS], plain, crypt);
H A Dcrypto_internal-rsa.c112 const u8 *crypt, size_t crypt_len,
116 crypt, crypt_len, plain, plain_len);
111 crypto_public_key_decrypt_pkcs1(struct crypto_public_key *key, const u8 *crypt, size_t crypt_len, u8 *plain, size_t *plain_len) argument
H A Daes-ccm.c98 /* crypt = msg XOR (S_1 | S_2 | ... | S_n) */
150 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth)
168 aes_ccm_encr(aes, L, plain, plain_len, crypt, a);
179 size_t M, const u8 *crypt, size_t crypt_len,
199 aes_ccm_encr(aes, L, crypt, crypt_len, plain, a);
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.c104 u8 *crypt, size_t len)
110 if (plain != crypt)
111 os_memcpy(crypt, plain, len);
113 ctx->u.rc4.used_bytes, crypt, len);
125 os_memcpy(crypt, ctx->u.aes.cbc, AES_BLOCK_SIZE);
127 crypt += AES_BLOCK_SIZE;
139 os_memcpy(crypt, ctx->u.des3.cbc, 8);
141 crypt += 8;
153 os_memcpy(crypt, ctx->u.des.cbc, 8);
155 crypt
103 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
166 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Daes-internal-enc.c115 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
118 rijndaelEncrypt(ctx, rk[AES_PRIV_NR_POS], plain, crypt);
H A Dcrypto_internal-rsa.c112 const u8 *crypt, size_t crypt_len,
116 crypt, crypt_len, plain, plain_len);
111 crypto_public_key_decrypt_pkcs1(struct crypto_public_key *key, const u8 *crypt, size_t crypt_len, u8 *plain, size_t *plain_len) argument
H A Daes-ccm.c98 /* crypt = msg XOR (S_1 | S_2 | ... | S_n) */
150 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth)
168 aes_ccm_encr(aes, L, plain, plain_len, crypt, a);
179 size_t M, const u8 *crypt, size_t crypt_len,
199 aes_ccm_encr(aes, L, crypt, crypt_len, plain, a);
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.c104 u8 *crypt, size_t len)
110 if (plain != crypt)
111 os_memcpy(crypt, plain, len);
113 ctx->u.rc4.used_bytes, crypt, len);
125 os_memcpy(crypt, ctx->u.aes.cbc, AES_BLOCK_SIZE);
127 crypt += AES_BLOCK_SIZE;
139 os_memcpy(crypt, ctx->u.des3.cbc, 8);
141 crypt += 8;
153 os_memcpy(crypt, ctx->u.des.cbc, 8);
155 crypt
103 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
166 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dpkcs1.c135 const u8 *crypt, size_t crypt_len,
142 if (crypto_rsa_exptmod(crypt, crypt_len, plain, &len, key, 0) < 0)
134 pkcs1_decrypt_public_key(struct crypto_rsa_key *key, const u8 *crypt, size_t crypt_len, u8 *plain, size_t *plain_len) argument
/external/wpa_supplicant_8/src/tls/
H A Dpkcs1.c135 const u8 *crypt, size_t crypt_len,
142 if (crypto_rsa_exptmod(crypt, crypt_len, plain, &len, key, 0) < 0)
134 pkcs1_decrypt_public_key(struct crypto_rsa_key *key, const u8 *crypt, size_t crypt_len, u8 *plain, size_t *plain_len) argument
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dpkcs1.c135 const u8 *crypt, size_t crypt_len,
142 if (crypto_rsa_exptmod(crypt, crypt_len, plain, &len, key, 0) < 0)
134 pkcs1_decrypt_public_key(struct crypto_rsa_key *key, const u8 *crypt, size_t crypt_len, u8 *plain, size_t *plain_len) argument
/external/openssl/crypto/des/
H A Dspeed.c74 #define crypt(c,s) (des_crypt((c),(s))) macro
293 printf("Doing crypt for 10 seconds\n");
296 printf("Doing crypt %ld times\n",ce);
300 crypt("testing1","ef");
309 printf("crypt per sec = %12.2f (%9.3fuS)\n",e,1.0e6/e);

Completed in 834 milliseconds

123