/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 | aes_wrap.h | 56 u8 *crypt, u8 *tag); 59 const u8 *crypt, size_t crypt_len, 67 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth); 69 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.h | 126 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt); 148 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain); 250 const u8 *plain, u8 *crypt, size_t len); 265 const u8 *crypt, u8 *plain, size_t len); 414 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 | 112 const u8 *crypt, size_t crypt_len, in crypto_public_key_decrypt_pkcs1() argument 116 crypt, crypt_len, plain, plain_len); in crypto_public_key_decrypt_pkcs1()
|
D | aes-internal-enc.c | 115 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() argument 118 rijndaelEncrypt(ctx, rk[AES_PRIV_NR_POS], plain, crypt); in aes_encrypt()
|
/external/python/cpython2/Doc/library/ |
D | crypt.rst | 2 :mod:`crypt` --- Function to check Unix passwords 5 .. module:: crypt 7 :synopsis: The crypt() function used to check Unix passwords. 14 single: crypt(3) 17 This module implements an interface to the :manpage:`crypt(3)` routine, which is 23 .. index:: single: crypt(3) 26 the :manpage:`crypt(3)` routine in the running system. Therefore, any 31 .. function:: crypt(word, salt) 40 .. index:: single: crypt(3) 42 Since a few :manpage:`crypt(3)` extensions allow different values, with [all …]
|
/external/syslinux/gpxe/src/net/80211/ |
D | sec80211.c | 99 enum net80211_crypto_alg crypt, in sec80211_install() argument 109 if ( crypt == NET80211_CRYPT_NONE ) { in sec80211_install() 116 if ( tbl_crypto->algorithm == crypt ) { in sec80211_install() 132 DBG ( "802.11-Sec no support for cryptosystem %d\n", crypt ); in sec80211_install() 133 return -( ENOTSUP | EUNIQ_10 | ( crypt << 8 ) ); in sec80211_install() 139 "length %d\n", crypt, crypto, len ); in sec80211_install() 327 enum net80211_crypto_alg *crypt ) in sec80211_detect_ie() argument 368 *crypt = cr; in sec80211_detect_ie() 393 enum net80211_crypto_alg *crypt ) in _sec80211_detect() argument 401 *crypt = NET80211_CRYPT_UNKNOWN; in _sec80211_detect() [all …]
|
/external/syslinux/gpxe/src/include/gpxe/ |
D | sec80211.h | 43 enum net80211_crypto_alg *crypt ) 61 enum net80211_crypto_alg *crypt ) { in sec80211_detect() argument 63 return _sec80211_detect ( iob, secprot, crypt ); in sec80211_detect() 69 enum net80211_crypto_alg *crypt ); 74 enum net80211_crypto_alg crypt, 77 u32 sec80211_rsn_get_crypto_desc ( enum net80211_crypto_alg crypt, int rsnie );
|
/external/dhcpcd-6.8.2/test/ |
D | Makefile | 6 SRCS+= test_hmac_md5.c ../crypt/hmac_md5.c 12 CPPFLAGS+= -I../crypt 15 T_MD5_SRC= ${MD5_SRC:crypt/%=../crypt/%}
|
/external/python/cpython2/Lib/test/ |
D | test_crypt.py | 4 crypt = test_support.import_module('crypt') variable 9 c = crypt.crypt('mypassword', 'ab')
|
/external/dhcpcd-6.8.2/ |
D | Android.mk | 39 crypt/md5.c \ 40 crypt/hmac_md5.c \ 59 LOCAL_SRC_FILES += crypt/sha256.c 60 LOCAL_C_INCLUDES += $(LOCAL_PATH)/crypt
|
D | Makefile | 21 CPPFLAGS+= -I./crypt 22 CRYPT_SRCS= crypt/hmac_md5.c ${MD5_SRC} ${SHA256_SRC} 199 ${INSTALL} -d /tmp/${DISTPREFIX}/crypt; \ 200 cp ${CRYPT_SRCS} /tmp/${DISTPREFIX}/crypt; \ 204 sort -u) /tmp/${DISTPREFIX}/crypt; \
|
/external/openssh/openbsd-compat/ |
D | xcrypt.c | 63 # define crypt DES_crypt macro 114 crypted = crypt(password, salt); in xcrypt() 119 crypted = crypt(password, salt); in xcrypt() 123 crypted = crypt(password, salt); in xcrypt()
|
/external/python/cpython2/Modules/ |
D | cryptmodule.c | 19 extern char * crypt(const char *, const char *); in crypt_crypt() 27 return Py_BuildValue("s", crypt(word, salt)); in crypt_crypt()
|
/external/protobuf/js/ |
D | proto3_test.js | 43 var BYTES_B64 = goog.crypt.base64.encodeByteArray(BYTES); 54 arr = goog.crypt.base64.decodeStringToUint8Array(arr); 249 msg.setOneofBytes(goog.crypt.base64.encodeString('\u00FF\u00FF')); 254 goog.crypt.base64.encodeString('\u00FF\u00FF')); 275 msg.setOptionalBytes(goog.crypt.base64.encodeString('\u00FF\u00FF'));
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_hostap.c | 416 os_strlcpy((char *) param->u.crypt.alg, "NONE", in wpa_driver_hostap_set_key() 420 os_strlcpy((char *) param->u.crypt.alg, "WEP", in wpa_driver_hostap_set_key() 424 os_strlcpy((char *) param->u.crypt.alg, "TKIP", in wpa_driver_hostap_set_key() 428 os_strlcpy((char *) param->u.crypt.alg, "CCMP", in wpa_driver_hostap_set_key() 435 param->u.crypt.flags = set_tx ? HOSTAP_CRYPT_FLAG_SET_TX_KEY : 0; in wpa_driver_hostap_set_key() 436 param->u.crypt.idx = key_idx; in wpa_driver_hostap_set_key() 437 param->u.crypt.key_len = key_len; in wpa_driver_hostap_set_key() 470 param->u.crypt.idx = idx; in hostap_get_seqnum() 476 os_memcpy(seq, param->u.crypt.seq, 8); in hostap_get_seqnum()
|
/external/toybox/toys/lsb/ |
D | passwd.c | 77 pass = crypt(toybuf, pwd); in verify_passwd() 164 encrypted = crypt(newp, salt); in passwd_main()
|
/external/syslinux/com32/cmenu/libmenu/ |
D | des.h | 6 extern char *crypt(const char *key, const char *salt);
|