开发者

BigInt conversion (gmp Bigint to botan bigint)

开发者 https://www.devze.com 2023-02-03 19:06 出处:网络
I am using gmp to perform complex operation. I want to use Botan to perform cryptography functions. Problem is Bot开发者_开发技巧h of them have their own Bigint function. So its creating problem on su

I am using gmp to perform complex operation. I want to use Botan to perform cryptography functions. Problem is Bot开发者_开发技巧h of them have their own Bigint function. So its creating problem on supplying bigint value used in gmp function to Botan function.

Can anyone help in this?


Use mpz_export to export the GMP integer and the BigInt(const byte[], size_t) constructor to import it.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号