Creates a randomx_cache structure and allocates memory for RandomX Cache.
Creates a randomx_dataset structure and allocates memory for RandomX Dataset.
Calculates a RandomX hash value.
Creates and initializes a RandomX virtual machine.
Gets the number of items contained in the dataset.
Releases all memory occupied by the randomx_vm structure.
Returns a pointer to the internal memory buffer of the dataset structure. The size
of the internal memory buffer is randomx_dataset_item_count() * RANDOMX_DATASET_ITEM_SIZE.
Initializes the cache memory and SuperscalarHash using the provided key value.
Initializes dataset items.
Releases all memory occupied by the randomx_cache structure.
Releases all memory occupied by the randomx_dataset structure.
Reinitializes a virtual machine with a new Cache. This function should be called anytime
the Cache is reinitialized with a new key.
Reinitializes a virtual machine with a new Dataset.