Lines Matching defs:bn
56 #include <openssl/bn.h>
88 #include <openssl/bn.h>
1051 BIGNUM* bn;
1054 bn = (BIGNUM*) ArbBigNum;
1057 *BigNumSize = bn->top << 3;
1059 /*Size of the bignum in bytes is equal to the bn->top (no of 32 bit
1061 *BigNumSize = bn->top << 2;
1070 BIGNUM* bn;
1078 bn = (BIGNUM*) ArbBigNum;
1081 memcpy(AEP_BigNum, bn->d, BigNumSize);
1085 for(i=0;i<bn->top;i++)
1087 buf = (unsigned char*)&bn->d[i];
1104 BIGNUM* bn;
1109 bn = (BIGNUM*)ArbBigNum;
1111 /*Expand the result bn so that it can hold our big num.
1113 bn_expand(bn, (int)(BigNumSize << 3));
1116 bn->top = BigNumSize >> 3;
1119 bn->top++;
1121 memset(bn->d, 0, bn->top << 3);
1123 memcpy(bn->d, AEP_BigNum, BigNumSize);
1125 bn->top = BigNumSize >> 2;
1127 for(i=0;i<bn->top;i++)
1129 bn->d[i] = (AEP_U32)