Home
last modified time | relevance | path

Searched refs:prime (Results 1 – 25 of 131) sorted by relevance

123456

/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/model/
DPictureParameterSet.java285 final int prime = 31; in hashCode() local
287 result = prime * result + Arrays.hashCode(bottom_right); in hashCode()
288 result = prime * result + chroma_qp_index_offset; in hashCode()
289 result = prime * result + (constrained_intra_pred_flag ? 1231 : 1237); in hashCode()
290 result = prime * result in hashCode()
292 result = prime * result + (entropy_coding_mode_flag ? 1231 : 1237); in hashCode()
293 result = prime * result in hashCode()
295 result = prime * result + num_ref_idx_l0_active_minus1; in hashCode()
296 result = prime * result + num_ref_idx_l1_active_minus1; in hashCode()
297 result = prime * result + num_slice_groups_minus1; in hashCode()
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_pwd.c155 BN_clear_free(data->grp->prime); in eap_pwd_reset()
263 ((element = os_malloc(BN_num_bytes(data->grp->prime) * 2)) == in eap_pwd_build_commit_req()
275 os_memset(element, 0, BN_num_bytes(data->grp->prime) * 2); in eap_pwd_build_commit_req()
280 offset = BN_num_bytes(data->grp->prime) - BN_num_bytes(x); in eap_pwd_build_commit_req()
282 offset = BN_num_bytes(data->grp->prime) - BN_num_bytes(y); in eap_pwd_build_commit_req()
283 BN_bn2bin(y, element + BN_num_bytes(data->grp->prime) + offset); in eap_pwd_build_commit_req()
285 data->outbuf = wpabuf_alloc(2 * BN_num_bytes(data->grp->prime) + in eap_pwd_build_commit_req()
292 2 * BN_num_bytes(data->grp->prime)); in eap_pwd_build_commit_req()
323 if (((cruft = os_malloc(BN_num_bytes(data->grp->prime))) == NULL) || in eap_pwd_build_confirm_req()
344 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_build_confirm_req()
[all …]
/external/wpa_supplicant_8/src/eap_peer/
Deap_pwd.c169 BN_clear_free(data->grp->prime); in eap_pwd_deinit()
336 BN_num_bits(data->grp->prime)); in eap_pwd_perform_id_exchange()
372 prime_len = BN_num_bytes(data->grp->prime); in eap_pwd_perform_commit_exchange()
442 BN_bin2bn(ptr, BN_num_bytes(data->grp->prime), x); in eap_pwd_perform_commit_exchange()
443 ptr += BN_num_bytes(data->grp->prime); in eap_pwd_perform_commit_exchange()
444 BN_bin2bn(ptr, BN_num_bytes(data->grp->prime), y); in eap_pwd_perform_commit_exchange()
445 ptr += BN_num_bytes(data->grp->prime); in eap_pwd_perform_commit_exchange()
520 ((element = os_malloc(BN_num_bytes(data->grp->prime) * 2)) == in eap_pwd_perform_commit_exchange()
532 os_memset(element, 0, BN_num_bytes(data->grp->prime) * 2); in eap_pwd_perform_commit_exchange()
537 offset = BN_num_bytes(data->grp->prime) - BN_num_bytes(x); in eap_pwd_perform_commit_exchange()
[all …]
/external/wpa_supplicant_8/src/common/
Dsae.c34 tmp->prime = crypto_ec_get_prime(tmp->ec); in sae_set_group()
49 tmp->prime_buf = crypto_bignum_init_set(tmp->dh->prime, in sae_set_group()
55 tmp->prime = tmp->prime_buf; in sae_set_group()
173 get_rand_1_to_p_1(const u8 *prime, size_t prime_len, size_t prime_bits, in get_rand_1_to_p_1() argument
184 if (os_memcmp(tmp, prime, prime_len) >= 0) in get_rand_1_to_p_1()
203 const u8 *prime, size_t bits, in is_quadratic_residue_blind() argument
220 r = get_rand_1_to_p_1(prime, sae->tmp->prime_len, bits, &r_odd); in is_quadratic_residue_blind()
226 crypto_bignum_mulmod(y_sqr, r, sae->tmp->prime, num) < 0 || in is_quadratic_residue_blind()
227 crypto_bignum_mulmod(num, r, sae->tmp->prime, num) < 0) in is_quadratic_residue_blind()
235 if (crypto_bignum_mulmod(num, qr, sae->tmp->prime, num) < 0) in is_quadratic_residue_blind()
[all …]
/external/wpa_supplicant_8/src/eap_common/
Deap_pwd_common.c145 grp->prime = NULL; in compute_password_element()
156 ((grp->prime = BN_new()) == NULL) || in compute_password_element()
162 if (!EC_GROUP_get_curve_GFp(grp->group, grp->prime, NULL, NULL, NULL)) in compute_password_element()
177 primebitlen = BN_num_bits(grp->prime); in compute_password_element()
178 primebytelen = BN_num_bytes(grp->prime); in compute_password_element()
231 if (BN_ucmp(x_candidate, grp->prime) >= 0) in compute_password_element()
293 BN_clear_free(grp->prime); in compute_password_element()
294 grp->prime = NULL; in compute_password_element()
317 if ((cruft = os_malloc(BN_num_bytes(grp->prime))) == NULL) in compute_keys()
332 os_memset(cruft, 0, BN_num_bytes(grp->prime)); in compute_keys()
[all …]
/external/mesa3d/src/loader/
Dloader.c98 char *prime = NULL; in loader_get_dri_config_device_id() local
103 prime = strdup(driQueryOptionstr(&userInitOptions, "device_id")); in loader_get_dri_config_device_id()
107 return prime; in loader_get_dri_config_device_id()
161 char *default_tag, *prime = NULL; in loader_get_user_preferred_fd() local
167 prime = strdup(dri_prime); in loader_get_user_preferred_fd()
170 prime = loader_get_dri_config_device_id(); in loader_get_user_preferred_fd()
173 if (prime == NULL) { in loader_get_user_preferred_fd()
191 if (!strcmp(prime,"1")) { in loader_get_user_preferred_fd()
206 drm_device_matches_tag(devices[i], prime)) { in loader_get_user_preferred_fd()
226 *different_device = !!strcmp(default_tag, prime); in loader_get_user_preferred_fd()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue29/
DBigJavaBean.java78 final int prime = 31; in hashCode() local
80 result = prime * result + ((address == null) ? 0 : address.hashCode()); in hashCode()
81 result = prime * result + ((data == null) ? 0 : data.hashCode()); in hashCode()
82 result = prime * result + ((description == null) ? 0 : description.hashCode()); in hashCode()
83 result = prime * result + id; in hashCode()
84 result = prime * result + ((name == null) ? 0 : name.hashCode()); in hashCode()
85 result = prime * result + ((numbers == null) ? 0 : numbers.hashCode()); in hashCode()
/external/openssh/
Dmoduli.07 The /etc/moduli file contains prime numbers and generators for use by
14 are prime and are safe for use in Diffie-Hellman operations by sshd(8).
24 the prime modulus. Supported types are:
27 2 "Safe" prime; (p-1)/2 is also prime.
28 4 Sophie Germain; 2p+1 is also prime.
32 testing with ssh-keygen(1) produces safe prime moduli
41 0x01 Composite number M-bM-^@M-^S not prime.
53 size Decimal number indicating the size of the prime in
/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/
DDeltaDescriptor.java100 final int prime = 31; in hashCode() local
103 prime * result in hashCode()
106 prime * result in hashCode()
108 result = prime * result + (int) (deltaLength ^ (deltaLength >>> 32)); in hashCode()
109 result = prime * result + ((format == null) ? 0 : format.hashCode()); in hashCode()
/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/
DTypedRange.java81 final int prime = 31; in hashCode() local
83 result = prime * result + (int) (length ^ (length >>> 32)); in hashCode()
84 result = prime * result + ((metadata == null) ? 0 : metadata.hashCode()); in hashCode()
85 result = prime * result + (int) (offset ^ (offset >>> 32)); in hashCode()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
DVectorialCovariance.java124 final int prime = 31; in hashCode() local
126 result = prime * result + (isBiasCorrected ? 1231 : 1237); in hashCode()
127 result = prime * result + (int) (n ^ (n >>> 32)); in hashCode()
128 result = prime * result + Arrays.hashCode(productsSums); in hashCode()
129 result = prime * result + Arrays.hashCode(sums); in hashCode()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/recursive/
DAbstractHuman.java51 final int prime = 31; in hashCode() local
53 result = prime * result + ((birthPlace == null) ? 0 : birthPlace.hashCode()); in hashCode()
54 result = prime * result + ((birthday == null) ? 0 : birthday.hashCode()); in hashCode()
55 result = prime * result + ((name == null) ? 0 : name.hashCode()); in hashCode()
/external/junit/src/main/java/org/junit/runners/parameterized/
DTestWithParameters.java48 int prime = 14747; in hashCode() local
49 int result = prime + name.hashCode(); in hashCode()
50 result = prime * result + testClass.hashCode(); in hashCode()
51 return prime * result + parameters.hashCode(); in hashCode()
/external/testng/src/main/java/org/testng/xml/
DXmlSuite.java752 final int prime = 31; in hashCode() local
756 result = prime in hashCode()
760 result = prime * result + m_dataProviderThreadCount; in hashCode()
761 result = prime * result in hashCode()
763 result = prime * result in hashCode()
765 result = prime * result in hashCode()
767 result = prime * result in hashCode()
770 result = prime * result in hashCode()
772 result = prime * result + ((m_name == null) ? 0 : m_name.hashCode()); in hashCode()
773 result = prime * result in hashCode()
[all …]
DXmlMethodSelector.java121 final int prime = 31; in hashCode() local
123 result = prime * result in hashCode()
125 result = prime * result in hashCode()
127 result = prime * result in hashCode()
129 result = prime * result + m_priority; in hashCode()
DXmlClass.java233 final int prime = 31; in hashCode() local
235 result = prime * result + ((m_class == null) ? 0 : m_class.hashCode()); in hashCode()
236 result = prime * result + (m_loadClasses ? 1 : 0); in hashCode()
237 result = prime * result in hashCode()
239 result = prime * result in hashCode()
241 result = prime * result + m_index; in hashCode()
242 result = prime * result + ((m_name == null) ? 0 : m_name.hashCode()); in hashCode()
DXmlTest.java732 final int prime = 31; in hashCode() local
734 result = prime * result in hashCode()
736 result = prime in hashCode()
740 result = prime * result in hashCode()
742 result = prime * result + ((m_isJUnit == null) ? 0 : m_isJUnit.hashCode()); in hashCode()
743 result = prime * result in hashCode()
745 result = prime * result in hashCode()
747 result = prime * result + ((m_name == null) ? 0 : m_name.hashCode()); in hashCode()
748 result = prime * result in hashCode()
750 result = prime * result in hashCode()
[all …]
DXmlPackage.java133 final int prime = 31; in hashCode() local
135 result = prime * result + ((m_exclude == null) ? 0 : m_exclude.hashCode()); in hashCode()
136 result = prime * result + ((m_include == null) ? 0 : m_include.hashCode()); in hashCode()
137 result = prime * result + ((m_name == null) ? 0 : m_name.hashCode()); in hashCode()
138 result = prime * result in hashCode()
DXmlInclude.java84 final int prime = 31; in hashCode() local
86 result = prime * result + m_index; in hashCode()
87 result = prime * result in hashCode()
89 result = prime * result + (m_parameters == null ? 0 : m_parameters.hashCode()); in hashCode()
90 result = prime * result + ((m_name == null) ? 0 : m_name.hashCode()); in hashCode()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPendingIntent.java110 final int prime = 31; in hashCode() local
112 result = prime * result + (isActivityIntent ? 1231 : 1237); in hashCode()
113 result = prime * result + (isBroadcastIntent ? 1231 : 1237); in hashCode()
114 result = prime * result + (isServiceIntent ? 1231 : 1237); in hashCode()
115 result = prime * result + requestCode; in hashCode()
116 result = prime * result + ((savedIntent == null) ? 0 : savedIntent.hashCode()); in hashCode()
/external/mockito/src/test/java/org/mockitousage/stubbing/
DCloningParameterTest.java67 final int prime = 31; in hashCode() local
69 result = prime * result + getOuterType().hashCode(); in hashCode()
70 result = prime * result + (emailSent ? 1231 : 1237); in hashCode()
71 result = prime * result + ((name == null) ? 0 : name.hashCode()); in hashCode()
/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DDataHeader.java51 final int prime = 31; in hashCode() local
53 result = prime * result + elementsOrVersion; in hashCode()
54 result = prime * result + size; in hashCode()
DMessageHeader.java180 final int prime = 31; in hashCode() local
182 result = prime * result + ((mDataHeader == null) ? 0 : mDataHeader.hashCode()); in hashCode()
183 result = prime * result + mFlags; in hashCode()
184 result = prime * result + (int) (mRequestId ^ (mRequestId >>> 32)); in hashCode()
185 result = prime * result + mType; in hashCode()
/external/conscrypt/common/src/main/java/org/conscrypt/
DX509PublicKey.java61 final int prime = 31; in hashCode() local
63 result = prime * result + ((algorithm == null) ? 0 : algorithm.hashCode()); in hashCode()
64 result = prime * result + Arrays.hashCode(encoded); in hashCode()
/external/conscrypt/testing/src/main/java/tests/util/
DPair.java63 final int prime = 31; in hashCode() local
65 result = prime * result + ((mFirst == null) ? 0 : mFirst.hashCode()); in hashCode()
66 result = prime * result + ((mSecond == null) ? 0 : mSecond.hashCode()); in hashCode()

123456