Home
last modified time | relevance | path

Searched refs:prime (Results 1 – 25 of 134) 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/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/opencv3/modules/features2d/src/kaze/
Dfed.cpp128 int kappa = 0, prime = 0; in fed_tau_internal() local
136 prime = n + 1; in fed_tau_internal()
138 while (!fed_is_prime_internal(prime)) { in fed_tau_internal()
139 prime++; in fed_tau_internal()
145 while ((index = ((k+1)*kappa) % prime - 1) >= n) { in fed_tau_internal()
/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/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 …]
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()
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()
/external/opencv3/modules/core/misc/java/src/java/
Dcore+TermCriteria.java68 final int prime = 31; in hashCode() local
72 result = prime * result + (int) (temp ^ (temp >>> 32)); in hashCode()
74 result = prime * result + (int) (temp ^ (temp >>> 32)); in hashCode()
76 result = prime * result + (int) (temp ^ (temp >>> 32)); in hashCode()
Dcore+Rect.java74 final int prime = 31; in hashCode() local
78 result = prime * result + (int) (temp ^ (temp >>> 32)); in hashCode()
80 result = prime * result + (int) (temp ^ (temp >>> 32)); in hashCode()
82 result = prime * result + (int) (temp ^ (temp >>> 32)); in hashCode()
84 result = prime * result + (int) (temp ^ (temp >>> 32)); in hashCode()
Dcore+RotatedRect.java85 final int prime = 31; in hashCode() local
89 result = prime * result + (int) (temp ^ (temp >>> 32)); in hashCode()
91 result = prime * result + (int) (temp ^ (temp >>> 32)); in hashCode()
93 result = prime * result + (int) (temp ^ (temp >>> 32)); in hashCode()
95 result = prime * result + (int) (temp ^ (temp >>> 32)); in hashCode()
97 result = prime * result + (int) (temp ^ (temp >>> 32)); in hashCode()
Dcore+Point3.java55 final int prime = 31; in hashCode() local
59 result = prime * result + (int) (temp ^ (temp >>> 32)); in hashCode()
61 result = prime * result + (int) (temp ^ (temp >>> 32)); in hashCode()
63 result = prime * result + (int) (temp ^ (temp >>> 32)); in hashCode()
Dcore+Size.java46 final int prime = 31; in hashCode() local
50 result = prime * result + (int) (temp ^ (temp >>> 32)); in hashCode()
52 result = prime * result + (int) (temp ^ (temp >>> 32)); in hashCode()
Dcore+Point.java42 final int prime = 31; in hashCode() local
46 result = prime * result + (int) (temp ^ (temp >>> 32)); in hashCode()
48 result = prime * result + (int) (temp ^ (temp >>> 32)); 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/boringssl/src/crypto/rsa/
Drsa_impl.c736 BIGNUM *exp = &local_exp, *prime = &local_prime; in mod_exp() local
741 BN_with_flags(prime, ap->prime, BN_FLG_CONSTTIME); in mod_exp()
744 if (!BN_mod(r1, c, prime, ctx)) { in mod_exp()
749 !BN_MONT_CTX_set_locked(&ap->mont, &rsa->lock, prime, ctx)) { in mod_exp()
753 if (!rsa->meth->bn_mod_exp(m1, r1, exp, prime, ctx, ap->mont)) { in mod_exp()
761 !BN_mod(m1, m1, prime, ctx) || in mod_exp()
762 (BN_is_negative(m1) && !BN_add(m1, m1, prime)) || in mod_exp()
851 ap->prime = BN_new(); in rsa_default_multi_prime_keygen()
855 if (ap->prime == NULL || in rsa_default_multi_prime_keygen()
953 if (!BN_generate_prime_ex(ap->prime, prime_bits, 0, NULL, NULL, cb)) { in rsa_default_multi_prime_keygen()
[all …]
/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/conscrypt/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/testng/src/main/java/org/testng/internal/collections/
DPair.java28 final int prime = 31; in hashCode() local
30 result = prime * result + ((first == null) ? 0 : first.hashCode()); in hashCode()
31 result = prime * result + ((second == null) ? 0 : second.hashCode()); in hashCode()

123456