Home
last modified time | relevance | path

Searched refs:n2 (Results 1 – 6 of 6) sorted by relevance

/mbedtls-latest/tests/suites/
Dtest_suite_gcm.function19 size_t n2 = input->len - n1;
44 TEST_CALLOC(output, n2);
46 TEST_EQUAL(0, mbedtls_gcm_update(ctx, input->x + n1, n2, output, n2, &olen));
47 TEST_EQUAL(n2, olen);
48 TEST_MEMORY_COMPARE(output, olen, expected_output->x + n1, n2);
Dtest_suite_ccm.function19 size_t n2 = input->len - n1;
43 TEST_CALLOC(output, n2);
45 TEST_EQUAL(0, mbedtls_ccm_update(ctx, input->x + n1, n2, output, n2, &olen));
46 TEST_EQUAL(n2, olen);
47 TEST_MEMORY_COMPARE(output, olen, expected_output->x + n1, n2);
/mbedtls-latest/library/
Dx509_create.c129 int n2 = hex_to_int(*(hexpair + 1)); in hexpair_to_int() local
131 if (n1 != -1 && n2 != -1) { in hexpair_to_int()
132 return (n1 << 4) | n2; in hexpair_to_int()
Ddhm.c229 size_t n1, n2, n3; in mbedtls_dhm_make_params() local
252 n2 = mbedtls_mpi_size(&ctx->G); in mbedtls_dhm_make_params()
257 DHM_MPI_EXPORT(&ctx->G, n2); in mbedtls_dhm_make_params()
Daria.c329 const uint8_t n2 = n1 ? 32 - n1 : 0; // reverse bit offset in aria_rot128() local
337 t |= u >> n2; in aria_rot128()
Dx509_crt.c252 const unsigned char *n1 = s1, *n2 = s2; in x509_memcasecmp() local
255 diff = n1[i] ^ n2[i]; in x509_memcasecmp()