Lines Matching refs:N
22 mbedtls_mpi N, E;
29 mbedtls_mpi_init(&N); mbedtls_mpi_init(&E);
42 TEST_ASSERT(mbedtls_test_read_mpi(&N, input_N) == 0);
44 TEST_ASSERT(mbedtls_rsa_import(&ctx, &N, NULL, NULL, NULL, &E) == 0);
63 mbedtls_mpi_free(&N); mbedtls_mpi_free(&E);
78 mbedtls_mpi N, P, Q, E;
81 mbedtls_mpi_init(&N); mbedtls_mpi_init(&P);
95 TEST_ASSERT(mbedtls_test_read_mpi(&N, input_N) == 0);
98 TEST_ASSERT(mbedtls_rsa_import(&ctx, &N, &P, &Q, NULL, &E) == 0);
123 mbedtls_mpi_free(&N); mbedtls_mpi_free(&P);
140 static unsigned char N[128] = {
208 TEST_ASSERT(mbedtls_mpi_read_binary(&Nmpi, N, sizeof(N)) == 0);
217 TEST_ASSERT(input->len <= sizeof(N));
230 TEST_ASSERT(memcmp(original + sizeof(N) - output_length,
236 output_size > sizeof(N) - 11 ? sizeof(N) - 11 : output_size;
278 mbedtls_mpi N, P, Q, E;
286 mbedtls_mpi_init(&N); mbedtls_mpi_init(&P);
299 TEST_ASSERT(mbedtls_test_read_mpi(&N, input_N) == 0);
302 TEST_ASSERT(mbedtls_rsa_import(&ctx, &N, &P, &Q, NULL, &E) == 0);
318 mbedtls_mpi_free(&N); mbedtls_mpi_free(&P);
330 mbedtls_mpi N, E;
333 mbedtls_mpi_init(&N); mbedtls_mpi_init(&E);
341 TEST_ASSERT(mbedtls_test_read_mpi(&N, input_N) == 0);
343 TEST_ASSERT(mbedtls_rsa_import(&ctx, &N, NULL, NULL, NULL, &E) == 0);
351 mbedtls_mpi_free(&N); mbedtls_mpi_free(&E);