Home
last modified time | relevance | path

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

/openssl/test/
H A Dbntest.c39 size_t mpi_len; member
1944 i = sizeof(scratch) - test->mpi_len; in test_bn2signed()
1948 || !TEST_mem_eq(test->mpi, test->mpi_len, scratch + i, test->mpi_len)) in test_bn2signed()
1971 i = sizeof(reversed) - test->mpi_len; in test_bn2signed()
1975 || !TEST_mem_eq(test->mpi, test->mpi_len, reversed + i, test->mpi_len)) in test_bn2signed()
2199 size_t mpi_len, mpi_len2; in test_mpi() local
2207 mpi_len = BN_bn2mpi(bn, NULL); in test_mpi()
2208 if (!TEST_size_t_le(mpi_len, sizeof(scratch))) in test_mpi()
2211 if (!TEST_size_t_eq(mpi_len2 = BN_bn2mpi(bn, scratch), mpi_len) in test_mpi()
2212 || !TEST_mem_eq(test->mpi, test->mpi_len, scratch, mpi_len)) in test_mpi()
[all …]

Completed in 10 milliseconds