2013-03-08 01:20:41 +01:00
|
|
|
#ifndef _SECP256K1_FIELD_
|
|
|
|
#define _SECP256K1_FIELD_
|
|
|
|
|
2013-03-30 21:49:09 +01:00
|
|
|
// just one implementation for now
|
|
|
|
#include "field_5x52.h"
|
2013-03-08 01:20:41 +01:00
|
|
|
|
|
|
|
namespace secp256k1 {
|
|
|
|
|
2013-03-09 22:47:40 +01:00
|
|
|
class FieldConstants {
|
|
|
|
public:
|
2013-03-24 10:38:35 +01:00
|
|
|
secp256k1_num_t field_p;
|
2013-03-09 22:47:40 +01:00
|
|
|
|
2013-03-15 14:47:07 +01:00
|
|
|
FieldConstants();
|
2013-03-24 10:38:35 +01:00
|
|
|
~FieldConstants();
|
2013-03-09 22:47:40 +01:00
|
|
|
};
|
|
|
|
|
2013-03-15 14:47:07 +01:00
|
|
|
const FieldConstants &GetFieldConst();
|
2013-03-11 03:09:07 +01:00
|
|
|
|
2013-03-08 01:20:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|