I am using OpenSSL for a cuda project.
I just imported all the project from win to linux (Eclipse)
I solved all the dependencies except this annoying error:
Invalid arguments ' Candidates are: int BN_set_word(bignum_st *, ?) '
for this line:
BN_set_word(two, 2);
and the function itself
I am trying to implement the Karatsuba algorithm on Cuda (Geforce 285)
But I am stuck on this error:
Quote
calling a host function from a __device__/__global__ function is not allowed
Here the code:
#include stdio.h
#include stdlib.h
#include time.h
#include iostream
#include applink.c
Hello,
I am having really problems to get a big number printed out in the stdout...
This is how it should be (if I got it properly):
*BIGNUM *r;*
*BIO *out;*
*
*
*out = BIO_new_fp(stdout, BIO_NOCLOSE);*
*
*
*r=BN_new();*
*
*
*BN_rand(r, 2048, -1, 0)*
*
*
*BN_print(out, r);*
but when I
Solved, i included applink.c
2011/4/20 Giuseppe Barbieri elec...@gmail.com
Hello,
I am having really problems to get a big number printed out in the
stdout...
This is how it should be (if I got it properly):
*BIGNUM *r;*
*BIO *out;*
*
*
*out = BIO_new_fp(stdout, BIO_NOCLOSE