Loading crypto/bn/bn.h +4 −2 Original line number Diff line number Diff line Loading @@ -240,13 +240,15 @@ typedef struct bignum_st /* Used for temp variables */ #define BN_CTX_NUM 12 #define BN_CTX_NUM_POS 12 typedef struct bignum_ctx { int tos; BIGNUM bn[BN_CTX_NUM+1]; BIGNUM bn[BN_CTX_NUM]; int flags; int depth; int pos[BN_CTX_NUM+1]; int pos[BN_CTX_NUM_POS]; int too_many; } BN_CTX; typedef struct bn_blinding_st Loading crypto/bn/bn_ctx.c +1 −0 Original line number Diff line number Diff line Loading @@ -87,6 +87,7 @@ void BN_CTX_init(BN_CTX *ctx) ctx->tos = 0; ctx->flags = 0; ctx->depth = 0; ctx->too_many = 0; for (i = 0; i < BN_CTX_NUM; i++) BN_init(&(ctx->bn[i])); } Loading Loading
crypto/bn/bn.h +4 −2 Original line number Diff line number Diff line Loading @@ -240,13 +240,15 @@ typedef struct bignum_st /* Used for temp variables */ #define BN_CTX_NUM 12 #define BN_CTX_NUM_POS 12 typedef struct bignum_ctx { int tos; BIGNUM bn[BN_CTX_NUM+1]; BIGNUM bn[BN_CTX_NUM]; int flags; int depth; int pos[BN_CTX_NUM+1]; int pos[BN_CTX_NUM_POS]; int too_many; } BN_CTX; typedef struct bn_blinding_st Loading
crypto/bn/bn_ctx.c +1 −0 Original line number Diff line number Diff line Loading @@ -87,6 +87,7 @@ void BN_CTX_init(BN_CTX *ctx) ctx->tos = 0; ctx->flags = 0; ctx->depth = 0; ctx->too_many = 0; for (i = 0; i < BN_CTX_NUM; i++) BN_init(&(ctx->bn[i])); } Loading