Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 33) sorted by relevance

12

/mbedtls-latest/tests/suites/
Dtest_suite_nist_kw.data93 NIST KW wrap AES-128 CAVS 17.4 PLAINTEXT LENGTH = 128 count 7
97 NIST KW wrap AES-128 CAVS 17.4 PLAINTEXT LENGTH = 256 count 11
101 NIST KW wrap AES-128 CAVS 17.4 PLAINTEXT LENGTH = 192 count 8
105 NIST KW wrap AES-128 CAVS 17.4 PLAINTEXT LENGTH = 320 count 14
109 NIST KW wrap AES-128 CAVS 17.4 PLAINTEXT LENGTH = 4096 count 0
113 NIST KW wrap AES-192 CAVS 17.4 PLAINTEXT LENGTH = 128 count 7
117 NIST KW wrap AES-192 CAVS 17.4 PLAINTEXT LENGTH = 256 count 11
121 NIST KW wrap AES-192 CAVS 17.4 PLAINTEXT LENGTH = 192 count 8
125 NIST KW wrap AES-192 CAVS 17.4 PLAINTEXT LENGTH = 320 count 14
129 NIST KW wrap AES-192 CAVS 17.4 PLAINTEXT LENGTH = 4096 count 0
[all …]
Dtest_suite_psa_crypto_init.function202 void init_deinit(int count)
206 for (i = 0; i < count; i++) {
228 void deinit_without_init(int count)
231 for (i = 0; i < count; i++) {
301 void validate_module_init_generate_random(int count)
306 for (i = 0; i < count; i++) {
317 void validate_module_init_key_based(int count)
325 for (i = 0; i < count; i++) {
Dtest_suite_psa_crypto_slot_management.data228 Key slot count: maximum
231 Key slot count: dynamic: more than MBEDTLS_PSA_KEY_SLOT_COUNT
236 Key slot count: try to overfill, destroy first
239 Key slot count: try to overfill, destroy second
242 Key slot count: try to overfill, destroy next-to-last
245 Key slot count: try to overfill, destroy last
Dtest_suite_bignum_core.function321 // Construct a test input value where the count of leading zeros and
546 void mpi_core_shift_r(char *input, int count, char *result)
556 mbedtls_mpi_core_shift_r(X, limbs, count);
566 void mpi_core_shift_l(char *input, int count, char *result)
576 mbedtls_mpi_core_shift_l(X, limbs, count);
1015 size_t count = ((size_t) 1) << window_size;
1020 TEST_CALLOC(table, limbs * count);
1028 for (size_t i = 0; i < count * limbs; i++) {
1032 for (size_t i = 0; i < count; i++) {
1043 TEST_CF_SECRET(table, count * limbs * sizeof(*table));
[all …]
Dtest_suite_psa_its.function151 void set_multiple(int first_id, int count)
160 for (uid = uid0; uid < uid0 + count; uid++) {
166 for (uid = uid0; uid < uid0 + count; uid++) {
Dtest_suite_pkcs1_v15.function236 size_t count = 0;
253 count += (final[i] == default_content[i]);
257 TEST_ASSERT(count < 16);
Dtest_suite_bignum_random.function174 * same number, with the same limb count. */
234 * same number, with the same limb count. */
336 * This is almost guaranteed if the iteration count is large
Dhost_test.function198 * \param cnt Parameter array count.
483 * \param argc Command line argument count.
606 "FATAL: Dep count larger than zero at start of loop\n");
Dtest_suite_gcm.function35 * count as an overflow for memory sanitizers and static checkers. */
89 * count as an overflow for memory sanitizers and static checkers. */
Dmain_test.function225 * \param argc Command line arguments count.
/mbedtls-latest/programs/test/
Dmetatest.c201 size_t start = 0, offset = 0, count = 0; in test_memory_poison() local
208 &start, &offset, &count, &direction) != 4) { in test_memory_poison()
226 if (start + count > sizeof(aligned.buf)) { in test_memory_poison()
230 __func__, start + count, sizeof(aligned.buf)); in test_memory_poison()
233 if (offset >= count) { in test_memory_poison()
237 __func__, offset, count); in test_memory_poison()
241 MBEDTLS_TEST_MEMORY_POISON(aligned.buf + start, count); in test_memory_poison()
/mbedtls-latest/library/
Dbignum_core.c331 size_t count) in mbedtls_mpi_core_shift_r() argument
336 v0 = count / biL; in mbedtls_mpi_core_shift_r()
337 v1 = count & (biL - 1); in mbedtls_mpi_core_shift_r()
371 size_t count) in mbedtls_mpi_core_shift_l() argument
376 v0 = count / (biL); in mbedtls_mpi_core_shift_l()
377 v1 = count & (biL - 1); in mbedtls_mpi_core_shift_l()
600 size_t count, in mbedtls_mpi_core_ct_uint_table_lookup() argument
603 for (size_t i = 0; i < count; i++, table += limbs) { in mbedtls_mpi_core_ct_uint_table_lookup()
666 int count = (n_bytes > 4 ? 30 : 250); in mbedtls_mpi_core_random() local
682 if (--count == 0) { in mbedtls_mpi_core_random()
Dpadlock.c111 size_t count; in mbedtls_padlock_xcryptcbc() local
131 count = (length + 15) >> 4; in mbedtls_padlock_xcryptcbc()
145 : "m" (ebx), "m" (count), "m" (ctrl), in mbedtls_padlock_xcryptcbc()
Dbignum_core.h316 size_t count);
331 size_t count);
544 size_t count,
Dssl_cache.c140 int count = 0; in ssl_cache_pick_writing_slot() local
153 count++; in ssl_cache_pick_writing_slot()
184 if (count < cache->max_entries) { in ssl_cache_pick_writing_slot()
Dbignum.c457 size_t count = 0; in mbedtls_mpi_lsb() local
459 for (size_t j = 0; j < biL; j++, count++) { in mbedtls_mpi_lsb()
461 return count; in mbedtls_mpi_lsb()
861 int mbedtls_mpi_shift_l(mbedtls_mpi *X, size_t count) in mbedtls_mpi_shift_l() argument
866 i = mbedtls_mpi_bitlen(X) + count; in mbedtls_mpi_shift_l()
874 mbedtls_mpi_core_shift_l(X->p, X->n, count); in mbedtls_mpi_shift_l()
883 int mbedtls_mpi_shift_r(mbedtls_mpi *X, size_t count) in mbedtls_mpi_shift_r() argument
886 mbedtls_mpi_core_shift_r(X->p, X->n, count); in mbedtls_mpi_shift_r()
2059 int ret, count; in mpi_miller_rabin() local
2080 count = 0; in mpi_miller_rabin()
[all …]
Dpkcs7.c383 int count = 0; in pkcs7_get_signers_info_set() local
403 count++; in pkcs7_get_signers_info_set()
421 count++; in pkcs7_get_signers_info_set()
424 return count; in pkcs7_get_signers_info_set()
Dentropy.c272 int ret, count = 0, i, thresholds_reached; in mbedtls_entropy_func() local
303 if (count++ > ENTROPY_MAX_LOOP) { in mbedtls_entropy_func()
Decp.c1145 size_t count) in mbedtls_mpi_shift_l_mod() argument
1148 MBEDTLS_MPI_CHK(mbedtls_mpi_shift_l(X, count)); in mbedtls_mpi_shift_l_mod()
1181 #define MPI_ECP_SHIFT_L(X, count) \ argument
1182 MBEDTLS_MPI_CHK(mbedtls_mpi_shift_l_mod(grp, X, count))
/mbedtls-latest/tests/scripts/
Dtest_psa_constant_names.py109 self.count = 0
126 self.count += len(expressions)
152 out.write('{} test cases'.format(self.count))
Drun-metatests.sh84 echo "Ran $count metatests, all good."
87 echo "Ran $count metatests, $errors unexpected successes."
Dbasic-build-test.sh84 dd if=/dev/urandom of="seedfile" bs=64 count=1
/mbedtls-latest/scripts/
Dassemble_changelog.py163 title_lines = [version_body[:pos].count('\n') for pos in title_starts]
164 body_lines = [version_body[:pos].count('\n') for pos in body_starts]
249 offset = (self.header + self.top_version_title).count('\n') + 1
/mbedtls-latest/include/mbedtls/
Dbignum.h616 int mbedtls_mpi_shift_l(mbedtls_mpi *X, size_t count);
628 int mbedtls_mpi_shift_r(mbedtls_mpi *X, size_t count);
/mbedtls-latest/programs/
Ddemo_common.sh136 dd if=/dev/urandom of=seedfile ibs=64 obs=64 count=1

12