Searched refs:modulus_len (Results 1 – 2 of 2) sorted by relevance
2620 size_t modulus_len = BN_num_bytes(rsa->n); in TEST_P() local2621 ASSERT_EQ(1024U / 8, modulus_len); in TEST_P()2622 std::unique_ptr<uint8_t[]> modulus_buf(new uint8_t[modulus_len]); in TEST_P()2626 string message(reinterpret_cast<const char*>(modulus_buf.get()), modulus_len); in TEST_P()2636 modulus_len = BN_num_bytes(rsa->n); in TEST_P()2637 ASSERT_EQ(1024U / 8, modulus_len); in TEST_P()2639 message = string(reinterpret_cast<const char*>(modulus_buf.get()), modulus_len); in TEST_P()
2327 size_t modulus_len = BN_num_bytes(rsa->n); in TEST_P() local2328 ASSERT_EQ(2048U / 8, modulus_len); in TEST_P()2329 std::unique_ptr<uint8_t[]> modulus_buf(new uint8_t[modulus_len]); in TEST_P()2333 string message(reinterpret_cast<const char*>(modulus_buf.get()), modulus_len); in TEST_P()2343 modulus_len = BN_num_bytes(rsa->n); in TEST_P()2344 ASSERT_EQ(2048U / 8, modulus_len); in TEST_P()2346 message = string(reinterpret_cast<const char*>(modulus_buf.get()), modulus_len); in TEST_P()