#include <relic/relic.h>
#include "block.h"
#include "hash.h"
#include "utils_ec.hpp"
Go to the source code of this file.
§ __batch
#define __batch |
( |
|
func, |
|
|
|
... |
|
) |
| |
Value:template <typename H, typename... T> void func##l(H p, T... t) {\
func(p,##__VA_ARGS__);\
func##l(t...);\
}\
template <typename H> void func##l(H p) {\
func(p,##__VA_ARGS__);\
}
§ __batch2
Value:template <typename H1, typename H2, typename H3> void func##_norm(H1 h1, H2 h2, H3 h3) {\
func(h1, h2, h3);\
eb_norm(h1, h1);\
}\
§ __batch3
Value:template <typename H1, typename H2, typename H3, typename H4> void func##_mod(H1 h1, H2 h2, H3 h3, H4 h4) {\
func(h1, h2, h3);\
bn_mod(h1, h1, h4);\
}\
§ BIT_LEN
§ EB_SIZE
§ ECC_PACK
§ bn_tpl
§ eb_tpl
§ __batch() [1/4]
§ __batch() [2/4]
§ __batch() [3/4]
§ __batch() [4/4]
§ __batch2() [1/4]
§ __batch2() [2/4]
§ __batch2() [3/4]
§ __batch2() [4/4]
§ __batch3() [1/3]
§ __batch3() [2/3]
§ __batch3() [3/3]
§ block_to_bn()
void block_to_bn |
( |
bn_t |
bn, |
|
|
const block * |
b |
|
) |
| |
|
inline |
§ bn_to_block()
void bn_to_block |
( |
block * |
b, |
|
|
const bn_t |
bn |
|
) |
| |
|
inline |
§ initialize_relic()
void initialize_relic |
( |
| ) |
|
|
inline |
§ KDF()