Home
last modified time | relevance | path

Searched refs:zeros (Results 1 – 16 of 16) sorted by relevance

/mbedtls/tests/suites/
A Dtest_suite_cipher.padding.data140 Check one and zeros padding #1 (correct)
144 Check one and zeros padding #2 (correct)
148 Check one and zeros padding #3 (correct)
152 Check one and zeros padding #4 (correct)
156 Check one and zeros padding #5 (correct)
172 Check zeros and len padding #1 (correct)
192 Check zeros and len padding #6 (not enough zeros)
196 Check zeros padding #1 (correct)
200 Check zeros padding #2 (correct)
204 Check zeros padding #3 (correct)
[all …]
A Dtest_suite_cipher.des.data193 DES Encrypt and decrypt 0 bytes with zeros padding
197 DES Encrypt and decrypt 1 byte with zeros padding
201 DES Encrypt and decrypt 2 bytes with zeros padding
205 DES Encrypt and decrypt 7 bytes with zeros padding
209 DES Encrypt and decrypt 8 bytes with zeros padding
213 DES Encrypt and decrypt 9 bytes with zeros padding
217 DES Encrypt and decrypt 15 bytes with zeros padding
221 DES Encrypt and decrypt 16 bytes with zeros padding
225 DES Encrypt and decrypt 17 bytes with zeros padding
229 DES Encrypt and decrypt 31 bytes with zeros padding
[all …]
A Dtest_suite_cipher.camellia.data189 CAMELLIA Encrypt and decrypt 0 bytes with zeros padding
193 CAMELLIA Encrypt and decrypt 1 byte with zeros padding
197 CAMELLIA Encrypt and decrypt 2 bytes with zeros padding
201 CAMELLIA Encrypt and decrypt 7 bytes with zeros padding
205 CAMELLIA Encrypt and decrypt 8 bytes with zeros padding
209 CAMELLIA Encrypt and decrypt 9 bytes with zeros padding
213 CAMELLIA Encrypt and decrypt 15 bytes with zeros padding
217 CAMELLIA Encrypt and decrypt 16 bytes with zeros padding
221 CAMELLIA Encrypt and decrypt 17 bytes with zeros padding
225 CAMELLIA Encrypt and decrypt 31 bytes with zeros padding
[all …]
A Dtest_suite_cipher.aes.data189 AES-128 CBC - Encrypt and decrypt 0 bytes with zeros padding
193 AES-128 CBC - Encrypt and decrypt 1 byte with zeros padding
197 AES-128 CBC - Encrypt and decrypt 2 bytes with zeros padding
201 AES-128 CBC - Encrypt and decrypt 7 bytes with zeros padding
205 AES-128 CBC - Encrypt and decrypt 8 bytes with zeros padding
209 AES-128 CBC - Encrypt and decrypt 9 bytes with zeros padding
213 AES-128 CBC - Encrypt and decrypt 15 bytes with zeros padding
217 AES-128 CBC - Encrypt and decrypt 16 bytes with zeros padding
221 AES-128 CBC - Encrypt and decrypt 17 bytes with zeros padding
225 AES-128 CBC - Encrypt and decrypt 31 bytes with zeros padding
[all …]
A Dtest_suite_psa_crypto_util.data97 ECDSA DER -> Raw, 256bit, Invalid r all zeros
101 ECDSA DER -> Raw, 256bit, Invalid s all zeros
121 ECDSA DER -> Raw, 256bit, Invalid r 2 leading zeros
125 ECDSA DER -> Raw, 256bit, Invalid s 2 leading zeros
A Dtest_suite_psa_crypto_entropy.function157 uint8_t zeros[32] = { 0 };
196 TEST_ASSERT(memcmp(output, zeros, sizeof(output)) != 0);
A Dtest_suite_dhm.function39 /* The DHM param output from Mbed TLS has leading zeros stripped, as
A Dtest_suite_bignum_random.data192 ## the input, without first checking for leading zeros. If this was
A Dtest_suite_bignum_core.function317 // can't fit required number of leading and trailing zeros - skip test
321 // Construct a test input value where the count of leading zeros and
322 // trailing zeros is given in the test case, and we add ones to fill
A Dtest_suite_psa_crypto.data7240 PSA raw key agreement: FFDH 2048 bits (shared secred with leading zeros)
7248 PSA raw key agreement: FFDH 3072 bits (shared secred with leading zeros)
7256 PSA raw key agreement: FFDH 4096 bits (shared secred with leading zeros)
7264 PSA raw key agreement: FFDH 6144 bits (shared secred with leading zeros)
7519 PSA generate key ext: RSA, e=3 with leading zeros
7525 # for leading zeros. This is a very minor bug. Re-enable this test when this
7527 #PSA generate key ext: RSA, e=3 with many leading zeros
A Dtest_suite_psa_crypto_driver_wrappers.function421 * \param modulus Key modulus. Must not have leading zeros.
/mbedtls/library/
A Drsa.c1697 const unsigned char zeros[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }; in hash_mprime() local
1714 if ((ret = mbedtls_md_update(&md_ctx, zeros, sizeof(zeros))) != 0) { in hash_mprime()
A Dpsa_crypto.c7173 uint8_t zeros[16] = { 0 }; in psa_pbkdf2_cmac_set_password() local
7175 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(sizeof(zeros))); in psa_pbkdf2_cmac_set_password()
7181 zeros, sizeof(zeros), in psa_pbkdf2_cmac_set_password()
/mbedtls/docs/architecture/testing/
A Dpsa-storage-format-testing.md105 * RSA keys: can invalid DER encodings (e.g. leading zeros, ignored sign bit) have been stored?
/mbedtls/docs/architecture/psa-migration/
A Dpsa-legacy-bridges.md343 …ecessary in the DER-to-raw direction because the DER format lacks leading zeros, so something else…
/mbedtls/
A DChangeLog2593 * Fix mbedtls_asn1_get_int to support any number of leading zeros. Credit
3607 zeros.
5095 * Support for zeros-and-length (ANSI X.923) padding, one-and-zeros

Completed in 69 milliseconds