/hostap-latest/src/tls/ |
D | libtommath.c | 62 #define OPT_CAST(x) argument 176 static int mp_reduce(mp_int * x, mp_int * m, mp_int * mu); 214 mp_int *x; in s_mp_add() local 223 x = a; in s_mp_add() 227 x = b; in s_mp_add() 275 *tmpc = x->dp[i] + u; in s_mp_add() 765 mp_int x, y, u, v, A, B, C, D; in mp_invmod_slow() local 774 if ((res = mp_init_multi(&x, &y, &u, &v, in mp_invmod_slow() 780 if ((res = mp_mod(a, b, &x)) != MP_OKAY) { in mp_invmod_slow() 788 if (mp_iseven (&x) == 1 && mp_iseven (&y) == 1) { in mp_invmod_slow() [all …]
|
/hostap-latest/src/crypto/ |
D | sha256-internal.c | 68 #define RORc(x, y) \ argument 69 ( ((((unsigned long) (x) & 0xFFFFFFFFUL) >> (unsigned long) ((y) & 31)) | \ 70 ((unsigned long) (x) << (unsigned long) (32 - ((y) & 31)))) & 0xFFFFFFFFUL) 71 #define Ch(x,y,z) (z ^ (x & (y ^ z))) argument 72 #define Maj(x,y,z) (((x | y) & z) | (x & y)) argument 73 #define S(x, n) RORc((x), (n)) argument 74 #define R(x, n) (((x)&0xFFFFFFFFUL)>>(n)) argument 75 #define Sigma0(x) (S(x, 2) ^ S(x, 13) ^ S(x, 22)) argument 76 #define Sigma1(x) (S(x, 6) ^ S(x, 11) ^ S(x, 25)) argument 77 #define Gamma0(x) (S(x, 7) ^ S(x, 18) ^ R(x, 3)) argument [all …]
|
D | sha512-internal.c | 92 #define Ch(x,y,z) (z ^ (x & (y ^ z))) argument 93 #define Maj(x,y,z) (((x | y) & z) | (x & y)) argument 94 #define S(x, n) ROR64c(x, n) argument 95 #define R(x, n) (((x) & CONST64(0xFFFFFFFFFFFFFFFF)) >> ((u64) n)) argument 96 #define Sigma0(x) (S(x, 28) ^ S(x, 34) ^ S(x, 39)) argument 97 #define Sigma1(x) (S(x, 14) ^ S(x, 18) ^ S(x, 41)) argument 98 #define Gamma0(x) (S(x, 1) ^ S(x, 8) ^ R(x, 7)) argument 99 #define Gamma1(x) (S(x, 19) ^ S(x, 61) ^ R(x, 6)) argument 101 #define ROR64c(x, y) \ argument 102 ( ((((x) & CONST64(0xFFFFFFFFFFFFFFFF)) >> ((u64) (y) & CONST64(63))) | \ [all …]
|
D | aes-ccm.c | 30 u8 *x) in aes_ccm_auth_start() argument 44 aes_encrypt(aes, b, x); /* X_1 = E(K, B_0) */ in aes_ccm_auth_start() 53 xor_aes_block(aad_buf, x); in aes_ccm_auth_start() 54 aes_encrypt(aes, aad_buf, x); /* X_2 = E(K, X_1 XOR B_1) */ in aes_ccm_auth_start() 57 xor_aes_block(&aad_buf[AES_BLOCK_SIZE], x); in aes_ccm_auth_start() 59 aes_encrypt(aes, &aad_buf[AES_BLOCK_SIZE], x); in aes_ccm_auth_start() 64 static void aes_ccm_auth(void *aes, const u8 *data, size_t len, u8 *x) in aes_ccm_auth() argument 71 xor_aes_block(x, data); in aes_ccm_auth() 73 aes_encrypt(aes, x, x); in aes_ccm_auth() 78 x[i] ^= *data++; in aes_ccm_auth() [all …]
|
D | aes-gcm.c | 65 static void gf_mult(const u8 *x, const u8 *y, u8 *z) in gf_mult() argument 75 if (x[i] & BIT(7 - j)) { in gf_mult() 103 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() argument 106 const u8 *xpos = x; in ghash() 123 if (x + xlen > xpos) { in ghash() 125 size_t last = x + xlen - xpos; in ghash() 143 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument 147 const u8 *xpos = x; in aes_gctr() 165 last = x + xlen - xpos; in aes_gctr()
|
D | md5-internal.c | 194 #define F1(x, y, z) (z ^ (x & (y ^ z))) argument 195 #define F2(x, y, z) F1(z, x, y) argument 196 #define F3(x, y, z) (x ^ y ^ z) argument 197 #define F4(x, y, z) (y ^ (x | ~z)) argument 200 #define MD5STEP(f, w, x, y, z, data, s) \ argument 201 ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x )
|
D | sha1-internal.c | 144 #define R0(v,w,x,y,z,i) \ argument 145 z += ((w & (x ^ y)) ^ y) + blk0(i) + 0x5A827999 + rol(v, 5); \ 147 #define R1(v,w,x,y,z,i) \ argument 148 z += ((w & (x ^ y)) ^ y) + blk(i) + 0x5A827999 + rol(v, 5); \ 150 #define R2(v,w,x,y,z,i) \ argument 151 z += (w ^ x ^ y) + blk(i) + 0x6ED9EBA1 + rol(v, 5); w = rol(w, 30); 152 #define R3(v,w,x,y,z,i) \ argument 153 z += (((w | x) & y) | (w & x)) + blk(i) + 0x8F1BBCDC + rol(v, 5); \ 155 #define R4(v,w,x,y,z,i) \ argument 156 z += (w ^ x ^ y) + blk(i) + 0xCA62C1D6 + rol(v, 5); \
|
D | md4-internal.c | 184 #define F1(x, y, z) (z ^ (x & (y ^ z))) argument 185 #define F2(x, y, z) ((x & y) | (x & z) | (y & z)) argument 186 #define F3(x, y, z) (x ^ y ^ z) argument 189 #define MD4STEP(f, w, x, y, z, data, s) \ argument 190 ( w += f(x, y, z) + data, w = w<<s | w>>(32-s) )
|
D | des-internal.c | 38 #define ROLc(x, y) \ argument 39 ((((unsigned long) (x) << (unsigned long) ((y) & 31)) | \ 40 (((unsigned long) (x) & 0xFFFFFFFFUL) >> \ 42 #define RORc(x, y) \ argument 43 (((((unsigned long) (x) & 0xFFFFFFFFUL) >> \ 45 ((unsigned long) (x) << (unsigned long) (32 - ((y) & 31)))) & \
|
D | crypto_openssl.c | 124 static const unsigned char * ASN1_STRING_get0_data(const ASN1_STRING *x) in ASN1_STRING_get0_data() argument 126 return ASN1_STRING_data((ASN1_STRING *) x); in ASN1_STRING_get0_data() 130 static const ASN1_TIME * X509_get0_notBefore(const X509 *x) in X509_get0_notBefore() argument 132 return X509_get_notBefore(x); in X509_get0_notBefore() 136 static const ASN1_TIME * X509_get0_notAfter(const X509 *x) in X509_get0_notAfter() argument 138 return X509_get_notAfter(x); in X509_get0_notAfter() 149 const EC_POINT *point, BIGNUM *x, in EC_POINT_get_affine_coordinates() argument 152 return EC_POINT_get_affine_coordinates_GFp(group, point, x, y, ctx); in EC_POINT_get_affine_coordinates() 157 EC_POINT *point, const BIGNUM *x, in EC_POINT_set_affine_coordinates() argument 160 return EC_POINT_set_affine_coordinates_GFp(group, point, x, y, ctx); in EC_POINT_set_affine_coordinates() [all …]
|
D | fips_prf_internal.c | 17 int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen) in fips186_2_prf() argument 22 u8 *xpos = x; in fips186_2_prf()
|
D | random.c | 69 static u32 __ROL32(u32 x, u32 y) in __ROL32() argument 72 return x; in __ROL32() 74 return (x << (y & 31)) | (x >> (32 - (y & 31))); in __ROL32()
|
D | aes_i.h | 109 #define SWAP(x) (_lrotl(x, 8) & 0x00ff00ff | _lrotr(x, 8) & 0xff00ff00) argument
|
D | fips_prf_wolfssl.c | 36 int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen) in fips186_2_prf() argument 41 u8 *xpos = x; in fips186_2_prf()
|
D | crypto_wolfssl.c | 1689 err = mp_read_radix(e->g->x, e->key->dp->Gx, MP_RADIX_HEX); in crypto_ec_init() 1832 mp_forcezero(point->x); in crypto_ec_point_deinit() 1852 struct crypto_bignum *x) in crypto_ec_point_x() argument 1854 return mp_copy(((ecc_point *) p)->x, (mp_int *) x) == MP_OKAY ? 0 : -1; in crypto_ec_point_x() 1859 const struct crypto_ec_point *point, u8 *x, u8 *y) in crypto_ec_point_to_bin() argument 1883 if (x) { in crypto_ec_point_to_bin() 1884 if (crypto_bignum_to_bin((struct crypto_bignum *)p->x, x, in crypto_ec_point_to_bin() 1916 if (mp_read_unsigned_bin(point->x, val, e->key->dp->size) != MP_OKAY) in crypto_ec_point_from_bin() 1969 if (mp_mulmod(pa->x, &mu, modulus, ta->x) != MP_OKAY || in crypto_ec_point_add() 1972 mp_mulmod(pb->x, &mu, modulus, tb->x) != MP_OKAY || in crypto_ec_point_add() [all …]
|
D | fips_prf_openssl.c | 61 int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen) in fips186_2_prf() argument 66 u8 *xpos = x; in fips186_2_prf()
|
D | crypto.h | 70 int __must_check fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, 825 struct crypto_bignum *x); 840 const struct crypto_ec_point *point, u8 *x, u8 *y); 895 const struct crypto_bignum *x); 1044 struct crypto_ec_key * crypto_ec_key_set_pub(int group, const u8 *x,
|
/hostap-latest/src/eap_common/ |
D | eap_pwd_common.h | 31 #define EAP_PWD_GET_LENGTH_BIT(x) ((x) & 0x80) argument 32 #define EAP_PWD_SET_LENGTH_BIT(x) ((x) |= 0x80) argument 33 #define EAP_PWD_GET_MORE_BIT(x) ((x) & 0x40) argument 34 #define EAP_PWD_SET_MORE_BIT(x) ((x) |= 0x40) argument 35 #define EAP_PWD_GET_EXCHANGE(x) ((x) & 0x3f) argument 36 #define EAP_PWD_SET_EXCHANGE(x,y) ((x) |= (y)) argument
|
/hostap-latest/tests/hwsim/auth_serv/ |
D | eap_user.conf | 58 radius_accept_attr=56:x:32000001 61 radius_accept_attr=56:x:31000001 64 radius_accept_attr=56:x:31000001 70 radius_accept_attr=25:x:00112233445566778899 74 radius_accept_attr=25:x:00112233445566778899aa 95 radius_accept_attr=56:x:32000011 153 radius_accept_attr=26:x:00009f680405016400 156 radius_accept_attr=26:x:00009f68042000000068747470733a2f2f6578616d706c652e636f6d2f6465617574682f 160 radius_accept_attr=26:x:00009f6801170168747470733a2f2f6578616d706c652e636f6d2f 164 radius_accept_attr=26:x:00009f6805170168747470733a2f2f6578616d706c652e636f6d2f [all …]
|
/hostap-latest/wpadebug/src/w1/fi/wpadebug/ |
D | QrCodeDisplayActivity.java | 79 for (int x = 0; x < width; x++) { in encodeAsBitmap() 80 pixels[offset + x] = result.get(x, y) ? BLACK : WHITE; in encodeAsBitmap()
|
/hostap-latest/src/drivers/ |
D | driver_common.c | 283 #define DF2S(x) case WPA_DRIVER_FLAGS_ ## x: return #x in driver_flag_to_string() argument 357 #define DF2S(x) case WPA_DRIVER_FLAGS2_ ## x: return #x in driver_flag2_to_string() argument
|
/hostap-latest/tests/hwsim/vm/ |
D | inside.sh | 75 adm:x:0: 76 admin:x:0: 77 messagebus:x:106: 81 root:x:0:0:root:/tmp:/bin/bash 82 messagebus:x:102:106::/var/run/dbus:/bin/false
|
/hostap-latest/src/common/ |
D | dpp_pkex.c | 55 pkex->x = dpp_set_keypair(&tmp_curve, in dpp_pkex_build_exchange_req() 59 pkex->x = dpp_gen_keypair(curve); in dpp_pkex_build_exchange_req() 62 pkex->x = dpp_gen_keypair(curve); in dpp_pkex_build_exchange_req() 64 if (!pkex->x) in dpp_pkex_build_exchange_req() 68 X = crypto_ec_key_get_public_key(pkex->x); in dpp_pkex_build_exchange_req() 496 pkex->x = crypto_ec_key_set_pub(curve->ike_group, x_coord, in dpp_pkex_rx_exchange_req() 498 if (!pkex->x) in dpp_pkex_rx_exchange_req() 545 if (dpp_ecdh(pkex->y, pkex->x, Kx, &Kx_len) < 0) in dpp_pkex_rx_exchange_req() 842 X_pub = crypto_ec_key_get_pubkey_point(pkex->x, 0); in dpp_pkex_rx_exchange_resp() 866 if (dpp_ecdh(pkex->x, pkex->y, Kx, &Kx_len) < 0) in dpp_pkex_rx_exchange_resp() [all …]
|
/hostap-latest/wpa_supplicant/wpa_gui-qt4/icons/ |
D | Makefile | 27 --export-width=$(word 1, $(subst x, , $(@))) \ 28 --export-height=$(word 2, $(subst x, , $(subst /, , $(@)))) \
|
/hostap-latest/wpa_supplicant/wpa_gui-qt4/ |
D | eventhistory.ui | 6 <x>0</x>
|