Skip to content

BigInt::random_integer hangs #3590

@guidovranken

Description

@guidovranken
#include <botan/bigint.h>
#include <botan/system_rng.h>

int main(void)
{
    using namespace Botan;
    System_RNG rng;

    BigInt A("0x1fec2433a4401374b0220cf2f92f7ac3a5a84610ff4896118525dfc6a556dfbf9ce2698c20cfc780");
    BigInt B("0x1fec2433a4401374b0220cf2f92f8735d4b73fe909f5fa3658d30b423d4630b4dce2698c20cfc780");

    BigInt::random_integer(rng, A, B);

    return 0;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions