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

123

/external/dropbear/
H A Dconfigure3814 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
3815 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
3834 char crypt ();
3838 crypt (); function
5107 for ac_header in fcntl.h limits.h netinet/in.h netinet/tcp.h stdlib.h string.h sys/socket.h sys/time.h termios.h unistd.h crypt.h pty.h ioctl.h libutil.h libgen.h inttypes.h stropts.h utmp.h utmpx.h lastlog.h paths.h util.h netdb.h security/pam_appl.h pam/pam_appl.h netinet/in_systm.h
11147 mkdir -p libtomcrypt/src/misc/crypt
11149 as_dir=libtomcrypt/src/misc/crypt
11167 fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/misc/crypt" >&5
11168 echo "$as_me: error: cannot create directory libtomcrypt/src/misc/crypt" >&2;}
/external/chromium/chrome/browser/importer/
H A Dfirefox_importer_unittest_utils.h42 string16 Decrypt(const std::string& crypt);
80 string16 FFUnitTestDecryptorProxy::Decrypt(const std::string& crypt) { argument
81 return decryptor_.Decrypt(crypt);
H A Dfirefox_importer_unittest_utils_mac.cc198 string16 FFUnitTestDecryptorProxy::Decrypt(const std::string& crypt) { argument
199 channel_->Send(new Msg_Decrypt(crypt));
226 void OnDecrypt(std::string crypt) { argument
227 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.c103 const u8 *crypt, size_t crypt_len,
107 crypt, crypt_len, plain, plain_len);
102 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.c128 const u8 *crypt, size_t crypt_len,
135 if (crypto_rsa_exptmod(crypt, crypt_len, plain, &len, key, 0) < 0)
127 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/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.c103 const u8 *crypt, size_t crypt_len,
107 crypt, crypt_len, plain, plain_len);
102 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/src/tls/
H A Dpkcs1.c128 const u8 *crypt, size_t crypt_len,
135 if (crypto_rsa_exptmod(crypt, crypt_len, plain, &len, key, 0) < 0)
127 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/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.c103 const u8 *crypt, size_t crypt_len,
107 crypt, crypt_len, plain, plain_len);
102 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/tls/
H A Dpkcs1.c128 const u8 *crypt, size_t crypt_len,
135 if (crypto_rsa_exptmod(crypt, crypt_len, plain, &len, key, 0) < 0)
127 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_6/wpa_supplicant/tests/
H A Dtest_aes.c241 u8 crypt[] = { local
255 if (memcmp(result, crypt, 24) != 0) {
259 if (aes_unwrap(kek, 2, crypt, result)) {
/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);
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
H A Dcrypto_gnutls.c122 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
125 gcry_cipher_encrypt(hd, crypt, 16, plain, 16);
152 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
155 gcry_cipher_decrypt(hd, plain, 16, crypt, 16);
287 u8 *crypt, size_t len)
289 if (gcry_cipher_encrypt(ctx->enc, crypt, len, plain, len) !=
296 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, argument
299 if (gcry_cipher_decrypt(ctx->dec, plain, len, crypt, len) !=
286 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
H A Ddes.c452 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt) argument
461 WPA_PUT_BE32(crypt, work[0]);
462 WPA_PUT_BE32(crypt + 4, work[1]);
466 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain) argument
470 work[0] = WPA_GET_BE32(crypt);
471 work[1] = WPA_GET_BE32(crypt + 4);

Completed in 268 milliseconds

123