Home
last modified time | relevance | path

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

/mbedtls-development/tests/suites/
A Dtest_suite_gcm.function19 size_t n2 = input->len - n1;
44 ASSERT_ALLOC( output, n2 );
46 TEST_EQUAL( 0, mbedtls_gcm_update( ctx, input->x + n1, n2, output, n2, &olen ) );
47 TEST_EQUAL( n2, olen );
48 ASSERT_COMPARE( output, olen, expected_output->x + n1, n2 );
A Dtest_suite_ccm.function19 size_t n2 = input->len - n1;
43 ASSERT_ALLOC( output, n2 );
45 TEST_EQUAL( 0, mbedtls_ccm_update( ctx, input->x + n1, n2, output, n2, &olen ) );
46 TEST_EQUAL( n2, olen );
47 ASSERT_COMPARE( output, olen, expected_output->x + n1, n2 );
/mbedtls-development/library/
A Ddhm.c253 size_t n1, n2, n3; in mbedtls_dhm_make_params() local
279 n2 = mbedtls_mpi_size( &ctx->G ); in mbedtls_dhm_make_params()
284 DHM_MPI_EXPORT( &ctx->G , n2 ); in mbedtls_dhm_make_params()
A Daria.c398 const uint8_t n2 = n1 ? 32 - n1 : 0; // reverse bit offset in aria_rot128() local
407 t |= u >> n2; in aria_rot128()
A Dx509_crt.c258 const unsigned char *n1 = s1, *n2 = s2; in x509_memcasecmp() local
262 diff = n1[i] ^ n2[i]; in x509_memcasecmp()

Completed in 14 milliseconds