/freebsd/crypto/libecc/include/libecc/sig/ |
H A D | ecsdsa_common.h | 30 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 D | ecrdsa.h | 58 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 D | ecgdsa.h | 58 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 D | eckcdsa.h | 57 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 D | sm2.h | 50 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 D | ecdsa_common.h | 53 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 D | ecfsdsa.h | 55 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 D | sig_algs.h | 37 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 D | bign_common.h | 69 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 D | bign.h | 24 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 D | dbign.h | 24 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 D | decdsa.h | 29 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 D | ecdsa.h | 29 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 D | ecosdsa.h | 53 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 D | eddsa.h | 76 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 D | ecsdsa.h | 58 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 D | sig_algs_internal.h | 60 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 D | fuzzing_ecrdsa.h | 23 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 D | ecosdsa.c | 53 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 D | ecsdsa.c | 53 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 D | bign.c | 41 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 D | ecdsa.c | 41 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 D | dbign.c | 46 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 D | decdsa.c | 46 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 D | sig_algs.c | 212 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 …]
|