Searched refs:mpi_len (Results 1 – 1 of 1) sorted by relevance
/external/boringssl/src/crypto/bn/ |
D | bn_test.cc | 1674 size_t mpi_len; member 1692 const size_t mpi_len = BN_bn2mpi(bn.get(), NULL); in test_mpi() local 1693 if (mpi_len > sizeof(scratch)) { in test_mpi() 1700 if (mpi_len != mpi_len2) { in test_mpi() 1705 if (mpi_len != test.mpi_len || in test_mpi() 1706 memcmp(test.mpi, scratch, mpi_len) != 0) { in test_mpi() 1708 hexdump(stderr, "Expected: ", test.mpi, test.mpi_len); in test_mpi() 1709 hexdump(stderr, "Got: ", scratch, mpi_len); in test_mpi() 1713 ScopedBIGNUM bn2(BN_mpi2bn(scratch, mpi_len, NULL)); in test_mpi()
|