Home
last modified time | relevance | path

Searched refs:Size (Results 1 – 17 of 17) sorted by relevance

/mbedtls-3.5.0/programs/fuzz/
Donefile.c10 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()
Dfuzz_client.c35 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()
Dfuzz_server.c35 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()
Dfuzz_privkey.c18 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()
Dfuzz_pkcs7.c4 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()
Dfuzz_x509crl.c6 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()
Dfuzz_x509crt.c6 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()
Dfuzz_x509csr.c6 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()
Dfuzz_dtlsclient.c29 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) in LLVMFuzzerTestOneInput() argument
97 biomemfuzz.Size = Size; in LLVMFuzzerTestOneInput()
125 (void) Size; in LLVMFuzzerTestOneInput()
Dfuzz_dtlsserver.c32 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) in LLVMFuzzerTestOneInput() argument
121 biomemfuzz.Size = Size; in LLVMFuzzerTestOneInput()
164 (void) Size; in LLVMFuzzerTestOneInput()
Dcommon.c43 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()
Dfuzz_pubkey.c7 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()
Dcommon.h11 size_t Size; member
/mbedtls-3.5.0/tests/suites/
Dtest_suite_x509parse.function886 // Size of buf is maximum required for test cases
Dtest_suite_psa_crypto.function69 * \param size Size of the buffer in bytes.
/mbedtls-3.5.0/docs/proposed/
Dpsa-driver-interface.md490 * `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/
DChangeLog3308 * Remove size zero arrays from ECJPAKE test suite. Size zero arrays are not