CuEVM
Namespaces | Functions
arith.cu File Reference
#include <CuEVM/utils/arith.cuh>
#include <CuEVM/utils/error_codes.cuh>
#include <CuEVM/utils/evm_utils.cuh>
Include dependency graph for arith.cu:

Namespaces

 CuEVM
 

Functions

__host__ __device__ void CuEVM::cgbn_set_memory (env_t env, bn_t &dst, const uint8_t *src, const uint32_t size)
 
__host__ __device__ void CuEVM::cgbn_set_size_t (env_t env, bn_t &dst, const size_t src)
 
__host__ __device__ int32_t CuEVM::cgbn_get_size_t (env_t env, size_t &dst, const bn_t &src)
 
__host__ __device__ int32_t CuEVM::cgbn_get_uint64_t (env_t env, uint64_t &dst, const bn_t &src)
 
__host__ __device__ int32_t CuEVM::cgbn_get_uint32_t (env_t env, uint32_t &dst, const bn_t &src)
 
__host__ __device__ int32_t CuEVM::cgbn_set_byte_array_t (env_t env, bn_t &out, const byte_array_t &byte_array)
 
__host__ __device__ int32_t CuEVM::get_sub_byte_array_t (ArithEnv &arith, const byte_array_t &byte_array, const bn_t &index, const bn_t &length, byte_array_t &out)
 
__host__ __device__ void CuEVM::get_bit_array (uint8_t *dst_array, uint32_t &array_length, evm_word_t &src_cgbn_mem, uint32_t limb_count)
 
__host__ __device__ void CuEVM::byte_array_from_cgbn_memory (uint8_t *dst_array, size_t &array_length, evm_word_t &src_cgbn_mem, size_t limb_count)
 
__host__ __device__ void CuEVM::memory_from_cgbn (ArithEnv &arith, uint8_t *dst, bn_t &src)
 
__host__ __device__ void CuEVM::evm_address_conversion (ArithEnv &arith, bn_t &address)
 
__host__ __device__ void CuEVM::print_bnt (ArithEnv &arith, const bn_t &bn)