Searched refs:n2 (Results 1 – 6 of 6) sorted by relevance
/mbedtls-latest/tests/suites/ |
D | test_suite_gcm.function | 19 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);
|
D | test_suite_ccm.function | 19 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/ |
D | x509_create.c | 129 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()
|
D | dhm.c | 229 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()
|
D | aria.c | 329 const uint8_t n2 = n1 ? 32 - n1 : 0; // reverse bit offset in aria_rot128() local 337 t |= u >> n2; in aria_rot128()
|
D | x509_crt.c | 252 const unsigned char *n1 = s1, *n2 = s2; in x509_memcasecmp() local 255 diff = n1[i] ^ n2[i]; in x509_memcasecmp()
|