|
Markopy
Utilizing Markov Models for brute forcing attacks
|
Namespace for objects requiring CUDA libraries. More...
Namespaces | |
| Random | |
| Namespace for Random engines operable under device space. | |
Classes | |
| class | CUDADeviceController |
| Controller class for CUDA device. More... | |
| class | CUDAModelMatrix |
| Extension of Markov::API::ModelMatrix which is modified to run on GPU devices. More... | |
Functions | |
| __global__ void | FastRandomWalkCUDAKernel (unsigned long int n, int minLen, int maxLen, char *outputBuffer, char *matrixIndex, long int *totalEdgeWeights, long int *valueMatrix, char *edgeMatrix, int matrixSize, int memoryPerKernelGrid, unsigned long *seed) |
| CUDA kernel for the FastRandomWalk operation. More... | |
| __device__ char * | strchr (char *p, char c, int s_len) |
| srtchr implementation on device space More... | |
Namespace for objects requiring CUDA libraries.
| __global__ void Markov::API::CUDA::FastRandomWalkCUDAKernel | ( | unsigned long int | n, |
| int | minLen, | ||
| int | maxLen, | ||
| char * | outputBuffer, | ||
| char * | matrixIndex, | ||
| long int * | totalEdgeWeights, | ||
| long int * | valueMatrix, | ||
| char * | edgeMatrix, | ||
| int | matrixSize, | ||
| int | memoryPerKernelGrid, | ||
| unsigned long * | seed | ||
| ) |
CUDA kernel for the FastRandomWalk operation.
Will be initiated by CPU and continued by GPU (global tag)
| n | - Number of passwords to generate. |
| minlen | - minimum string length for a single generation |
| maxLen | - maximum string length for a single generation |
| outputBuffer | - VRAM ptr to the output buffer |
| matrixIndex | - VRAM ptr to the matrix indices |
| totalEdgeWeights | - VRAM ptr to the totalEdgeWeights array |
| valueMatrix | - VRAM ptr to the edge weights array |
| edgeMatrix | - VRAM ptr to the edge representations array |
| matrixSize | - Size of the matrix dimensions |
| memoryPerKernelGrid | - Maximum memory usage per kernel grid |
| seed | - seed chunk to generate the random from (generated & used by Marsaglia) |
Definition at line 194 of file cudaModelMatrix.cu.
| __device__ char * Markov::API::CUDA::strchr | ( | char * | p, |
| char | c, | ||
| int | s_len | ||
| ) |
srtchr implementation on device space
Fint the first matching index of a string
| p | - string to check |
| c | - character to match |
| s_len | - maximum string length |
Definition at line 252 of file cudaModelMatrix.cu.