Go to the documentation of this file.
63 #include "../../internal.h"
67 #define BN_CTX_START_FRAMES 32
120 ret->defer_error = 0;
132 assert(
ctx->used == 0 ||
ctx->error);
148 ctx->defer_error = 1;
155 if (
ctx->defer_error) {
157 ctx->defer_error = 0;
162 if (
ctx->bignums == NULL) {
163 ctx->bignums = sk_BIGNUM_new_null();
164 if (
ctx->bignums == NULL) {
171 if (
ctx->used == sk_BIGNUM_num(
ctx->bignums)) {
173 if (bn == NULL || !sk_BIGNUM_push(
ctx->bignums, bn)) {
215 if (new_size <= st->
size ||
new_size > ((
size_t)-1) /
sizeof(
size_t)) {
218 size_t *new_indexes =
220 if (new_indexes == NULL) {
233 assert(st->
depth > 0);
#define OPENSSL_PUT_ERROR(library, reason)
void BN_CTX_free(BN_CTX *ctx)
static void BN_STACK_cleanup(BN_STACK *)
BN_CTX * BN_CTX_new(void)
void BN_CTX_start(BN_CTX *ctx)
#define BN_R_TOO_MANY_TEMPORARY_VARIABLES
#define DEFINE_STACK_OF(type)
BIGNUM * BN_CTX_get(BN_CTX *ctx)
static int BN_STACK_push(BN_STACK *, size_t idx)
#define BN_CTX_START_FRAMES
UniquePtr< SSL_SESSION > ret
static void BN_STACK_init(BN_STACK *)
static size_t BN_STACK_pop(BN_STACK *)
void BN_CTX_end(BN_CTX *ctx)
#define ERR_R_MALLOC_FAILURE
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:59:02