2017-11-27 09:13:12 +04:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
2018-02-06 00:17:03 +04:00
|
|
|
(* Copyright (c) 2014 - 2018. *)
|
2017-11-27 09:13:12 +04:00
|
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
|
|
|
(** Tezos - Ed25519 cryptography *)
|
|
|
|
|
2018-04-05 18:07:05 +04:00
|
|
|
include S.SIGNATURE
|
2018-04-03 13:44:11 +04:00
|
|
|
|
2018-04-05 18:07:05 +04:00
|
|
|
include S.RAW_DATA with type t := t
|
2017-11-27 09:13:12 +04:00
|
|
|
|
|
|
|
module Seed : sig
|
|
|
|
type t
|
|
|
|
val generate : unit -> t
|
|
|
|
val extract : Secret_key.t -> t
|
|
|
|
end
|
|
|
|
|
|
|
|
val generate_seeded_key: Seed.t -> (Public_key_hash.t * Public_key.t * Secret_key.t)
|