/mbedtls-3.5.0/programs/fuzz/ |
D | onefile.c | 10 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size); 16 size_t Size; in main() local 30 Size = ftell(fp); in main() 31 if (Size == (size_t) -1) { in main() 39 Data = malloc(Size); in main() 44 if (fread(Data, Size, 1, fp) != 1) { in main() 51 LLVMFuzzerTestOneInput(Data, Size); in main()
|
D | fuzz_client.c | 35 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) in LLVMFuzzerTestOneInput() argument 69 if (Size < 2) { in LLVMFuzzerTestOneInput() 72 options = (Data[Size - 2] << 8) | Data[Size - 1]; in LLVMFuzzerTestOneInput() 153 biomemfuzz.Size = Size-2; in LLVMFuzzerTestOneInput() 181 (void) Size; in LLVMFuzzerTestOneInput()
|
D | fuzz_server.c | 35 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) in LLVMFuzzerTestOneInput() argument 54 if (Size < 1) { in LLVMFuzzerTestOneInput() 57 options = Data[Size - 1]; in LLVMFuzzerTestOneInput() 168 biomemfuzz.Size = Size-1; in LLVMFuzzerTestOneInput() 200 (void) Size; in LLVMFuzzerTestOneInput()
|
D | fuzz_privkey.c | 18 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) in LLVMFuzzerTestOneInput() argument 26 if (Size > MAX_LEN) { in LLVMFuzzerTestOneInput() 28 Size = MAX_LEN; in LLVMFuzzerTestOneInput() 40 ret = mbedtls_pk_parse_key(&pk, Data, Size, NULL, 0, in LLVMFuzzerTestOneInput() 89 (void) Size; in LLVMFuzzerTestOneInput()
|
D | fuzz_pkcs7.c | 4 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) in LLVMFuzzerTestOneInput() argument 11 mbedtls_pkcs7_parse_der(&pkcs7, Data, Size); in LLVMFuzzerTestOneInput() 16 (void) Size; in LLVMFuzzerTestOneInput()
|
D | fuzz_x509crl.c | 6 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) in LLVMFuzzerTestOneInput() argument 14 ret = mbedtls_x509_crl_parse(&crl, Data, Size); in LLVMFuzzerTestOneInput() 26 (void) Size; in LLVMFuzzerTestOneInput()
|
D | fuzz_x509crt.c | 6 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) in LLVMFuzzerTestOneInput() argument 14 ret = mbedtls_x509_crt_parse(&crt, Data, Size); in LLVMFuzzerTestOneInput() 26 (void) Size; in LLVMFuzzerTestOneInput()
|
D | fuzz_x509csr.c | 6 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) in LLVMFuzzerTestOneInput() argument 14 ret = mbedtls_x509_csr_parse(&csr, Data, Size); in LLVMFuzzerTestOneInput() 26 (void) Size; in LLVMFuzzerTestOneInput()
|
D | fuzz_dtlsclient.c | 29 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) in LLVMFuzzerTestOneInput() argument 97 biomemfuzz.Size = Size; in LLVMFuzzerTestOneInput() 125 (void) Size; in LLVMFuzzerTestOneInput()
|
D | fuzz_dtlsserver.c | 32 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) in LLVMFuzzerTestOneInput() argument 121 biomemfuzz.Size = Size; in LLVMFuzzerTestOneInput() 164 (void) Size; in LLVMFuzzerTestOneInput()
|
D | common.c | 43 if (biomemfuzz->Offset == biomemfuzz->Size) { in fuzz_recv() 50 if (len + biomemfuzz->Offset > biomemfuzz->Size) { in fuzz_recv() 52 len = biomemfuzz->Size - biomemfuzz->Offset; in fuzz_recv()
|
D | fuzz_pubkey.c | 7 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) in LLVMFuzzerTestOneInput() argument 14 ret = mbedtls_pk_parse_public_key(&pk, Data, Size); in LLVMFuzzerTestOneInput() 72 (void) Size; in LLVMFuzzerTestOneInput()
|
D | common.h | 11 size_t Size; member
|
/mbedtls-3.5.0/tests/suites/ |
D | test_suite_x509parse.function | 886 // Size of buf is maximum required for test cases
|
D | test_suite_psa_crypto.function | 69 * \param size Size of the buffer in bytes.
|
/mbedtls-3.5.0/docs/proposed/ |
D | psa-driver-interface.md | 490 * `output_size` Size of the output buffer in bytes. 790 #### Size of a dynamically allocated key context 801 #### Size of a statically allocated key context
|
/mbedtls-3.5.0/ |
D | ChangeLog | 3308 * Remove size zero arrays from ECJPAKE test suite. Size zero arrays are not
|