Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/src/scratch.h
/*********************************************************************** | /*********************************************************************** | ||||
* Copyright (c) 2017 Andrew Poelstra * | * Copyright (c) 2017 Andrew Poelstra * | ||||
* Distributed under the MIT software license, see the accompanying * | * Distributed under the MIT software license, see the accompanying * | ||||
* file COPYING or https://www.opensource.org/licenses/mit-license.php.* | * file COPYING or https://www.opensource.org/licenses/mit-license.php.* | ||||
***********************************************************************/ | ***********************************************************************/ | ||||
#ifndef _SECP256K1_SCRATCH_ | #ifndef SECP256K1_SCRATCH_H | ||||
#define _SECP256K1_SCRATCH_ | #define SECP256K1_SCRATCH_H | ||||
/* The typedef is used internally; the struct name is used in the public API | /* The typedef is used internally; the struct name is used in the public API | ||||
* (where it is exposed as a different typedef) */ | * (where it is exposed as a different typedef) */ | ||||
typedef struct secp256k1_scratch_space_struct { | typedef struct secp256k1_scratch_space_struct { | ||||
/** guard against interpreting this object as other types */ | /** guard against interpreting this object as other types */ | ||||
unsigned char magic[8]; | unsigned char magic[8]; | ||||
/** actual allocated data */ | /** actual allocated data */ | ||||
void *data; | void *data; | ||||
Show All 26 Lines |