X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=ecdsa%2Fecdsa_sign.h;fp=ecdsa%2Fecdsa_sign.h;h=099d48f68a8c3a4f1844ea47bec77f8e23bbf4ff;hp=578461b6a67c690459c62f36c056563f8fa01589;hb=3a9f9d918fb95474996af535c225a7e187d88372;hpb=33d65e8032f77c1cbec1bc99e898affc96966c3c diff --git a/ecdsa/ecdsa_sign.h b/ecdsa/ecdsa_sign.h index 578461b..099d48f 100644 --- a/ecdsa/ecdsa_sign.h +++ b/ecdsa/ecdsa_sign.h @@ -25,19 +25,19 @@ #include "ecdsa.h" #include "hfal-basic.h" -uint8_t ecdsa_signature_alloc(ecdsa_signature_t* s, size_t length_B); +uint8_t ecdsa_signature_alloc(ecdsa_signature_t *s, size_t length_B); -void ecdsa_signature_free(ecdsa_signature_t* s); +void ecdsa_signature_free(ecdsa_signature_t *s); -uint8_t ecdsa_sign_bigint(ecdsa_signature_t* s, const bigint_t* m, - const ecdsa_ctx_t* ctx, const bigint_t* k); +uint8_t ecdsa_sign_bigint(ecdsa_signature_t *s, const bigint_t *m, + const ecdsa_ctx_t *ctx, const bigint_t *k); -uint8_t ecdsa_sign_hash(ecdsa_signature_t* s, const void* hash, - size_t hash_len_B, const ecdsa_ctx_t* ctx, +uint8_t ecdsa_sign_hash(ecdsa_signature_t *s, const void *hash, + size_t hash_len_B, const ecdsa_ctx_t *ctx, const void *rand_in); -uint8_t ecdsa_sign_message(ecdsa_signature_t* s, const void* m, uint16_t m_len_b, - const hfdesc_t* hash_desc, const ecdsa_ctx_t* ctx, +uint8_t ecdsa_sign_message(ecdsa_signature_t *s, const void *m, uint16_t m_len_b, + const hfdesc_t *hash_desc, const ecdsa_ctx_t *ctx, const void *rand_in); #endif /* ECDSA_SIGN_H_ */