Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
belenios
belenios
Commits
15efea94
Commit
15efea94
authored
Mar 26, 2014
by
Stephane Glondu
Browse files
Single parameter for wrapped_pubkey
parent
4cf430ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/serializable.atd
View file @
15efea94
...
...
@@ -61,15 +61,15 @@ type ff_params = {
<doc text="Parameters for a multiplicative subgroup of a finite field.">
(* FIXME: use a "group" field of type 'a *)
type
(
'a
, 'b)
wrapped_pubkey = {
g :
number
;
type 'a wrapped_pubkey = {
g :
'a
;
p : number;
q : number;
y : '
b
;
y : '
a
;
} <ocaml field_prefix="ffpk_">
<doc text="A public key wrapped with its group parameters.">
type ff_pubkey =
(ff_params,
number
)
wrapped_pubkey
type ff_pubkey = number wrapped_pubkey
type question = {
answers : string list <ocaml repr="array">;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment