Lines Matching refs:mpi_len
39 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()
2215 if (!TEST_ptr(bn2 = BN_mpi2bn(scratch, mpi_len, NULL))) in test_mpi()