2 bn_write_bin((uint8_t*)b,
sizeof(
block), bn);
6 bn_read_bin(bn, (
const uint8_t*)b,
sizeof(
block));
9 if(initialized)
return;
11 if (core_init() != STS_OK) {
16 eb_param_set(EBACS_B251);
22 int eb_size= eb_size_bin(in,
ECC_PACK);
23 eb_write_bin(tmp, eb_size, in,
ECC_PACK);
void block_to_bn(bn_t bn, const block *b)
Definition: utils_ec.hpp:5
__m128i block
Definition: block.h:8
void bn_to_block(block *b, const bn_t bn)
Definition: utils_ec.hpp:1
#define ECC_PACK
Definition: utils_ec.h:9
void initialize_relic()
Definition: utils_ec.hpp:8
block KDF(eb_t in)
Definition: utils_ec.hpp:20
static block hash_for_block(const void *data, int nbyte)
Definition: hash.h:52