/external/dropbear/libtomcrypt/ |
D | Makefile.in | 134 src/misc/base64/base64_encode.o src/misc/burn_stack.o src/misc/crypt/crypt.o \ 135 src/misc/crypt/crypt_argchk.o src/misc/crypt/crypt_cipher_descriptor.o \ 136 src/misc/crypt/crypt_cipher_is_valid.o src/misc/crypt/crypt_find_cipher.o \ 137 src/misc/crypt/crypt_find_cipher_any.o src/misc/crypt/crypt_find_cipher_id.o \ 138 src/misc/crypt/crypt_find_hash.o src/misc/crypt/crypt_find_hash_any.o \ 139 src/misc/crypt/crypt_find_hash_id.o src/misc/crypt/crypt_find_hash_oid.o \ 140 src/misc/crypt/crypt_find_prng.o src/misc/crypt/crypt_fsa.o src/misc/crypt/crypt_hash_descriptor.o \ 141 src/misc/crypt/crypt_hash_is_valid.o src/misc/crypt/crypt_ltc_mp_descriptor.o \ 142 src/misc/crypt/crypt_prng_descriptor.o src/misc/crypt/crypt_prng_is_valid.o \ 143 src/misc/crypt/crypt_register_cipher.o src/misc/crypt/crypt_register_hash.o \ [all …]
|
D | Android.mk | 43 src/misc/base64/base64_encode.c src/misc/burn_stack.c src/misc/crypt/crypt.c \ 44 src/misc/crypt/crypt_argchk.c src/misc/crypt/crypt_cipher_descriptor.c \ 45 src/misc/crypt/crypt_cipher_is_valid.c src/misc/crypt/crypt_find_cipher.c \ 46 src/misc/crypt/crypt_find_cipher_any.c src/misc/crypt/crypt_find_cipher_id.c \ 47 src/misc/crypt/crypt_find_hash.c src/misc/crypt/crypt_find_hash_any.c \ 48 src/misc/crypt/crypt_find_hash_id.c src/misc/crypt/crypt_find_hash_oid.c \ 49 src/misc/crypt/crypt_find_prng.c src/misc/crypt/crypt_fsa.c src/misc/crypt/crypt_hash_descriptor.c \ 50 src/misc/crypt/crypt_hash_is_valid.c src/misc/crypt/crypt_ltc_mp_descriptor.c \ 51 src/misc/crypt/crypt_prng_descriptor.c src/misc/crypt/crypt_prng_is_valid.c \ 52 src/misc/crypt/crypt_register_cipher.c src/misc/crypt/crypt_register_hash.c \ [all …]
|
D | makefile.msvc | 41 src/misc/base64/base64_encode.obj src/misc/burn_stack.obj src/misc/crypt/crypt.obj \ 42 src/misc/crypt/crypt_argchk.obj src/misc/crypt/crypt_cipher_descriptor.obj \ 43 src/misc/crypt/crypt_cipher_is_valid.obj src/misc/crypt/crypt_find_cipher.obj \ 44 src/misc/crypt/crypt_find_cipher_any.obj src/misc/crypt/crypt_find_cipher_id.obj \ 45 src/misc/crypt/crypt_find_hash.obj src/misc/crypt/crypt_find_hash_any.obj \ 46 src/misc/crypt/crypt_find_hash_id.obj src/misc/crypt/crypt_find_hash_oid.obj \ 47 src/misc/crypt/crypt_find_prng.obj src/misc/crypt/crypt_fsa.obj src/misc/crypt/crypt_hash_descripto… 48 src/misc/crypt/crypt_hash_is_valid.obj src/misc/crypt/crypt_ltc_mp_descriptor.obj \ 49 src/misc/crypt/crypt_prng_descriptor.obj src/misc/crypt/crypt_prng_is_valid.obj \ 50 src/misc/crypt/crypt_register_cipher.obj src/misc/crypt/crypt_register_hash.obj \ [all …]
|
D | makefile.unix | 77 src/misc/base64/base64_encode.o src/misc/burn_stack.o src/misc/crypt/crypt.o \ 78 src/misc/crypt/crypt_argchk.o src/misc/crypt/crypt_cipher_descriptor.o \ 79 src/misc/crypt/crypt_cipher_is_valid.o src/misc/crypt/crypt_find_cipher.o \ 80 src/misc/crypt/crypt_find_cipher_any.o src/misc/crypt/crypt_find_cipher_id.o \ 81 src/misc/crypt/crypt_find_hash.o src/misc/crypt/crypt_find_hash_any.o \ 82 src/misc/crypt/crypt_find_hash_id.o src/misc/crypt/crypt_find_hash_oid.o \ 83 src/misc/crypt/crypt_find_prng.o src/misc/crypt/crypt_fsa.o src/misc/crypt/crypt_hash_descriptor.o \ 84 src/misc/crypt/crypt_hash_is_valid.o src/misc/crypt/crypt_ltc_mp_descriptor.o \ 85 src/misc/crypt/crypt_prng_descriptor.o src/misc/crypt/crypt_prng_is_valid.o \ 86 src/misc/crypt/crypt_register_cipher.o src/misc/crypt/crypt_register_hash.o \ [all …]
|
D | makefile.icc | 131 src/misc/base64/base64_encode.o src/misc/burn_stack.o src/misc/crypt/crypt.o \ 132 src/misc/crypt/crypt_argchk.o src/misc/crypt/crypt_cipher_descriptor.o \ 133 src/misc/crypt/crypt_cipher_is_valid.o src/misc/crypt/crypt_find_cipher.o \ 134 src/misc/crypt/crypt_find_cipher_any.o src/misc/crypt/crypt_find_cipher_id.o \ 135 src/misc/crypt/crypt_find_hash.o src/misc/crypt/crypt_find_hash_any.o \ 136 src/misc/crypt/crypt_find_hash_id.o src/misc/crypt/crypt_find_hash_oid.o \ 137 src/misc/crypt/crypt_find_prng.o src/misc/crypt/crypt_fsa.o src/misc/crypt/crypt_hash_descriptor.o \ 138 src/misc/crypt/crypt_hash_is_valid.o src/misc/crypt/crypt_ltc_mp_descriptor.o \ 139 src/misc/crypt/crypt_prng_descriptor.o src/misc/crypt/crypt_prng_is_valid.o \ 140 src/misc/crypt/crypt_register_cipher.o src/misc/crypt/crypt_register_hash.o \ [all …]
|
D | makefile.shared | 136 src/misc/base64/base64_encode.o src/misc/burn_stack.o src/misc/crypt/crypt.o \ 137 src/misc/crypt/crypt_argchk.o src/misc/crypt/crypt_cipher_descriptor.o \ 138 src/misc/crypt/crypt_cipher_is_valid.o src/misc/crypt/crypt_find_cipher.o \ 139 src/misc/crypt/crypt_find_cipher_any.o src/misc/crypt/crypt_find_cipher_id.o \ 140 src/misc/crypt/crypt_find_hash.o src/misc/crypt/crypt_find_hash_any.o \ 141 src/misc/crypt/crypt_find_hash_id.o src/misc/crypt/crypt_find_hash_oid.o \ 142 src/misc/crypt/crypt_find_prng.o src/misc/crypt/crypt_fsa.o src/misc/crypt/crypt_hash_descriptor.o \ 143 src/misc/crypt/crypt_hash_is_valid.o src/misc/crypt/crypt_ltc_mp_descriptor.o \ 144 src/misc/crypt/crypt_prng_descriptor.o src/misc/crypt/crypt_prng_is_valid.o \ 145 src/misc/crypt/crypt_register_cipher.o src/misc/crypt/crypt_register_hash.o \ [all …]
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_internal-cipher.c | 110 u8 *crypt, size_t len) in crypto_cipher_encrypt() argument 116 if (plain != crypt) in crypto_cipher_encrypt() 117 os_memcpy(crypt, plain, len); in crypto_cipher_encrypt() 119 ctx->u.rc4.used_bytes, crypt, len); in crypto_cipher_encrypt() 131 os_memcpy(crypt, ctx->u.aes.cbc, in crypto_cipher_encrypt() 134 crypt += ctx->u.aes.block_size; in crypto_cipher_encrypt() 146 os_memcpy(crypt, ctx->u.des3.cbc, 8); in crypto_cipher_encrypt() 148 crypt += 8; in crypto_cipher_encrypt() 160 os_memcpy(crypt, ctx->u.des.cbc, 8); in crypto_cipher_encrypt() 162 crypt += 8; in crypto_cipher_encrypt() [all …]
|
D | des-internal.c | 434 void des_block_encrypt(const u8 *plain, const u32 *ek, u8 *crypt) in des_block_encrypt() argument 440 WPA_PUT_BE32(crypt, work[0]); in des_block_encrypt() 441 WPA_PUT_BE32(crypt + 4, work[1]); in des_block_encrypt() 445 void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain) in des_block_decrypt() argument 448 work[0] = WPA_GET_BE32(crypt); in des_block_decrypt() 449 work[1] = WPA_GET_BE32(crypt + 4); in des_block_decrypt() 468 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt) in des3_encrypt() argument 477 WPA_PUT_BE32(crypt, work[0]); in des3_encrypt() 478 WPA_PUT_BE32(crypt + 4, work[1]); in des3_encrypt() 482 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain) in des3_decrypt() argument [all …]
|
D | des_i.h | 18 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);
|
D | crypto_libtomcrypt.c | 99 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() 351 u8 *crypt, size_t len) in crypto_cipher_encrypt() argument 356 if (plain != crypt) in crypto_cipher_encrypt() 357 os_memcpy(crypt, plain, len); in crypto_cipher_encrypt() 359 ctx->u.rc4.used_bytes, crypt, len); in crypto_cipher_encrypt() 364 res = cbc_encrypt(plain, crypt, len, &ctx->u.cbc); in crypto_cipher_encrypt() 374 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, in crypto_cipher_decrypt() argument [all …]
|
D | crypto_gnutls.c | 110 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() 275 u8 *crypt, size_t len) in crypto_cipher_encrypt() argument 277 if (gcry_cipher_encrypt(ctx->enc, crypt, len, plain, len) != in crypto_cipher_encrypt() 284 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, in crypto_cipher_decrypt() argument 287 if (gcry_cipher_decrypt(ctx->dec, plain, len, crypt, len) != in crypto_cipher_decrypt()
|
D | crypto.h | 119 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt); 141 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain); 242 const u8 *plain, u8 *crypt, size_t len); 257 const u8 *crypt, u8 *plain, size_t len); 402 struct crypto_public_key *key, const u8 *crypt, size_t crypt_len,
|
D | crypto_cryptoapi.c | 291 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() argument 296 os_memcpy(crypt, plain, 16); in aes_encrypt() 298 if (!CryptEncrypt(akey->ckey, 0, FALSE, 0, crypt, &dlen, 16)) { in aes_encrypt() 301 os_memset(crypt, 0, 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() 591 u8 *crypt, size_t len) in crypto_cipher_encrypt() argument 595 os_memcpy(crypt, plain, len); in crypto_cipher_encrypt() 597 if (!CryptEncrypt(ctx->key, 0, FALSE, 0, crypt, &dlen, len)) { in crypto_cipher_encrypt() 599 os_memset(crypt, 0, len); in crypto_cipher_encrypt() [all …]
|
D | crypto_openssl.c | 218 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() argument 220 AES_encrypt(plain, crypt, ctx); in aes_encrypt() 244 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt() argument 246 AES_decrypt(crypt, plain, ctx); in aes_decrypt() 379 u8 *crypt, size_t len) in crypto_cipher_encrypt() argument 382 if (!EVP_EncryptUpdate(&ctx->enc, crypt, &outl, plain, len)) in crypto_cipher_encrypt() 388 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, in crypto_cipher_decrypt() argument 393 if (!EVP_DecryptUpdate(&ctx->dec, plain, &outl, crypt, len)) in crypto_cipher_decrypt()
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
D | crypto_internal.c | 39 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt); 40 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain); 311 u8 *crypt, size_t len) in crypto_cipher_encrypt() argument 317 if (plain != crypt) in crypto_cipher_encrypt() 318 os_memcpy(crypt, plain, len); in crypto_cipher_encrypt() 320 ctx->u.rc4.used_bytes, crypt, len); in crypto_cipher_encrypt() 332 os_memcpy(crypt, ctx->u.aes.cbc, in crypto_cipher_encrypt() 335 crypt += ctx->u.aes.block_size; in crypto_cipher_encrypt() 347 os_memcpy(crypt, ctx->u.des3.cbc, 8); in crypto_cipher_encrypt() 349 crypt += 8; in crypto_cipher_encrypt() [all …]
|
D | crypto_libtomcrypt.c | 104 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() argument 107 aes_ecb_encrypt(plain, crypt, skey); in aes_encrypt() 133 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt() argument 136 aes_ecb_encrypt(plain, (u8 *) crypt, skey); in aes_decrypt() 358 u8 *crypt, size_t len) in crypto_cipher_encrypt() argument 363 if (plain != crypt) in crypto_cipher_encrypt() 364 os_memcpy(crypt, plain, len); in crypto_cipher_encrypt() 366 ctx->u.rc4.used_bytes, crypt, len); in crypto_cipher_encrypt() 371 res = cbc_encrypt(plain, crypt, len, &ctx->u.cbc); in crypto_cipher_encrypt() 381 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, in crypto_cipher_decrypt() argument [all …]
|
D | crypto.h | 105 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt); 127 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain); 227 const u8 *plain, u8 *crypt, size_t len); 242 const u8 *crypt, u8 *plain, size_t len); 385 struct crypto_public_key *key, const u8 *crypt, size_t crypt_len,
|
D | crypto_openssl.c | 174 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() argument 176 AES_encrypt(plain, crypt, ctx); in aes_encrypt() 200 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt() argument 202 AES_decrypt(crypt, plain, ctx); in aes_decrypt() 335 u8 *crypt, size_t len) in crypto_cipher_encrypt() argument 338 if (!EVP_EncryptUpdate(&ctx->enc, crypt, &outl, plain, len)) in crypto_cipher_encrypt() 344 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, in crypto_cipher_decrypt() argument 349 if (!EVP_DecryptUpdate(&ctx->dec, plain, &outl, crypt, len)) in crypto_cipher_decrypt()
|
D | crypto_gnutls.c | 122 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() argument 125 gcry_cipher_encrypt(hd, crypt, 16, plain, 16); in aes_encrypt() 152 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt() argument 155 gcry_cipher_decrypt(hd, plain, 16, crypt, 16); in aes_decrypt() 287 u8 *crypt, size_t len) in crypto_cipher_encrypt() argument 289 if (gcry_cipher_encrypt(ctx->enc, crypt, len, plain, len) != in crypto_cipher_encrypt() 296 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, in crypto_cipher_decrypt() argument 299 if (gcry_cipher_decrypt(ctx->dec, plain, len, crypt, len) != in crypto_cipher_decrypt()
|
D | crypto_cryptoapi.c | 300 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() argument 305 os_memcpy(crypt, plain, 16); in aes_encrypt() 307 if (!CryptEncrypt(akey->ckey, 0, FALSE, 0, crypt, &dlen, 16)) { in aes_encrypt() 310 os_memset(crypt, 0, 16); in aes_encrypt() 332 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt() argument 337 os_memcpy(plain, crypt, 16); in aes_decrypt() 601 u8 *crypt, size_t len) in crypto_cipher_encrypt() argument 605 os_memcpy(crypt, plain, len); in crypto_cipher_encrypt() 607 if (!CryptEncrypt(ctx->key, 0, FALSE, 0, crypt, &dlen, len)) { in crypto_cipher_encrypt() 609 os_memset(crypt, 0, len); in crypto_cipher_encrypt() [all …]
|
D | des.c | 452 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt) in des3_encrypt() argument 461 WPA_PUT_BE32(crypt, work[0]); in des3_encrypt() 462 WPA_PUT_BE32(crypt + 4, work[1]); in des3_encrypt() 466 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain) in des3_decrypt() argument 470 work[0] = WPA_GET_BE32(crypt); in des3_decrypt() 471 work[1] = WPA_GET_BE32(crypt + 4); in des3_decrypt()
|
/external/chromium/chrome/browser/importer/ |
D | firefox_importer_unittest_utils.h | 42 string16 Decrypt(const std::string& crypt); 80 string16 FFUnitTestDecryptorProxy::Decrypt(const std::string& crypt) { in Decrypt() argument 81 return decryptor_.Decrypt(crypt); in Decrypt()
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
D | driver_prism54.c | 170 os_strlcpy((char *) param->u.crypt.alg, alg_name, in wpa_driver_prism54_set_key() 172 param->u.crypt.flags = set_tx ? HOSTAP_CRYPT_FLAG_SET_TX_KEY : 0; in wpa_driver_prism54_set_key() 173 param->u.crypt.idx = key_idx; in wpa_driver_prism54_set_key() 174 os_memcpy(param->u.crypt.seq, seq, seq_len); in wpa_driver_prism54_set_key() 175 param->u.crypt.key_len = key_len; in wpa_driver_prism54_set_key() 264 switch (param->u.crypt.err) { in show_set_key_error() 267 param->u.crypt.alg); in show_set_key_error()
|
D | driver_ipw.c | 89 } crypt; member 119 switch (param->u.crypt.err) { in ipw_show_set_key_error() 122 param->u.crypt.alg); in ipw_show_set_key_error() 260 os_strlcpy((char *) param->u.crypt.alg, alg_name, in wpa_driver_ipw_set_key() 262 param->u.crypt.set_tx = set_tx ? 1 : 0; in wpa_driver_ipw_set_key() 263 param->u.crypt.idx = key_idx; in wpa_driver_ipw_set_key() 264 os_memcpy(param->u.crypt.seq, seq, seq_len); in wpa_driver_ipw_set_key() 265 param->u.crypt.key_len = key_len; in wpa_driver_ipw_set_key()
|
/external/openssh/openbsd-compat/ |
D | xcrypt.c | 69 crypted = crypt(password, salt); in xcrypt() 74 crypted = crypt(password, salt); in xcrypt() 78 crypted = crypt(password, salt); in xcrypt()
|