nilfoundation / crypto3-algebra-marshalling Goto Github PK
View Code? Open in Web Editor NEWMarshalling utilities for Crypto3 Algebraic Operations and Structures Module
License: MIT License
Marshalling utilities for Crypto3 Algebraic Operations and Structures Module
License: MIT License
Update type traits and template parameters.
There is a lot very similar classes curve_element_writer
and curve_element_reader
in
https://github.com/NilFoundation/crypto3-algebra-marshalling/blob/master/include/nil/crypto3/marshalling/algebra/processing/curve_element.hpp
Consider reworking on templates.
Curve element marshalling can be done in different ways. We need to introduce an option or a policy to have the ability to choose it.
Type field_type
and option
are used here and here, but not included.
As a result, if you include this file:
#include "nil/crypto3/marshalling/algebra/inference.hpp"
you will get compilation errors:
.../include/nil/crypto3/marshalling/algebra/inference.hpp:64:40: error: 'option' does not name a type
64 | using default_endianness = option::big_endian;
| ^~~~~~
.../include/nil/crypto3/marshalling/algebra/inference.hpp:67:83: error: 'field_type' was not declared in this scope
67 | using type = typename nil::crypto3::marshalling::types::curve_element<field_type<TEndian>,
| ^~~~~~~~~~
Probably this includes are missing:
#include <nil/marshalling/options.hpp>
#include <nil/marshalling/field_type.hpp>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.