Home
last modified time | relevance | path

Searched refs:ec_sign_context (Results 1 – 25 of 41) sorted by relevance

12

/freebsd/crypto/libecc/include/libecc/sig/
H A Decsdsa_common.h30 struct ec_sign_context;
37 ATTRIBUTE_WARN_UNUSED_RET int __ecsdsa_sign_init(struct ec_sign_context *ctx,
39 ATTRIBUTE_WARN_UNUSED_RET int __ecsdsa_sign_update(struct ec_sign_context *ctx,
41 ATTRIBUTE_WARN_UNUSED_RET int __ecsdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 sigle…
H A Decrdsa.h58 struct ec_sign_context;
60 ATTRIBUTE_WARN_UNUSED_RET int _ecrdsa_sign_init(struct ec_sign_context *ctx);
62 ATTRIBUTE_WARN_UNUSED_RET int _ecrdsa_sign_update(struct ec_sign_context *ctx,
65 ATTRIBUTE_WARN_UNUSED_RET int _ecrdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen…
H A Decgdsa.h58 struct ec_sign_context;
60 ATTRIBUTE_WARN_UNUSED_RET int _ecgdsa_sign_init(struct ec_sign_context *ctx);
62 ATTRIBUTE_WARN_UNUSED_RET int _ecgdsa_sign_update(struct ec_sign_context *ctx,
65 ATTRIBUTE_WARN_UNUSED_RET int _ecgdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen…
H A Deckcdsa.h57 struct ec_sign_context;
59 ATTRIBUTE_WARN_UNUSED_RET int _eckcdsa_sign_init(struct ec_sign_context *ctx);
61 ATTRIBUTE_WARN_UNUSED_RET int _eckcdsa_sign_update(struct ec_sign_context *ctx,
64 ATTRIBUTE_WARN_UNUSED_RET int _eckcdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 sigle…
H A Dsm2.h50 struct ec_sign_context;
58 ATTRIBUTE_WARN_UNUSED_RET int _sm2_sign_init(struct ec_sign_context *ctx);
60 ATTRIBUTE_WARN_UNUSED_RET int _sm2_sign_update(struct ec_sign_context *ctx,
63 ATTRIBUTE_WARN_UNUSED_RET int _sm2_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen);
H A Decdsa_common.h53 struct ec_sign_context;
59 ATTRIBUTE_WARN_UNUSED_RET int __ecdsa_sign_init(struct ec_sign_context *ctx, ec_alg_type key_type);
61 ATTRIBUTE_WARN_UNUSED_RET int __ecdsa_sign_update(struct ec_sign_context *ctx,
64 ATTRIBUTE_WARN_UNUSED_RET int __ecdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen…
H A Decfsdsa.h55 struct ec_sign_context;
62 ATTRIBUTE_WARN_UNUSED_RET int _ecfsdsa_sign_init(struct ec_sign_context *ctx);
64 ATTRIBUTE_WARN_UNUSED_RET int _ecfsdsa_sign_update(struct ec_sign_context *ctx,
67 ATTRIBUTE_WARN_UNUSED_RET int _ecfsdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 sigle…
H A Dsig_algs.h37 ATTRIBUTE_WARN_UNUSED_RET int ec_sig_ctx_callbacks_sanity_check(const struct ec_sign_context *sig_c…
49 ATTRIBUTE_WARN_UNUSED_RET int _ec_sign_init(struct ec_sign_context *ctx,
55 ATTRIBUTE_WARN_UNUSED_RET int ec_sign_init(struct ec_sign_context *ctx, const ec_key_pair *key_pair,
59 ATTRIBUTE_WARN_UNUSED_RET int ec_sign_update(struct ec_sign_context *ctx, const u8 *chunk, u32 chun…
61 ATTRIBUTE_WARN_UNUSED_RET int ec_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen);
H A Dbign_common.h69 struct ec_sign_context;
75 ATTRIBUTE_WARN_UNUSED_RET int __bign_sign_init(struct ec_sign_context *ctx, ec_alg_type key_type);
77 ATTRIBUTE_WARN_UNUSED_RET int __bign_sign_update(struct ec_sign_context *ctx,
80 ATTRIBUTE_WARN_UNUSED_RET int __bign_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen,…
H A Dbign.h24 ATTRIBUTE_WARN_UNUSED_RET int _bign_sign_init(struct ec_sign_context *ctx);
26 ATTRIBUTE_WARN_UNUSED_RET int _bign_sign_update(struct ec_sign_context *ctx,
29 ATTRIBUTE_WARN_UNUSED_RET int _bign_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen);
H A Ddbign.h24 ATTRIBUTE_WARN_UNUSED_RET int _dbign_sign_init(struct ec_sign_context *ctx);
26 ATTRIBUTE_WARN_UNUSED_RET int _dbign_sign_update(struct ec_sign_context *ctx,
29 ATTRIBUTE_WARN_UNUSED_RET int _dbign_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen);
H A Ddecdsa.h29 ATTRIBUTE_WARN_UNUSED_RET int _decdsa_sign_init(struct ec_sign_context *ctx);
31 ATTRIBUTE_WARN_UNUSED_RET int _decdsa_sign_update(struct ec_sign_context *ctx,
34 ATTRIBUTE_WARN_UNUSED_RET int _decdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen…
H A Decdsa.h29 ATTRIBUTE_WARN_UNUSED_RET int _ecdsa_sign_init(struct ec_sign_context *ctx);
31 ATTRIBUTE_WARN_UNUSED_RET int _ecdsa_sign_update(struct ec_sign_context *ctx,
34 ATTRIBUTE_WARN_UNUSED_RET int _ecdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen);
H A Decosdsa.h53 ATTRIBUTE_WARN_UNUSED_RET int _ecosdsa_sign_init(struct ec_sign_context *ctx);
55 ATTRIBUTE_WARN_UNUSED_RET int _ecosdsa_sign_update(struct ec_sign_context *ctx,
58 ATTRIBUTE_WARN_UNUSED_RET int _ecosdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 sigle…
H A Deddsa.h76 struct ec_sign_context;
83 ATTRIBUTE_WARN_UNUSED_RET int _eddsa_sign_init_pre_hash(struct ec_sign_context *ctx);
85 ATTRIBUTE_WARN_UNUSED_RET int _eddsa_sign_update_pre_hash(struct ec_sign_context *ctx,
88 ATTRIBUTE_WARN_UNUSED_RET int _eddsa_sign_finalize_pre_hash(struct ec_sign_context *ctx,
H A Decsdsa.h58 ATTRIBUTE_WARN_UNUSED_RET int _ecsdsa_sign_init(struct ec_sign_context *ctx);
60 ATTRIBUTE_WARN_UNUSED_RET int _ecsdsa_sign_update(struct ec_sign_context *ctx,
63 ATTRIBUTE_WARN_UNUSED_RET int _ecsdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen…
H A Dsig_algs_internal.h60 ATTRIBUTE_WARN_UNUSED_RET int (*sign_init) (struct ec_sign_context * ctx);
61 ATTRIBUTE_WARN_UNUSED_RET int (*sign_update) (struct ec_sign_context * ctx,
63 ATTRIBUTE_WARN_UNUSED_RET int (*sign_finalize) (struct ec_sign_context * ctx,
155 struct ec_sign_context { struct
172 ATTRIBUTE_WARN_UNUSED_RET static inline int sig_sign_check_initialized(struct ec_sign_context *ctx) in sig_sign_check_initialized() argument
249 ATTRIBUTE_WARN_UNUSED_RET int unsupported_sign_init(struct ec_sign_context * ctx);
250 ATTRIBUTE_WARN_UNUSED_RET int unsupported_sign_update(struct ec_sign_context * ctx,
252 ATTRIBUTE_WARN_UNUSED_RET int unsupported_sign_finalize(struct ec_sign_context * ctx,
H A Dfuzzing_ecrdsa.h23 ATTRIBUTE_WARN_UNUSED_RET int ecrdsa_sign_raw(struct ec_sign_context *ctx, const u8 *input, u8 inpu…
/freebsd/crypto/libecc/src/sig/
H A Decosdsa.c53 int _ecosdsa_sign_init(struct ec_sign_context *ctx) in _ecosdsa_sign_init()
59 int _ecosdsa_sign_update(struct ec_sign_context *ctx, in _ecosdsa_sign_update()
68 int _ecosdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen) in _ecosdsa_sign_finalize()
H A Decsdsa.c53 int _ecsdsa_sign_init(struct ec_sign_context *ctx) in _ecsdsa_sign_init()
59 int _ecsdsa_sign_update(struct ec_sign_context *ctx, in _ecsdsa_sign_update()
66 int _ecsdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen) in _ecsdsa_sign_finalize()
H A Dbign.c41 int _bign_sign_init(struct ec_sign_context *ctx) in _bign_sign_init()
46 int _bign_sign_update(struct ec_sign_context *ctx, in _bign_sign_update()
52 int _bign_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen) in _bign_sign_finalize()
H A Decdsa.c41 int _ecdsa_sign_init(struct ec_sign_context *ctx) in _ecdsa_sign_init()
46 int _ecdsa_sign_update(struct ec_sign_context *ctx, in _ecdsa_sign_update()
52 int _ecdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen) in _ecdsa_sign_finalize()
H A Ddbign.c46 int _dbign_sign_init(struct ec_sign_context *ctx) in _dbign_sign_init()
62 int _dbign_sign_update(struct ec_sign_context *ctx, in _dbign_sign_update()
78 int _dbign_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen) in _dbign_sign_finalize()
H A Ddecdsa.c46 int _decdsa_sign_init(struct ec_sign_context *ctx) in _decdsa_sign_init()
62 int _decdsa_sign_update(struct ec_sign_context *ctx, in _decdsa_sign_update()
78 int _decdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen) in _decdsa_sign_finalize()
H A Dsig_algs.c212 int ec_sig_ctx_callbacks_sanity_check(const struct ec_sign_context *sig_ctx) in ec_sig_ctx_callbacks_sanity_check()
294 int _ec_sign_init(struct ec_sign_context *ctx, in _ec_sign_init()
360 ret = local_memset(ctx, 0, sizeof(struct ec_sign_context)); EG(ret, err); in _ec_sign_init()
378 IGNORE_RET_VAL(local_memset(ctx, 0, sizeof(struct ec_sign_context))); in _ec_sign_init()
388 int ec_sign_init(struct ec_sign_context *ctx, const ec_key_pair *key_pair, in ec_sign_init()
400 int ec_sign_update(struct ec_sign_context *ctx, const u8 *chunk, u32 chunklen) in ec_sign_update()
414 IGNORE_RET_VAL(local_memset(ctx, 0, sizeof(struct ec_sign_context))); in ec_sign_update()
424 int ec_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen) in ec_sign_finalize()
438 IGNORE_RET_VAL(local_memset(ctx, 0, sizeof(struct ec_sign_context))); in ec_sign_finalize()
460 struct ec_sign_context ctx; in generic_ec_sign()
[all …]

12