/external/wpa_supplicant_8/src/crypto/ |
D | crypto_internal-cipher.c | 104 u8 *crypt, size_t len) in crypto_cipher_encrypt() argument 110 if (plain != crypt) in crypto_cipher_encrypt() 111 os_memcpy(crypt, plain, len); in crypto_cipher_encrypt() 113 ctx->u.rc4.used_bytes, crypt, len); in crypto_cipher_encrypt() 125 os_memcpy(crypt, ctx->u.aes.cbc, AES_BLOCK_SIZE); in crypto_cipher_encrypt() 127 crypt += AES_BLOCK_SIZE; in crypto_cipher_encrypt() 139 os_memcpy(crypt, ctx->u.des3.cbc, 8); in crypto_cipher_encrypt() 141 crypt += 8; in crypto_cipher_encrypt() 153 os_memcpy(crypt, ctx->u.des.cbc, 8); in crypto_cipher_encrypt() 155 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 | aes-gcm.c | 230 const u8 *crypt, size_t crypt_len, u8 *S) in aes_gcm_ghash() argument 242 ghash(H, crypt, crypt_len, S); in aes_gcm_ghash() 256 const u8 *aad, size_t aad_len, u8 *crypt, u8 *tag) in aes_gcm_ae() argument 270 aes_gcm_gctr(aes, J0, plain, plain_len, crypt); in aes_gcm_ae() 272 aes_gcm_ghash(H, aad, aad_len, crypt, plain_len, S); in aes_gcm_ae() 289 const u8 *crypt, size_t crypt_len, in aes_gcm_ad() argument 304 aes_gcm_gctr(aes, J0, crypt, crypt_len, plain); in aes_gcm_ad() 306 aes_gcm_ghash(H, aad, aad_len, crypt, crypt_len, S); in aes_gcm_ad()
|
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_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 | aes_wrap.h | 47 u8 *crypt, u8 *tag); 50 const u8 *crypt, size_t crypt_len, 58 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth); 60 size_t M, const u8 *crypt, size_t crypt_len,
|
D | aes.h | 15 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt); 18 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain);
|
D | crypto_nss.c | 144 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 192 u8 *crypt, size_t len) in crypto_cipher_encrypt() argument 198 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, in crypto_cipher_decrypt() argument
|
D | crypto.h | 104 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt); 126 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); 387 struct crypto_public_key *key, const u8 *crypt, size_t crypt_len,
|
D | aes-ccm.c | 150 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth) in aes_ccm_ae() argument 168 aes_ccm_encr(aes, L, plain, plain_len, crypt, a); in aes_ccm_ae() 179 size_t M, const u8 *crypt, size_t crypt_len, in aes_ccm_ad() argument 199 aes_ccm_encr(aes, L, crypt, crypt_len, plain, a); in aes_ccm_ad()
|
D | crypto_internal-rsa.c | 103 const u8 *crypt, size_t crypt_len, in crypto_public_key_decrypt_pkcs1() argument 107 crypt, crypt_len, plain, plain_len); in crypto_public_key_decrypt_pkcs1()
|
/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/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()
|
D | firefox_importer_unittest_utils_mac.cc | 198 string16 FFUnitTestDecryptorProxy::Decrypt(const std::string& crypt) { in Decrypt() argument 199 channel_->Send(new Msg_Decrypt(crypt)); in Decrypt() 226 void OnDecrypt(std::string crypt) { in OnDecrypt() argument 227 string16 unencrypted_str = decryptor_.Decrypt(crypt); in OnDecrypt()
|
D | nss_decryptor.cc | 64 string16 NSSDecryptor::Decrypt(const std::string& crypt) const { in Decrypt() 72 if (crypt[0] != '~') { in Decrypt() 74 base::Base64Decode(crypt, &decoded_data); in Decrypt() 101 base::Base64Decode(crypt.substr(1), &plain); in Decrypt()
|
/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()
|
/external/grub/docs/ |
D | Makefile.am | 5 man_MANS = grub.8 mbchk.1 grub-install.8 grub-md5-crypt.8 grub-terminfo.8 54 $(srcdir)/grub-md5-crypt.8: ../util/grub-md5-crypt $(srcdir)/$(HELP2MAN)
|
/external/wpa_supplicant_8/src/eap_common/ |
D | ikev2_common.c | 184 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt); 185 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain); 190 const u8 *plain, u8 *crypt, size_t len) in ikev2_encr_encrypt() argument 209 pos = crypt; in ikev2_encr_encrypt() 234 if (crypto_cipher_encrypt(cipher, plain, crypt, len) < 0) { in ikev2_encr_encrypt() 249 const u8 *crypt, u8 *plain, size_t len) in ikev2_encr_decrypt() argument 273 des3_decrypt(crypt, &des3key, plain); in ikev2_encr_decrypt() 275 crypt += 8; in ikev2_encr_decrypt() 297 if (crypto_cipher_decrypt(cipher, crypt, plain, len) < 0) { in ikev2_encr_decrypt()
|