Lines Matching refs:ec_sign_context
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()
784 int unsupported_sign_init(struct ec_sign_context * ctx) in unsupported_sign_init()
793 int unsupported_sign_update(struct ec_sign_context * ctx, in unsupported_sign_update()
805 int unsupported_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen) in unsupported_sign_finalize()