crypto/libecc/include/libecc/curves/aff_pt.h
105
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_montgomery_check_initialized(aff_pt_montgomery_src_t in);
crypto/libecc/include/libecc/curves/aff_pt.h
106
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_montgomery_init(aff_pt_montgomery_t in, ec_montgomery_crv_src_t curve);
crypto/libecc/include/libecc/curves/aff_pt.h
107
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_montgomery_init_from_coords(aff_pt_montgomery_t in,
crypto/libecc/include/libecc/curves/aff_pt.h
111
ATTRIBUTE_WARN_UNUSED_RET int is_on_montgomery_curve(fp_src_t u, fp_src_t v, ec_montgomery_crv_src_t curve, int *on_curve);
crypto/libecc/include/libecc/curves/aff_pt.h
112
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_montgomery_is_on_curve(aff_pt_montgomery_src_t pt, int *on_curve);
crypto/libecc/include/libecc/curves/aff_pt.h
113
ATTRIBUTE_WARN_UNUSED_RET int ec_montgomery_aff_copy(aff_pt_montgomery_t out, aff_pt_montgomery_src_t in);
crypto/libecc/include/libecc/curves/aff_pt.h
114
ATTRIBUTE_WARN_UNUSED_RET int ec_montgomery_aff_cmp(aff_pt_montgomery_src_t in1, aff_pt_montgomery_src_t in2, int *cmp);
crypto/libecc/include/libecc/curves/aff_pt.h
115
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_montgomery_import_from_buf(aff_pt_montgomery_t pt,
crypto/libecc/include/libecc/curves/aff_pt.h
118
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_montgomery_export_to_buf(aff_pt_montgomery_src_t pt, u8 *pt_buf, u32 pt_buf_len);
crypto/libecc/include/libecc/curves/aff_pt.h
120
ATTRIBUTE_WARN_UNUSED_RET int curve_montgomery_to_shortw(ec_montgomery_crv_src_t montgomery_crv, ec_shortw_crv_t shortw_crv);
crypto/libecc/include/libecc/curves/aff_pt.h
122
ATTRIBUTE_WARN_UNUSED_RET int curve_montgomery_shortw_check(ec_montgomery_crv_src_t montgomery_crv, ec_shortw_crv_src_t shortw_crv);
crypto/libecc/include/libecc/curves/aff_pt.h
123
ATTRIBUTE_WARN_UNUSED_RET int curve_shortw_to_montgomery(ec_shortw_crv_src_t shortw_crv, ec_montgomery_crv_t montgomery_crv, fp_src_t alpha_montgomery, fp_src_t gamma_montgomery);
crypto/libecc/include/libecc/curves/aff_pt.h
126
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_montgomery_to_shortw(aff_pt_montgomery_src_t in_montgomery, ec_shortw_crv_src_t shortw_crv, aff_pt_t out_shortw);
crypto/libecc/include/libecc/curves/aff_pt.h
127
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_shortw_to_montgomery(aff_pt_src_t in_shortw, ec_montgomery_crv_src_t montgomery_crv, aff_pt_montgomery_t out_montgomery);
crypto/libecc/include/libecc/curves/aff_pt.h
131
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_edwards_to_montgomery(aff_pt_edwards_src_t in_edwards, ec_montgomery_crv_src_t montgomery_crv, aff_pt_montgomery_t out_montgomery, fp_src_t alpha);
crypto/libecc/include/libecc/curves/aff_pt.h
132
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_montgomery_to_edwards(aff_pt_montgomery_src_t in_montgomery, ec_edwards_crv_src_t edwards_crv, aff_pt_edwards_t out_edwards, fp_src_t alpha);
crypto/libecc/include/libecc/curves/aff_pt.h
134
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_montgomery_v_from_u(fp_t v1, fp_t v2, fp_src_t u, ec_montgomery_crv_src_t crv);
crypto/libecc/include/libecc/curves/aff_pt.h
35
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_check_initialized(aff_pt_src_t in);
crypto/libecc/include/libecc/curves/aff_pt.h
36
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_init(aff_pt_t in, ec_shortw_crv_src_t curve);
crypto/libecc/include/libecc/curves/aff_pt.h
37
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_init_from_coords(aff_pt_t in,
crypto/libecc/include/libecc/curves/aff_pt.h
41
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_y_from_x(fp_t y1, fp_t y2, fp_src_t x, ec_shortw_crv_src_t curve);
crypto/libecc/include/libecc/curves/aff_pt.h
42
ATTRIBUTE_WARN_UNUSED_RET int is_on_shortw_curve(fp_src_t x, fp_src_t y, ec_shortw_crv_src_t curve, int *on_curve);
crypto/libecc/include/libecc/curves/aff_pt.h
43
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_is_on_curve(aff_pt_src_t pt, int *on_curve);
crypto/libecc/include/libecc/curves/aff_pt.h
44
ATTRIBUTE_WARN_UNUSED_RET int ec_shortw_aff_copy(aff_pt_t out, aff_pt_src_t in);
crypto/libecc/include/libecc/curves/aff_pt.h
45
ATTRIBUTE_WARN_UNUSED_RET int ec_shortw_aff_cmp(aff_pt_src_t in1, aff_pt_src_t in2, int *cmp);
crypto/libecc/include/libecc/curves/aff_pt.h
46
ATTRIBUTE_WARN_UNUSED_RET int ec_shortw_aff_eq_or_opp(aff_pt_src_t in1, aff_pt_src_t in2,
crypto/libecc/include/libecc/curves/aff_pt.h
48
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_import_from_buf(aff_pt_t pt,
crypto/libecc/include/libecc/curves/aff_pt.h
51
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_export_to_buf(aff_pt_src_t pt, u8 *pt_buf, u32 pt_buf_len);
crypto/libecc/include/libecc/curves/aff_pt.h
64
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_edwards_check_initialized(aff_pt_edwards_src_t in);
crypto/libecc/include/libecc/curves/aff_pt.h
65
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_edwards_init(aff_pt_edwards_t in, ec_edwards_crv_src_t curve);
crypto/libecc/include/libecc/curves/aff_pt.h
66
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_edwards_init_from_coords(aff_pt_edwards_t in,
crypto/libecc/include/libecc/curves/aff_pt.h
70
ATTRIBUTE_WARN_UNUSED_RET int is_on_edwards_curve(fp_src_t u, fp_src_t v, ec_edwards_crv_src_t curve, int *on_curve);
crypto/libecc/include/libecc/curves/aff_pt.h
71
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_edwards_is_on_curve(aff_pt_edwards_src_t pt, int *on_curve);
crypto/libecc/include/libecc/curves/aff_pt.h
72
ATTRIBUTE_WARN_UNUSED_RET int ec_edwards_aff_copy(aff_pt_edwards_t out, aff_pt_edwards_src_t in);
crypto/libecc/include/libecc/curves/aff_pt.h
73
ATTRIBUTE_WARN_UNUSED_RET int ec_edwards_aff_cmp(aff_pt_edwards_src_t in1, aff_pt_edwards_src_t in2, int *cmp);
crypto/libecc/include/libecc/curves/aff_pt.h
74
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_edwards_import_from_buf(aff_pt_edwards_t pt,
crypto/libecc/include/libecc/curves/aff_pt.h
77
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_edwards_export_to_buf(aff_pt_edwards_src_t pt, u8 *pt_buf, u32 pt_buf_len);
crypto/libecc/include/libecc/curves/aff_pt.h
79
ATTRIBUTE_WARN_UNUSED_RET int curve_edwards_to_montgomery(ec_edwards_crv_src_t edwards_crv, ec_montgomery_crv_t montgomery_crv, fp_src_t alpha_edwards);
crypto/libecc/include/libecc/curves/aff_pt.h
80
ATTRIBUTE_WARN_UNUSED_RET int curve_edwards_montgomery_check(ec_edwards_crv_src_t edwards_crv, ec_montgomery_crv_src_t montgomery_crv, fp_src_t alpha_edwards);
crypto/libecc/include/libecc/curves/aff_pt.h
82
ATTRIBUTE_WARN_UNUSED_RET int curve_montgomery_to_edwards(ec_montgomery_crv_src_t montgomery_crv, ec_edwards_crv_t edwards_crv, fp_src_t alpha_edwards);
crypto/libecc/include/libecc/curves/aff_pt.h
84
ATTRIBUTE_WARN_UNUSED_RET int curve_edwards_to_shortw(ec_edwards_crv_src_t edwards_crv, ec_shortw_crv_t shortw_crv, fp_src_t alpha_edwards);
crypto/libecc/include/libecc/curves/aff_pt.h
85
ATTRIBUTE_WARN_UNUSED_RET int curve_edwards_shortw_check(ec_edwards_crv_src_t edwards_crv, ec_shortw_crv_src_t shortw_crv, fp_src_t alpha_edwards);
crypto/libecc/include/libecc/curves/aff_pt.h
86
ATTRIBUTE_WARN_UNUSED_RET int curve_shortw_to_edwards(ec_shortw_crv_src_t shortw_crv, ec_edwards_crv_t edwards_crv, fp_src_t alpha_montgomery, fp_src_t gamma_montgomery, fp_src_t alpha_edwards);
crypto/libecc/include/libecc/curves/aff_pt.h
88
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_edwards_to_shortw(aff_pt_edwards_src_t in_edwards, ec_shortw_crv_src_t shortw_crv, aff_pt_t out_shortw, fp_src_t alpha_edwards);
crypto/libecc/include/libecc/curves/aff_pt.h
89
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_shortw_to_edwards(aff_pt_src_t in_shortw, ec_edwards_crv_src_t edwards_crv, aff_pt_edwards_t out_edwards, fp_src_t alpha_edwards);
crypto/libecc/include/libecc/curves/aff_pt.h
91
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_edwards_y_from_x(fp_t y1, fp_t y2, fp_src_t x, ec_edwards_crv_src_t crv);
crypto/libecc/include/libecc/curves/aff_pt.h
92
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_edwards_x_from_y(fp_t x1, fp_t x2, fp_src_t y, ec_edwards_crv_src_t crv);
crypto/libecc/include/libecc/curves/curves.h
21
ATTRIBUTE_WARN_UNUSED_RET int ec_get_curve_params_by_name(const u8 *ec_name, u8 ec_name_len,
crypto/libecc/include/libecc/curves/curves.h
23
ATTRIBUTE_WARN_UNUSED_RET int ec_get_curve_params_by_type(ec_curve_type ec_type,
crypto/libecc/include/libecc/curves/curves.h
25
ATTRIBUTE_WARN_UNUSED_RET int ec_get_curve_type_by_name(const u8 *ec_name, u8 ec_name_len,
crypto/libecc/include/libecc/curves/curves.h
27
ATTRIBUTE_WARN_UNUSED_RET int ec_get_curve_name_by_type(const ec_curve_type ec_type, u8 *out, u8 outlen);
crypto/libecc/include/libecc/curves/curves.h
28
ATTRIBUTE_WARN_UNUSED_RET int ec_check_curve_type_and_name(const ec_curve_type ec_type,
crypto/libecc/include/libecc/curves/ec_edwards.h
35
ATTRIBUTE_WARN_UNUSED_RET int ec_edwards_crv_check_initialized(ec_edwards_crv_src_t crv);
crypto/libecc/include/libecc/curves/ec_edwards.h
36
ATTRIBUTE_WARN_UNUSED_RET int ec_edwards_crv_init(ec_edwards_crv_t crv, fp_src_t a, fp_src_t b, nn_src_t order);
crypto/libecc/include/libecc/curves/ec_montgomery.h
30
ATTRIBUTE_WARN_UNUSED_RET int ec_montgomery_crv_check_initialized(ec_montgomery_crv_src_t crv);
crypto/libecc/include/libecc/curves/ec_montgomery.h
31
ATTRIBUTE_WARN_UNUSED_RET int ec_montgomery_crv_init(ec_montgomery_crv_t crv, fp_src_t a, fp_src_t b, nn_src_t order);
crypto/libecc/include/libecc/curves/ec_params.h
89
ATTRIBUTE_WARN_UNUSED_RET int import_params(ec_params *out_params, const ec_str_params *in_str_params);
crypto/libecc/include/libecc/curves/ec_shortw.h
41
ATTRIBUTE_WARN_UNUSED_RET int ec_shortw_crv_check_initialized(ec_shortw_crv_src_t crv);
crypto/libecc/include/libecc/curves/ec_shortw.h
42
ATTRIBUTE_WARN_UNUSED_RET int ec_shortw_crv_init(ec_shortw_crv_t crv, fp_src_t a, fp_src_t b, nn_src_t order);
crypto/libecc/include/libecc/curves/prj_pt.h
42
ATTRIBUTE_WARN_UNUSED_RET int prj_pt_check_initialized(prj_pt_src_t in);
crypto/libecc/include/libecc/curves/prj_pt.h
43
ATTRIBUTE_WARN_UNUSED_RET int prj_pt_init(prj_pt_t in, ec_shortw_crv_src_t curve);
crypto/libecc/include/libecc/curves/prj_pt.h
44
ATTRIBUTE_WARN_UNUSED_RET int prj_pt_init_from_coords(prj_pt_t in,
crypto/libecc/include/libecc/curves/prj_pt.h
49
ATTRIBUTE_WARN_UNUSED_RET int prj_pt_zero(prj_pt_t out);
crypto/libecc/include/libecc/curves/prj_pt.h
50
ATTRIBUTE_WARN_UNUSED_RET int prj_pt_iszero(prj_pt_src_t in, int *iszero);
crypto/libecc/include/libecc/curves/prj_pt.h
51
ATTRIBUTE_WARN_UNUSED_RET int prj_pt_is_on_curve(prj_pt_src_t in, int *on_curve);
crypto/libecc/include/libecc/curves/prj_pt.h
52
ATTRIBUTE_WARN_UNUSED_RET int prj_pt_copy(prj_pt_t out, prj_pt_src_t in);
crypto/libecc/include/libecc/curves/prj_pt.h
53
ATTRIBUTE_WARN_UNUSED_RET int prj_pt_to_aff(aff_pt_t out, prj_pt_src_t in);
crypto/libecc/include/libecc/curves/prj_pt.h
54
ATTRIBUTE_WARN_UNUSED_RET int prj_pt_unique(prj_pt_t out, prj_pt_src_t in);
crypto/libecc/include/libecc/curves/prj_pt.h
55
ATTRIBUTE_WARN_UNUSED_RET int ec_shortw_aff_to_prj(prj_pt_t out, aff_pt_src_t in);
crypto/libecc/include/libecc/curves/prj_pt.h
56
ATTRIBUTE_WARN_UNUSED_RET int prj_pt_cmp(prj_pt_src_t in1, prj_pt_src_t in2, int *cmp);
crypto/libecc/include/libecc/curves/prj_pt.h
57
ATTRIBUTE_WARN_UNUSED_RET int prj_pt_eq_or_opp(prj_pt_src_t in1, prj_pt_src_t in2, int *eq_or_opp);
crypto/libecc/include/libecc/curves/prj_pt.h
58
ATTRIBUTE_WARN_UNUSED_RET int prj_pt_neg(prj_pt_t out, prj_pt_src_t in);
crypto/libecc/include/libecc/curves/prj_pt.h
59
ATTRIBUTE_WARN_UNUSED_RET int prj_pt_add(prj_pt_t sum, prj_pt_src_t in1, prj_pt_src_t in2);
crypto/libecc/include/libecc/curves/prj_pt.h
60
ATTRIBUTE_WARN_UNUSED_RET int prj_pt_dbl(prj_pt_t dbl, prj_pt_src_t in);
crypto/libecc/include/libecc/curves/prj_pt.h
61
ATTRIBUTE_WARN_UNUSED_RET int prj_pt_mul(prj_pt_t out, nn_src_t m, prj_pt_src_t in);
crypto/libecc/include/libecc/curves/prj_pt.h
62
ATTRIBUTE_WARN_UNUSED_RET int prj_pt_mul_blind(prj_pt_t out, nn_src_t m, prj_pt_src_t in);
crypto/libecc/include/libecc/curves/prj_pt.h
64
ATTRIBUTE_WARN_UNUSED_RET int _prj_pt_unprotected_mult(prj_pt_t out, nn_src_t cofactor, prj_pt_src_t public_in);
crypto/libecc/include/libecc/curves/prj_pt.h
65
ATTRIBUTE_WARN_UNUSED_RET int check_prj_pt_order(prj_pt_src_t in_shortw, nn_src_t in_isorder, prj_pt_sensitivity s, int *check);
crypto/libecc/include/libecc/curves/prj_pt.h
66
ATTRIBUTE_WARN_UNUSED_RET int prj_pt_import_from_buf(prj_pt_t pt,
crypto/libecc/include/libecc/curves/prj_pt.h
69
ATTRIBUTE_WARN_UNUSED_RET int prj_pt_import_from_aff_buf(prj_pt_t pt,
crypto/libecc/include/libecc/curves/prj_pt.h
72
ATTRIBUTE_WARN_UNUSED_RET int prj_pt_export_to_buf(prj_pt_src_t pt, u8 *pt_buf, u32 pt_buf_len);
crypto/libecc/include/libecc/curves/prj_pt.h
73
ATTRIBUTE_WARN_UNUSED_RET int prj_pt_export_to_aff_buf(prj_pt_src_t pt, u8 *pt_buf, u32 pt_buf_len);
crypto/libecc/include/libecc/curves/prj_pt.h
74
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_edwards_to_prj_pt_shortw(aff_pt_edwards_src_t in_edwards,
crypto/libecc/include/libecc/curves/prj_pt.h
77
ATTRIBUTE_WARN_UNUSED_RET int aff_pt_montgomery_to_prj_pt_shortw(aff_pt_montgomery_src_t in_montgomery,
crypto/libecc/include/libecc/curves/prj_pt.h
80
ATTRIBUTE_WARN_UNUSED_RET int prj_pt_shortw_to_aff_pt_edwards(prj_pt_src_t in_shortw,
crypto/libecc/include/libecc/curves/prj_pt.h
84
ATTRIBUTE_WARN_UNUSED_RET int prj_pt_shortw_to_aff_pt_montgomery(prj_pt_src_t in_shortw,
crypto/libecc/include/libecc/ecdh/ecccdh.h
26
ATTRIBUTE_WARN_UNUSED_RET int ecccdh_shared_secret_size(const ec_params *params, u8 *size);
crypto/libecc/include/libecc/ecdh/ecccdh.h
31
ATTRIBUTE_WARN_UNUSED_RET int ecccdh_serialized_pub_key_size(const ec_params *params, u8 *size);
crypto/libecc/include/libecc/ecdh/ecccdh.h
36
ATTRIBUTE_WARN_UNUSED_RET int ecccdh_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv);
crypto/libecc/include/libecc/ecdh/ecccdh.h
41
ATTRIBUTE_WARN_UNUSED_RET int ecccdh_gen_key_pair(ec_key_pair *kp, const ec_params *params);
crypto/libecc/include/libecc/ecdh/ecccdh.h
46
ATTRIBUTE_WARN_UNUSED_RET int ecccdh_import_key_pair_from_priv_key_buf(ec_key_pair *kp, const ec_params *params, const u8 *priv_key_buf, u8 priv_key_buf_len);
crypto/libecc/include/libecc/ecdh/ecccdh.h
51
ATTRIBUTE_WARN_UNUSED_RET int ecccdh_serialize_pub_key(const ec_pub_key *our_pub_key, u8 *buff, u8 buff_len);
crypto/libecc/include/libecc/ecdh/ecccdh.h
59
ATTRIBUTE_WARN_UNUSED_RET int ecccdh_derive_secret(const ec_priv_key *our_priv_key, const u8 *peer_pub_key, u8 peer_pub_key_len, u8 *shared_secret, u8 shared_secret_len);
crypto/libecc/include/libecc/ecdh/x25519_448.h
34
ATTRIBUTE_WARN_UNUSED_RET int x25519(const u8 k[X25519_SIZE], const u8 u[X25519_SIZE], u8 res[X25519_SIZE]);
crypto/libecc/include/libecc/ecdh/x25519_448.h
36
ATTRIBUTE_WARN_UNUSED_RET int x25519_gen_priv_key(u8 priv_key[X25519_SIZE]);
crypto/libecc/include/libecc/ecdh/x25519_448.h
38
ATTRIBUTE_WARN_UNUSED_RET int x25519_init_pub_key(const u8 priv_key[X25519_SIZE], u8 pub_key[X25519_SIZE]);
crypto/libecc/include/libecc/ecdh/x25519_448.h
40
ATTRIBUTE_WARN_UNUSED_RET int x25519_derive_secret(const u8 priv_key[X25519_SIZE], const u8 peer_pub_key[X25519_SIZE], u8 shared_secret[X25519_SIZE]);
crypto/libecc/include/libecc/ecdh/x25519_448.h
51
ATTRIBUTE_WARN_UNUSED_RET int x448(const u8 k[X448_SIZE], const u8 u[X448_SIZE], u8 res[X448_SIZE]);
crypto/libecc/include/libecc/ecdh/x25519_448.h
53
ATTRIBUTE_WARN_UNUSED_RET int x448_gen_priv_key(u8 priv_key[X448_SIZE]);
crypto/libecc/include/libecc/ecdh/x25519_448.h
55
ATTRIBUTE_WARN_UNUSED_RET int x448_init_pub_key(const u8 priv_key[X448_SIZE], u8 pub_key[X448_SIZE]);
crypto/libecc/include/libecc/ecdh/x25519_448.h
57
ATTRIBUTE_WARN_UNUSED_RET int x448_derive_secret(const u8 priv_key[X448_SIZE], const u8 peer_pub_key[X448_SIZE], u8 shared_secret[X448_SIZE]);
crypto/libecc/include/libecc/external_deps/rand.h
20
ATTRIBUTE_WARN_UNUSED_RET int get_random(unsigned char *buf, u16 len);
crypto/libecc/include/libecc/external_deps/time.h
21
ATTRIBUTE_WARN_UNUSED_RET int get_ms_time(u64 *time);
crypto/libecc/include/libecc/fp/fp.h
62
ATTRIBUTE_WARN_UNUSED_RET int fp_ctx_check_initialized(fp_ctx_src_t ctx);
crypto/libecc/include/libecc/fp/fp.h
63
ATTRIBUTE_WARN_UNUSED_RET int fp_ctx_init(fp_ctx_t ctx, nn_src_t p, bitcnt_t p_bitlen,
crypto/libecc/include/libecc/fp/fp.h
67
ATTRIBUTE_WARN_UNUSED_RET int fp_ctx_init_from_p(fp_ctx_t ctx, nn_src_t p);
crypto/libecc/include/libecc/fp/fp.h
82
ATTRIBUTE_WARN_UNUSED_RET int fp_check_initialized(fp_src_t in);
crypto/libecc/include/libecc/fp/fp.h
83
ATTRIBUTE_WARN_UNUSED_RET int fp_init(fp_t A, fp_ctx_src_t fpctx);
crypto/libecc/include/libecc/fp/fp.h
84
ATTRIBUTE_WARN_UNUSED_RET int fp_init_from_buf(fp_t A, fp_ctx_src_t fpctx, const u8 *buf, u16 buflen);
crypto/libecc/include/libecc/fp/fp.h
86
ATTRIBUTE_WARN_UNUSED_RET int fp_set_nn(fp_t out, nn_src_t in);
crypto/libecc/include/libecc/fp/fp.h
87
ATTRIBUTE_WARN_UNUSED_RET int fp_zero(fp_t out);
crypto/libecc/include/libecc/fp/fp.h
88
ATTRIBUTE_WARN_UNUSED_RET int fp_one(fp_t out);
crypto/libecc/include/libecc/fp/fp.h
89
ATTRIBUTE_WARN_UNUSED_RET int fp_set_word_value(fp_t out, word_t val);
crypto/libecc/include/libecc/fp/fp.h
90
ATTRIBUTE_WARN_UNUSED_RET int fp_cmp(fp_src_t in1, fp_src_t in2, int *cmp);
crypto/libecc/include/libecc/fp/fp.h
91
ATTRIBUTE_WARN_UNUSED_RET int fp_iszero(fp_src_t in, int *iszero);
crypto/libecc/include/libecc/fp/fp.h
92
ATTRIBUTE_WARN_UNUSED_RET int fp_copy(fp_t out, fp_src_t in);
crypto/libecc/include/libecc/fp/fp.h
93
ATTRIBUTE_WARN_UNUSED_RET int fp_tabselect(fp_t out, u8 idx, fp_src_t *tab, u8 tabsize);
crypto/libecc/include/libecc/fp/fp.h
94
ATTRIBUTE_WARN_UNUSED_RET int fp_eq_or_opp(fp_src_t in1, fp_src_t in2, int *eq_or_opp);
crypto/libecc/include/libecc/fp/fp.h
95
ATTRIBUTE_WARN_UNUSED_RET int fp_import_from_buf(fp_t out_fp, const u8 *buf, u16 buflen);
crypto/libecc/include/libecc/fp/fp.h
96
ATTRIBUTE_WARN_UNUSED_RET int fp_export_to_buf(u8 *buf, u16 buflen, fp_src_t in_fp);
crypto/libecc/include/libecc/fp/fp_add.h
20
ATTRIBUTE_WARN_UNUSED_RET int fp_add(fp_t out, fp_src_t in1, fp_src_t in2);
crypto/libecc/include/libecc/fp/fp_add.h
21
ATTRIBUTE_WARN_UNUSED_RET int fp_inc(fp_t out, fp_src_t in);
crypto/libecc/include/libecc/fp/fp_add.h
22
ATTRIBUTE_WARN_UNUSED_RET int fp_sub(fp_t out, fp_src_t in1, fp_src_t in2);
crypto/libecc/include/libecc/fp/fp_add.h
23
ATTRIBUTE_WARN_UNUSED_RET int fp_dec(fp_t out, fp_src_t in);
crypto/libecc/include/libecc/fp/fp_add.h
24
ATTRIBUTE_WARN_UNUSED_RET int fp_neg(fp_t out, fp_src_t in);
crypto/libecc/include/libecc/fp/fp_montgomery.h
24
ATTRIBUTE_WARN_UNUSED_RET int fp_add_monty(fp_t out, fp_src_t in1, fp_src_t in2);
crypto/libecc/include/libecc/fp/fp_montgomery.h
25
ATTRIBUTE_WARN_UNUSED_RET int fp_sub_monty(fp_t out, fp_src_t in1, fp_src_t in2);
crypto/libecc/include/libecc/fp/fp_montgomery.h
26
ATTRIBUTE_WARN_UNUSED_RET int fp_mul_monty(fp_t out, fp_src_t in1, fp_src_t in2);
crypto/libecc/include/libecc/fp/fp_montgomery.h
27
ATTRIBUTE_WARN_UNUSED_RET int fp_sqr_monty(fp_t out, fp_src_t in);
crypto/libecc/include/libecc/fp/fp_montgomery.h
28
ATTRIBUTE_WARN_UNUSED_RET int fp_div_monty(fp_t out, fp_src_t in1, fp_src_t in2);
crypto/libecc/include/libecc/fp/fp_mul.h
20
ATTRIBUTE_WARN_UNUSED_RET int fp_mul(fp_t out, fp_src_t in1, fp_src_t in2);
crypto/libecc/include/libecc/fp/fp_mul.h
21
ATTRIBUTE_WARN_UNUSED_RET int fp_sqr(fp_t out, fp_src_t in);
crypto/libecc/include/libecc/fp/fp_mul.h
22
ATTRIBUTE_WARN_UNUSED_RET int fp_inv(fp_t out, fp_src_t in);
crypto/libecc/include/libecc/fp/fp_mul.h
23
ATTRIBUTE_WARN_UNUSED_RET int fp_inv_word(fp_t out, word_t w);
crypto/libecc/include/libecc/fp/fp_mul.h
24
ATTRIBUTE_WARN_UNUSED_RET int fp_div(fp_t out, fp_src_t num, fp_src_t den);
crypto/libecc/include/libecc/fp/fp_mul_redc1.h
20
ATTRIBUTE_WARN_UNUSED_RET int fp_mul_redc1(fp_t out, fp_src_t in1, fp_src_t in2);
crypto/libecc/include/libecc/fp/fp_mul_redc1.h
21
ATTRIBUTE_WARN_UNUSED_RET int fp_sqr_redc1(fp_t out, fp_src_t in);
crypto/libecc/include/libecc/fp/fp_mul_redc1.h
22
ATTRIBUTE_WARN_UNUSED_RET int fp_redcify(fp_t out, fp_src_t in);
crypto/libecc/include/libecc/fp/fp_mul_redc1.h
23
ATTRIBUTE_WARN_UNUSED_RET int fp_unredcify(fp_t out, fp_src_t in);
crypto/libecc/include/libecc/fp/fp_pow.h
20
ATTRIBUTE_WARN_UNUSED_RET int fp_pow(fp_t out, fp_src_t base, nn_src_t exp);
crypto/libecc/include/libecc/fp/fp_rand.h
20
ATTRIBUTE_WARN_UNUSED_RET int fp_get_random(fp_t out, fp_ctx_src_t ctx);
crypto/libecc/include/libecc/fp/fp_sqrt.h
23
ATTRIBUTE_WARN_UNUSED_RET int fp_sqrt(fp_t sqrt1, fp_t sqrt2, fp_src_t n);
crypto/libecc/include/libecc/hash/bash.h
158
ATTRIBUTE_WARN_UNUSED_RET int _bash_init(bash_context *ctx, uint8_t digest_size);
crypto/libecc/include/libecc/hash/bash.h
159
ATTRIBUTE_WARN_UNUSED_RET int _bash_update(bash_context *ctx, const uint8_t *buf, uint32_t buflen);
crypto/libecc/include/libecc/hash/bash.h
160
ATTRIBUTE_WARN_UNUSED_RET int _bash_finalize(bash_context *ctx, uint8_t *output);
crypto/libecc/include/libecc/hash/bash224.h
56
ATTRIBUTE_WARN_UNUSED_RET int bash224_init(bash224_context *ctx);
crypto/libecc/include/libecc/hash/bash224.h
57
ATTRIBUTE_WARN_UNUSED_RET int bash224_update(bash224_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/include/libecc/hash/bash224.h
58
ATTRIBUTE_WARN_UNUSED_RET int bash224_final(bash224_context *ctx, u8 output[BASH224_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/bash224.h
59
ATTRIBUTE_WARN_UNUSED_RET int bash224_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/include/libecc/hash/bash224.h
61
ATTRIBUTE_WARN_UNUSED_RET int bash224(const u8 *input, u32 ilen, u8 output[BASH224_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/bash256.h
56
ATTRIBUTE_WARN_UNUSED_RET int bash256_init(bash256_context *ctx);
crypto/libecc/include/libecc/hash/bash256.h
57
ATTRIBUTE_WARN_UNUSED_RET int bash256_update(bash256_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/include/libecc/hash/bash256.h
58
ATTRIBUTE_WARN_UNUSED_RET int bash256_final(bash256_context *ctx, u8 output[BASH256_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/bash256.h
59
ATTRIBUTE_WARN_UNUSED_RET int bash256_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/include/libecc/hash/bash256.h
61
ATTRIBUTE_WARN_UNUSED_RET int bash256(const u8 *input, u32 ilen, u8 output[BASH256_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/bash384.h
56
ATTRIBUTE_WARN_UNUSED_RET int bash384_init(bash384_context *ctx);
crypto/libecc/include/libecc/hash/bash384.h
57
ATTRIBUTE_WARN_UNUSED_RET int bash384_update(bash384_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/include/libecc/hash/bash384.h
58
ATTRIBUTE_WARN_UNUSED_RET int bash384_final(bash384_context *ctx, u8 output[BASH384_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/bash384.h
59
ATTRIBUTE_WARN_UNUSED_RET int bash384_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/include/libecc/hash/bash384.h
61
ATTRIBUTE_WARN_UNUSED_RET int bash384(const u8 *input, u32 ilen, u8 output[BASH384_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/bash512.h
56
ATTRIBUTE_WARN_UNUSED_RET int bash512_init(bash512_context *ctx);
crypto/libecc/include/libecc/hash/bash512.h
57
ATTRIBUTE_WARN_UNUSED_RET int bash512_update(bash512_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/include/libecc/hash/bash512.h
58
ATTRIBUTE_WARN_UNUSED_RET int bash512_final(bash512_context *ctx, u8 output[BASH512_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/bash512.h
59
ATTRIBUTE_WARN_UNUSED_RET int bash512_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/include/libecc/hash/bash512.h
61
ATTRIBUTE_WARN_UNUSED_RET int bash512(const u8 *input, u32 ilen, u8 output[BASH512_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/belt-hash.h
152
ATTRIBUTE_WARN_UNUSED_RET int belt_init(const u8 *k, u32 k_len, u8 ks[BELT_KEY_SCHED_LEN]);
crypto/libecc/include/libecc/hash/belt-hash.h
156
ATTRIBUTE_WARN_UNUSED_RET int belt_hash_init(belt_hash_context *ctx);
crypto/libecc/include/libecc/hash/belt-hash.h
157
ATTRIBUTE_WARN_UNUSED_RET int belt_hash_update(belt_hash_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/include/libecc/hash/belt-hash.h
158
ATTRIBUTE_WARN_UNUSED_RET int belt_hash_final(belt_hash_context *ctx, u8 output[BELT_HASH_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/belt-hash.h
159
ATTRIBUTE_WARN_UNUSED_RET int belt_hash_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/include/libecc/hash/belt-hash.h
161
ATTRIBUTE_WARN_UNUSED_RET int belt_hash(const u8 *input, u32 ilen, u8 output[BELT_HASH_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/hash_algs.h
127
ATTRIBUTE_WARN_UNUSED_RET int _sha224_init(hash_context * hctx);
crypto/libecc/include/libecc/hash/hash_algs.h
128
ATTRIBUTE_WARN_UNUSED_RET int _sha224_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen);
crypto/libecc/include/libecc/hash/hash_algs.h
129
ATTRIBUTE_WARN_UNUSED_RET int _sha224_final(hash_context * hctx, unsigned char *output);
crypto/libecc/include/libecc/hash/hash_algs.h
132
ATTRIBUTE_WARN_UNUSED_RET int _sha256_init(hash_context * hctx);
crypto/libecc/include/libecc/hash/hash_algs.h
133
ATTRIBUTE_WARN_UNUSED_RET int _sha256_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen);
crypto/libecc/include/libecc/hash/hash_algs.h
134
ATTRIBUTE_WARN_UNUSED_RET int _sha256_final(hash_context * hctx, unsigned char *output);
crypto/libecc/include/libecc/hash/hash_algs.h
137
ATTRIBUTE_WARN_UNUSED_RET int _sha384_init(hash_context * hctx);
crypto/libecc/include/libecc/hash/hash_algs.h
138
ATTRIBUTE_WARN_UNUSED_RET int _sha384_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen);
crypto/libecc/include/libecc/hash/hash_algs.h
139
ATTRIBUTE_WARN_UNUSED_RET int _sha384_final(hash_context * hctx, unsigned char *output);
crypto/libecc/include/libecc/hash/hash_algs.h
142
ATTRIBUTE_WARN_UNUSED_RET int _sha512_init(hash_context * hctx);
crypto/libecc/include/libecc/hash/hash_algs.h
143
ATTRIBUTE_WARN_UNUSED_RET int _sha512_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen);
crypto/libecc/include/libecc/hash/hash_algs.h
144
ATTRIBUTE_WARN_UNUSED_RET int _sha512_final(hash_context * hctx, unsigned char *output);
crypto/libecc/include/libecc/hash/hash_algs.h
147
ATTRIBUTE_WARN_UNUSED_RET int _sha512_224_init(hash_context * hctx);
crypto/libecc/include/libecc/hash/hash_algs.h
148
ATTRIBUTE_WARN_UNUSED_RET int _sha512_224_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen);
crypto/libecc/include/libecc/hash/hash_algs.h
149
ATTRIBUTE_WARN_UNUSED_RET int _sha512_224_final(hash_context * hctx, unsigned char *output);
crypto/libecc/include/libecc/hash/hash_algs.h
152
ATTRIBUTE_WARN_UNUSED_RET int _sha512_256_init(hash_context * hctx);
crypto/libecc/include/libecc/hash/hash_algs.h
153
ATTRIBUTE_WARN_UNUSED_RET int _sha512_256_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen);
crypto/libecc/include/libecc/hash/hash_algs.h
154
ATTRIBUTE_WARN_UNUSED_RET int _sha512_256_final(hash_context * hctx, unsigned char *output);
crypto/libecc/include/libecc/hash/hash_algs.h
157
ATTRIBUTE_WARN_UNUSED_RET int _sha3_224_init(hash_context * hctx);
crypto/libecc/include/libecc/hash/hash_algs.h
158
ATTRIBUTE_WARN_UNUSED_RET int _sha3_224_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen);
crypto/libecc/include/libecc/hash/hash_algs.h
159
ATTRIBUTE_WARN_UNUSED_RET int _sha3_224_final(hash_context * hctx, unsigned char *output);
crypto/libecc/include/libecc/hash/hash_algs.h
162
ATTRIBUTE_WARN_UNUSED_RET int _sha3_256_init(hash_context * hctx);
crypto/libecc/include/libecc/hash/hash_algs.h
163
ATTRIBUTE_WARN_UNUSED_RET int _sha3_256_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen);
crypto/libecc/include/libecc/hash/hash_algs.h
164
ATTRIBUTE_WARN_UNUSED_RET int _sha3_256_final(hash_context * hctx, unsigned char *output);
crypto/libecc/include/libecc/hash/hash_algs.h
167
ATTRIBUTE_WARN_UNUSED_RET int _sha3_384_init(hash_context * hctx);
crypto/libecc/include/libecc/hash/hash_algs.h
168
ATTRIBUTE_WARN_UNUSED_RET int _sha3_384_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen);
crypto/libecc/include/libecc/hash/hash_algs.h
169
ATTRIBUTE_WARN_UNUSED_RET int _sha3_384_final(hash_context * hctx, unsigned char *output);
crypto/libecc/include/libecc/hash/hash_algs.h
172
ATTRIBUTE_WARN_UNUSED_RET int _sha3_512_init(hash_context * hctx);
crypto/libecc/include/libecc/hash/hash_algs.h
173
ATTRIBUTE_WARN_UNUSED_RET int _sha3_512_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen);
crypto/libecc/include/libecc/hash/hash_algs.h
174
ATTRIBUTE_WARN_UNUSED_RET int _sha3_512_final(hash_context * hctx, unsigned char *output);
crypto/libecc/include/libecc/hash/hash_algs.h
177
ATTRIBUTE_WARN_UNUSED_RET int _sm3_init(hash_context * hctx);
crypto/libecc/include/libecc/hash/hash_algs.h
178
ATTRIBUTE_WARN_UNUSED_RET int _sm3_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen);
crypto/libecc/include/libecc/hash/hash_algs.h
179
ATTRIBUTE_WARN_UNUSED_RET int _sm3_final(hash_context * hctx, unsigned char *output);
crypto/libecc/include/libecc/hash/hash_algs.h
182
ATTRIBUTE_WARN_UNUSED_RET int _shake256_init(hash_context * hctx);
crypto/libecc/include/libecc/hash/hash_algs.h
183
ATTRIBUTE_WARN_UNUSED_RET int _shake256_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen);
crypto/libecc/include/libecc/hash/hash_algs.h
184
ATTRIBUTE_WARN_UNUSED_RET int _shake256_final(hash_context * hctx, unsigned char *output);
crypto/libecc/include/libecc/hash/hash_algs.h
187
ATTRIBUTE_WARN_UNUSED_RET int _streebog256_init(hash_context * hctx);
crypto/libecc/include/libecc/hash/hash_algs.h
188
ATTRIBUTE_WARN_UNUSED_RET int _streebog256_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen);
crypto/libecc/include/libecc/hash/hash_algs.h
189
ATTRIBUTE_WARN_UNUSED_RET int _streebog256_final(hash_context * hctx, unsigned char *output);
crypto/libecc/include/libecc/hash/hash_algs.h
192
ATTRIBUTE_WARN_UNUSED_RET int _streebog512_init(hash_context * hctx);
crypto/libecc/include/libecc/hash/hash_algs.h
193
ATTRIBUTE_WARN_UNUSED_RET int _streebog512_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen);
crypto/libecc/include/libecc/hash/hash_algs.h
194
ATTRIBUTE_WARN_UNUSED_RET int _streebog512_final(hash_context * hctx, unsigned char *output);
crypto/libecc/include/libecc/hash/hash_algs.h
197
ATTRIBUTE_WARN_UNUSED_RET int _ripemd160_init(hash_context * hctx);
crypto/libecc/include/libecc/hash/hash_algs.h
198
ATTRIBUTE_WARN_UNUSED_RET int _ripemd160_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen);
crypto/libecc/include/libecc/hash/hash_algs.h
199
ATTRIBUTE_WARN_UNUSED_RET int _ripemd160_final(hash_context * hctx, unsigned char *output);
crypto/libecc/include/libecc/hash/hash_algs.h
202
ATTRIBUTE_WARN_UNUSED_RET int _belt_hash_init(hash_context * hctx);
crypto/libecc/include/libecc/hash/hash_algs.h
203
ATTRIBUTE_WARN_UNUSED_RET int _belt_hash_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen);
crypto/libecc/include/libecc/hash/hash_algs.h
204
ATTRIBUTE_WARN_UNUSED_RET int _belt_hash_final(hash_context * hctx, unsigned char *output);
crypto/libecc/include/libecc/hash/hash_algs.h
207
ATTRIBUTE_WARN_UNUSED_RET int _bash224_init(hash_context * hctx);
crypto/libecc/include/libecc/hash/hash_algs.h
208
ATTRIBUTE_WARN_UNUSED_RET int _bash224_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen);
crypto/libecc/include/libecc/hash/hash_algs.h
209
ATTRIBUTE_WARN_UNUSED_RET int _bash224_final(hash_context * hctx, unsigned char *output);
crypto/libecc/include/libecc/hash/hash_algs.h
212
ATTRIBUTE_WARN_UNUSED_RET int _bash256_init(hash_context * hctx);
crypto/libecc/include/libecc/hash/hash_algs.h
213
ATTRIBUTE_WARN_UNUSED_RET int _bash256_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen);
crypto/libecc/include/libecc/hash/hash_algs.h
214
ATTRIBUTE_WARN_UNUSED_RET int _bash256_final(hash_context * hctx, unsigned char *output);
crypto/libecc/include/libecc/hash/hash_algs.h
217
ATTRIBUTE_WARN_UNUSED_RET int _bash384_init(hash_context * hctx);
crypto/libecc/include/libecc/hash/hash_algs.h
218
ATTRIBUTE_WARN_UNUSED_RET int _bash384_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen);
crypto/libecc/include/libecc/hash/hash_algs.h
219
ATTRIBUTE_WARN_UNUSED_RET int _bash384_final(hash_context * hctx, unsigned char *output);
crypto/libecc/include/libecc/hash/hash_algs.h
222
ATTRIBUTE_WARN_UNUSED_RET int _bash512_init(hash_context * hctx);
crypto/libecc/include/libecc/hash/hash_algs.h
223
ATTRIBUTE_WARN_UNUSED_RET int _bash512_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen);
crypto/libecc/include/libecc/hash/hash_algs.h
224
ATTRIBUTE_WARN_UNUSED_RET int _bash512_final(hash_context * hctx, unsigned char *output);
crypto/libecc/include/libecc/hash/hash_algs.h
237
ATTRIBUTE_WARN_UNUSED_RET _hfunc_init hfunc_init;
crypto/libecc/include/libecc/hash/hash_algs.h
238
ATTRIBUTE_WARN_UNUSED_RET _hfunc_update hfunc_update;
crypto/libecc/include/libecc/hash/hash_algs.h
239
ATTRIBUTE_WARN_UNUSED_RET _hfunc_finalize hfunc_finalize;
crypto/libecc/include/libecc/hash/hash_algs.h
240
ATTRIBUTE_WARN_UNUSED_RET _hfunc_scattered hfunc_scattered;
crypto/libecc/include/libecc/hash/hash_algs.h
243
ATTRIBUTE_WARN_UNUSED_RET static inline int hash_mapping_sanity_check(const hash_mapping *hm)
crypto/libecc/include/libecc/hash/hash_algs.h
549
ATTRIBUTE_WARN_UNUSED_RET int get_hash_by_name(const char *hash_name, const hash_mapping **hm);
crypto/libecc/include/libecc/hash/hash_algs.h
550
ATTRIBUTE_WARN_UNUSED_RET int get_hash_by_type(hash_alg_type hash_type, const hash_mapping **hm);
crypto/libecc/include/libecc/hash/hash_algs.h
551
ATTRIBUTE_WARN_UNUSED_RET int get_hash_sizes(hash_alg_type hash_type, u8 *digest_size, u8 *block_size);
crypto/libecc/include/libecc/hash/hash_algs.h
552
ATTRIBUTE_WARN_UNUSED_RET int hash_mapping_callbacks_sanity_check(const hash_mapping *h);
crypto/libecc/include/libecc/hash/hmac.h
26
ATTRIBUTE_WARN_UNUSED_RET int hmac_init(hmac_context *ctx, const u8 *hmackey, u32 hmackey_len, hash_alg_type hash_type);
crypto/libecc/include/libecc/hash/hmac.h
28
ATTRIBUTE_WARN_UNUSED_RET int hmac_update(hmac_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/include/libecc/hash/hmac.h
30
ATTRIBUTE_WARN_UNUSED_RET int hmac_finalize(hmac_context *ctx, u8 *output, u8 *outlen);
crypto/libecc/include/libecc/hash/hmac.h
32
ATTRIBUTE_WARN_UNUSED_RET int hmac(const u8 *hmackey, u32 hmackey_len, hash_alg_type hash_type, const u8 *input, u32 ilen, u8 *output, u8 *outlen);
crypto/libecc/include/libecc/hash/hmac.h
34
ATTRIBUTE_WARN_UNUSED_RET int hmac_scattered(const u8 *hmackey, u32 hmackey_len, hash_alg_type hash_type, const u8 **inputs, const u32 *ilens, u8 *output, u8 *outlen);
crypto/libecc/include/libecc/hash/ripemd160.h
65
ATTRIBUTE_WARN_UNUSED_RET int ripemd160_init(ripemd160_context *ctx);
crypto/libecc/include/libecc/hash/ripemd160.h
66
ATTRIBUTE_WARN_UNUSED_RET int ripemd160_update(ripemd160_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/include/libecc/hash/ripemd160.h
67
ATTRIBUTE_WARN_UNUSED_RET int ripemd160_final(ripemd160_context *ctx, u8 output[RIPEMD160_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/ripemd160.h
68
ATTRIBUTE_WARN_UNUSED_RET int ripemd160_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/include/libecc/hash/ripemd160.h
70
ATTRIBUTE_WARN_UNUSED_RET int ripemd160(const u8 *input, u32 ilen, u8 output[RIPEMD160_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/sha224.h
71
ATTRIBUTE_WARN_UNUSED_RET int sha224_init(sha224_context *ctx);
crypto/libecc/include/libecc/hash/sha224.h
72
ATTRIBUTE_WARN_UNUSED_RET int sha224_update(sha224_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/include/libecc/hash/sha224.h
73
ATTRIBUTE_WARN_UNUSED_RET int sha224_final(sha224_context *ctx, u8 output[SHA224_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/sha224.h
74
ATTRIBUTE_WARN_UNUSED_RET int sha224_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/include/libecc/hash/sha224.h
76
ATTRIBUTE_WARN_UNUSED_RET int sha224(const u8 *input, u32 ilen, u8 output[SHA224_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/sha256.h
71
ATTRIBUTE_WARN_UNUSED_RET int sha256_init(sha256_context *ctx);
crypto/libecc/include/libecc/hash/sha256.h
72
ATTRIBUTE_WARN_UNUSED_RET int sha256_update(sha256_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/include/libecc/hash/sha256.h
73
ATTRIBUTE_WARN_UNUSED_RET int sha256_final(sha256_context *ctx, u8 output[SHA256_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/sha256.h
74
ATTRIBUTE_WARN_UNUSED_RET int sha256_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/include/libecc/hash/sha256.h
76
ATTRIBUTE_WARN_UNUSED_RET int sha256(const u8 *input, u32 ilen, u8 output[SHA256_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/sha3-224.h
61
ATTRIBUTE_WARN_UNUSED_RET int sha3_224_init(sha3_224_context *ctx);
crypto/libecc/include/libecc/hash/sha3-224.h
62
ATTRIBUTE_WARN_UNUSED_RET int sha3_224_update(sha3_224_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/include/libecc/hash/sha3-224.h
63
ATTRIBUTE_WARN_UNUSED_RET int sha3_224_final(sha3_224_context *ctx, u8 output[SHA3_224_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/sha3-224.h
64
ATTRIBUTE_WARN_UNUSED_RET int sha3_224_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/include/libecc/hash/sha3-224.h
66
ATTRIBUTE_WARN_UNUSED_RET int sha3_224(const u8 *input, u32 ilen, u8 output[SHA3_224_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/sha3-256.h
61
ATTRIBUTE_WARN_UNUSED_RET int sha3_256_init(sha3_256_context *ctx);
crypto/libecc/include/libecc/hash/sha3-256.h
62
ATTRIBUTE_WARN_UNUSED_RET int sha3_256_update(sha3_256_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/include/libecc/hash/sha3-256.h
63
ATTRIBUTE_WARN_UNUSED_RET int sha3_256_final(sha3_256_context *ctx, u8 output[SHA3_256_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/sha3-256.h
64
ATTRIBUTE_WARN_UNUSED_RET int sha3_256_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/include/libecc/hash/sha3-256.h
66
ATTRIBUTE_WARN_UNUSED_RET int sha3_256(const u8 *input, u32 ilen, u8 output[SHA3_256_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/sha3-384.h
61
ATTRIBUTE_WARN_UNUSED_RET int sha3_384_init(sha3_384_context *ctx);
crypto/libecc/include/libecc/hash/sha3-384.h
62
ATTRIBUTE_WARN_UNUSED_RET int sha3_384_update(sha3_384_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/include/libecc/hash/sha3-384.h
63
ATTRIBUTE_WARN_UNUSED_RET int sha3_384_final(sha3_384_context *ctx, u8 output[SHA3_384_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/sha3-384.h
64
ATTRIBUTE_WARN_UNUSED_RET int sha3_384_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/include/libecc/hash/sha3-384.h
66
ATTRIBUTE_WARN_UNUSED_RET int sha3_384(const u8 *input, u32 ilen, u8 output[SHA3_384_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/sha3-512.h
61
ATTRIBUTE_WARN_UNUSED_RET int sha3_512_init(sha3_512_context *ctx);
crypto/libecc/include/libecc/hash/sha3-512.h
62
ATTRIBUTE_WARN_UNUSED_RET int sha3_512_update(sha3_512_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/include/libecc/hash/sha3-512.h
63
ATTRIBUTE_WARN_UNUSED_RET int sha3_512_final(sha3_512_context *ctx, u8 output[SHA3_512_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/sha3-512.h
64
ATTRIBUTE_WARN_UNUSED_RET int sha3_512_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/include/libecc/hash/sha3-512.h
66
ATTRIBUTE_WARN_UNUSED_RET int sha3_512(const u8 *input, u32 ilen, u8 output[SHA3_512_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/sha3.h
42
ATTRIBUTE_WARN_UNUSED_RET int _sha3_init(sha3_context *ctx, u8 digest_size);
crypto/libecc/include/libecc/hash/sha3.h
43
ATTRIBUTE_WARN_UNUSED_RET int _sha3_update(sha3_context *ctx, const u8 *buf, u32 buflen);
crypto/libecc/include/libecc/hash/sha3.h
44
ATTRIBUTE_WARN_UNUSED_RET int _sha3_finalize(sha3_context *ctx, u8 *output);
crypto/libecc/include/libecc/hash/sha384.h
71
ATTRIBUTE_WARN_UNUSED_RET int sha384_init(sha384_context *ctx);
crypto/libecc/include/libecc/hash/sha384.h
72
ATTRIBUTE_WARN_UNUSED_RET int sha384_update(sha384_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/include/libecc/hash/sha384.h
73
ATTRIBUTE_WARN_UNUSED_RET int sha384_final(sha384_context *ctx, u8 output[SHA384_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/sha384.h
74
ATTRIBUTE_WARN_UNUSED_RET int sha384_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/include/libecc/hash/sha384.h
76
ATTRIBUTE_WARN_UNUSED_RET int sha384(const u8 *input, u32 ilen, u8 output[SHA384_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/sha512-224.h
63
ATTRIBUTE_WARN_UNUSED_RET int sha512_224_init(sha512_224_context *ctx);
crypto/libecc/include/libecc/hash/sha512-224.h
64
ATTRIBUTE_WARN_UNUSED_RET int sha512_224_update(sha512_224_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/include/libecc/hash/sha512-224.h
65
ATTRIBUTE_WARN_UNUSED_RET int sha512_224_final(sha512_224_context *ctx, u8 output[SHA512_224_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/sha512-224.h
66
ATTRIBUTE_WARN_UNUSED_RET int sha512_224_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/include/libecc/hash/sha512-224.h
68
ATTRIBUTE_WARN_UNUSED_RET int sha512_224(const u8 *input, u32 ilen, u8 output[SHA512_224_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/sha512-256.h
63
ATTRIBUTE_WARN_UNUSED_RET int sha512_256_init(sha512_256_context *ctx);
crypto/libecc/include/libecc/hash/sha512-256.h
64
ATTRIBUTE_WARN_UNUSED_RET int sha512_256_update(sha512_256_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/include/libecc/hash/sha512-256.h
65
ATTRIBUTE_WARN_UNUSED_RET int sha512_256_final(sha512_256_context *ctx, u8 output[SHA512_256_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/sha512-256.h
66
ATTRIBUTE_WARN_UNUSED_RET int sha512_256_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/include/libecc/hash/sha512-256.h
68
ATTRIBUTE_WARN_UNUSED_RET int sha512_256(const u8 *input, u32 ilen, u8 output[SHA512_256_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/sha512.h
63
ATTRIBUTE_WARN_UNUSED_RET int sha512_init(sha512_context *ctx);
crypto/libecc/include/libecc/hash/sha512.h
64
ATTRIBUTE_WARN_UNUSED_RET int sha512_update(sha512_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/include/libecc/hash/sha512.h
65
ATTRIBUTE_WARN_UNUSED_RET int sha512_final(sha512_context *ctx, u8 output[SHA512_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/sha512.h
66
ATTRIBUTE_WARN_UNUSED_RET int sha512_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/include/libecc/hash/sha512.h
68
ATTRIBUTE_WARN_UNUSED_RET int sha512(const u8 *input, u32 ilen, u8 output[SHA512_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/sha512_core.h
42
ATTRIBUTE_WARN_UNUSED_RET int sha512_core_update(sha512_core_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/include/libecc/hash/sha512_core.h
43
ATTRIBUTE_WARN_UNUSED_RET int sha512_core_final(sha512_core_context *ctx, u8 *output, u32 output_size);
crypto/libecc/include/libecc/hash/shake.h
37
ATTRIBUTE_WARN_UNUSED_RET int _shake_init(shake_context *ctx, u8 digest_size, u8 block_size);
crypto/libecc/include/libecc/hash/shake.h
38
ATTRIBUTE_WARN_UNUSED_RET int _shake_update(shake_context *ctx, const u8 *buf, u32 buflen);
crypto/libecc/include/libecc/hash/shake.h
39
ATTRIBUTE_WARN_UNUSED_RET int _shake_finalize(shake_context *ctx, u8 *output);
crypto/libecc/include/libecc/hash/shake256.h
60
ATTRIBUTE_WARN_UNUSED_RET int shake256_init(shake256_context *ctx);
crypto/libecc/include/libecc/hash/shake256.h
61
ATTRIBUTE_WARN_UNUSED_RET int shake256_update(shake256_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/include/libecc/hash/shake256.h
62
ATTRIBUTE_WARN_UNUSED_RET int shake256_final(shake256_context *ctx, u8 output[SHAKE256_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/shake256.h
63
ATTRIBUTE_WARN_UNUSED_RET int shake256_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/include/libecc/hash/shake256.h
65
ATTRIBUTE_WARN_UNUSED_RET int shake256(const u8 *input, u32 ilen, u8 output[SHAKE256_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/sm3.h
65
ATTRIBUTE_WARN_UNUSED_RET int sm3_init(sm3_context *ctx);
crypto/libecc/include/libecc/hash/sm3.h
66
ATTRIBUTE_WARN_UNUSED_RET int sm3_update(sm3_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/include/libecc/hash/sm3.h
67
ATTRIBUTE_WARN_UNUSED_RET int sm3_final(sm3_context *ctx, u8 output[SM3_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/sm3.h
68
ATTRIBUTE_WARN_UNUSED_RET int sm3_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/include/libecc/hash/sm3.h
70
ATTRIBUTE_WARN_UNUSED_RET int sm3(const u8 *input, u32 ilen, u8 output[SM3_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/streebog.h
1214
ATTRIBUTE_WARN_UNUSED_RET static inline u64 streebog_permute(const u64 in[STREEBOG_BLOCK_U64_SIZE], u8 i)
crypto/libecc/include/libecc/hash/streebog256.h
57
ATTRIBUTE_WARN_UNUSED_RET int streebog256_init(streebog256_context *ctx);
crypto/libecc/include/libecc/hash/streebog256.h
58
ATTRIBUTE_WARN_UNUSED_RET int streebog256_update(streebog256_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/include/libecc/hash/streebog256.h
59
ATTRIBUTE_WARN_UNUSED_RET int streebog256_final(streebog256_context *ctx, u8 output[STREEBOG256_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/streebog256.h
60
ATTRIBUTE_WARN_UNUSED_RET int streebog256_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/include/libecc/hash/streebog256.h
62
ATTRIBUTE_WARN_UNUSED_RET int streebog256(const u8 *input, u32 ilen, u8 output[STREEBOG256_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/streebog512.h
57
ATTRIBUTE_WARN_UNUSED_RET int streebog512_init(streebog512_context *ctx);
crypto/libecc/include/libecc/hash/streebog512.h
58
ATTRIBUTE_WARN_UNUSED_RET int streebog512_update(streebog512_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/include/libecc/hash/streebog512.h
59
ATTRIBUTE_WARN_UNUSED_RET int streebog512_final(streebog512_context *ctx, u8 output[STREEBOG512_DIGEST_SIZE]);
crypto/libecc/include/libecc/hash/streebog512.h
60
ATTRIBUTE_WARN_UNUSED_RET int streebog512_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/include/libecc/hash/streebog512.h
62
ATTRIBUTE_WARN_UNUSED_RET int streebog512(const u8 *input, u32 ilen, u8 output[STREEBOG512_DIGEST_SIZE]);
crypto/libecc/include/libecc/nn/nn.h
76
ATTRIBUTE_WARN_UNUSED_RET int nn_check_initialized(nn_src_t A);
crypto/libecc/include/libecc/nn/nn.h
77
ATTRIBUTE_WARN_UNUSED_RET int nn_is_initialized(nn_src_t A);
crypto/libecc/include/libecc/nn/nn.h
78
ATTRIBUTE_WARN_UNUSED_RET int nn_zero(nn_t A);
crypto/libecc/include/libecc/nn/nn.h
79
ATTRIBUTE_WARN_UNUSED_RET int nn_one(nn_t A);
crypto/libecc/include/libecc/nn/nn.h
80
ATTRIBUTE_WARN_UNUSED_RET int nn_set_word_value(nn_t A, word_t val);
crypto/libecc/include/libecc/nn/nn.h
82
ATTRIBUTE_WARN_UNUSED_RET int nn_init(nn_t A, u16 len);
crypto/libecc/include/libecc/nn/nn.h
83
ATTRIBUTE_WARN_UNUSED_RET int nn_init_from_buf(nn_t A, const u8 *buf, u16 buflen);
crypto/libecc/include/libecc/nn/nn.h
84
ATTRIBUTE_WARN_UNUSED_RET int nn_cnd_swap(int cnd, nn_t in1, nn_t in2);
crypto/libecc/include/libecc/nn/nn.h
85
ATTRIBUTE_WARN_UNUSED_RET int nn_set_wlen(nn_t A, u8 new_wlen);
crypto/libecc/include/libecc/nn/nn.h
86
ATTRIBUTE_WARN_UNUSED_RET int nn_iszero(nn_src_t A, int *iszero);
crypto/libecc/include/libecc/nn/nn.h
87
ATTRIBUTE_WARN_UNUSED_RET int nn_isone(nn_src_t A, int *isone);
crypto/libecc/include/libecc/nn/nn.h
88
ATTRIBUTE_WARN_UNUSED_RET int nn_isodd(nn_src_t A, int *isodd);
crypto/libecc/include/libecc/nn/nn.h
89
ATTRIBUTE_WARN_UNUSED_RET int nn_cmp_word(nn_src_t in, word_t w, int *cmp);
crypto/libecc/include/libecc/nn/nn.h
90
ATTRIBUTE_WARN_UNUSED_RET int nn_cmp(nn_src_t A, nn_src_t B, int *cmp);
crypto/libecc/include/libecc/nn/nn.h
91
ATTRIBUTE_WARN_UNUSED_RET int nn_copy(nn_t dst_nn, nn_src_t src_nn);
crypto/libecc/include/libecc/nn/nn.h
92
ATTRIBUTE_WARN_UNUSED_RET int nn_normalize(nn_t in1);
crypto/libecc/include/libecc/nn/nn.h
93
ATTRIBUTE_WARN_UNUSED_RET int nn_export_to_buf(u8 *buf, u16 buflen, nn_src_t in_nn);
crypto/libecc/include/libecc/nn/nn.h
94
ATTRIBUTE_WARN_UNUSED_RET int nn_tabselect(nn_t out, u8 idx, nn_src_t *tab, u8 tabsize);
crypto/libecc/include/libecc/nn/nn_add.h
20
ATTRIBUTE_WARN_UNUSED_RET int nn_cnd_add(int cnd, nn_t out, nn_src_t in1, nn_src_t in2);
crypto/libecc/include/libecc/nn/nn_add.h
21
ATTRIBUTE_WARN_UNUSED_RET int nn_cnd_sub(int cnd, nn_t out, nn_src_t in1, nn_src_t in2);
crypto/libecc/include/libecc/nn/nn_add.h
22
ATTRIBUTE_WARN_UNUSED_RET int nn_add(nn_t out, nn_src_t in1, nn_src_t in2);
crypto/libecc/include/libecc/nn/nn_add.h
23
ATTRIBUTE_WARN_UNUSED_RET int nn_inc(nn_t out, nn_src_t in1);
crypto/libecc/include/libecc/nn/nn_add.h
24
ATTRIBUTE_WARN_UNUSED_RET int nn_sub(nn_t out, nn_src_t in1, nn_src_t in2);
crypto/libecc/include/libecc/nn/nn_add.h
25
ATTRIBUTE_WARN_UNUSED_RET int nn_dec(nn_t out, nn_src_t in1);
crypto/libecc/include/libecc/nn/nn_add.h
26
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_add(nn_t out, nn_src_t in1, nn_src_t in2, nn_src_t p);
crypto/libecc/include/libecc/nn/nn_add.h
27
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_inc(nn_t out, nn_src_t in1, nn_src_t p);
crypto/libecc/include/libecc/nn/nn_add.h
28
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_sub(nn_t out, nn_src_t in1, nn_src_t in2, nn_src_t p);
crypto/libecc/include/libecc/nn/nn_add.h
29
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_dec(nn_t out, nn_src_t in1, nn_src_t p);
crypto/libecc/include/libecc/nn/nn_add.h
30
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_neg(nn_t out, nn_src_t in, nn_src_t p);
crypto/libecc/include/libecc/nn/nn_div.h
23
ATTRIBUTE_WARN_UNUSED_RET int nn_divrem_notrim(nn_t q, nn_t r, nn_src_t a, nn_src_t b);
crypto/libecc/include/libecc/nn/nn_div.h
24
ATTRIBUTE_WARN_UNUSED_RET int nn_divrem_unshifted(nn_t q, nn_t r, nn_src_t a, nn_src_t b, word_t v,
crypto/libecc/include/libecc/nn/nn_div.h
26
ATTRIBUTE_WARN_UNUSED_RET int nn_divrem_normalized(nn_t q, nn_t r, nn_src_t a, nn_src_t b, word_t v);
crypto/libecc/include/libecc/nn/nn_div.h
30
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_notrim(nn_t r, nn_src_t a, nn_src_t b);
crypto/libecc/include/libecc/nn/nn_div.h
31
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_unshifted(nn_t r, nn_src_t a, nn_src_t b, word_t v, bitcnt_t cnt);
crypto/libecc/include/libecc/nn/nn_div.h
32
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_normalized(nn_t r, nn_src_t a, nn_src_t b, word_t v);
crypto/libecc/include/libecc/nn/nn_div.h
35
ATTRIBUTE_WARN_UNUSED_RET int wreciprocal(word_t dh, word_t dl, word_t *reciprocal);
crypto/libecc/include/libecc/nn/nn_div.h
36
ATTRIBUTE_WARN_UNUSED_RET int nn_compute_div_coefs(nn_t p_normalized, word_t *p_shift,
crypto/libecc/include/libecc/nn/nn_div_public.h
21
ATTRIBUTE_WARN_UNUSED_RET int nn_divrem(nn_t q, nn_t r, nn_src_t a, nn_src_t b);
crypto/libecc/include/libecc/nn/nn_div_public.h
24
ATTRIBUTE_WARN_UNUSED_RET int nn_mod(nn_t r, nn_src_t a, nn_src_t b);
crypto/libecc/include/libecc/nn/nn_div_public.h
27
ATTRIBUTE_WARN_UNUSED_RET int nn_gcd(nn_t d, nn_src_t a, nn_src_t b, int *sign);
crypto/libecc/include/libecc/nn/nn_div_public.h
28
ATTRIBUTE_WARN_UNUSED_RET int nn_xgcd(nn_t g, nn_t u, nn_t v, nn_src_t a, nn_src_t b, int *sign);
crypto/libecc/include/libecc/nn/nn_logical.h
20
ATTRIBUTE_WARN_UNUSED_RET int nn_rshift_fixedlen(nn_t out, nn_src_t in, bitcnt_t cnt);
crypto/libecc/include/libecc/nn/nn_logical.h
21
ATTRIBUTE_WARN_UNUSED_RET int nn_rshift(nn_t out, nn_src_t in, bitcnt_t cnt);
crypto/libecc/include/libecc/nn/nn_logical.h
22
ATTRIBUTE_WARN_UNUSED_RET int nn_lshift_fixedlen(nn_t out, nn_src_t in, bitcnt_t cnt);
crypto/libecc/include/libecc/nn/nn_logical.h
23
ATTRIBUTE_WARN_UNUSED_RET int nn_lshift(nn_t out, nn_src_t in, bitcnt_t cnt);
crypto/libecc/include/libecc/nn/nn_logical.h
24
ATTRIBUTE_WARN_UNUSED_RET int nn_rrot(nn_t out, nn_src_t in, bitcnt_t cnt, bitcnt_t bitlen);
crypto/libecc/include/libecc/nn/nn_logical.h
25
ATTRIBUTE_WARN_UNUSED_RET int nn_lrot(nn_t out, nn_src_t in, bitcnt_t cnt, bitcnt_t bitlen);
crypto/libecc/include/libecc/nn/nn_logical.h
26
ATTRIBUTE_WARN_UNUSED_RET int nn_xor(nn_t B, nn_src_t C, nn_src_t A);
crypto/libecc/include/libecc/nn/nn_logical.h
27
ATTRIBUTE_WARN_UNUSED_RET int nn_or(nn_t B, nn_src_t C, nn_src_t A);
crypto/libecc/include/libecc/nn/nn_logical.h
28
ATTRIBUTE_WARN_UNUSED_RET int nn_and(nn_t B, nn_src_t C, nn_src_t A);
crypto/libecc/include/libecc/nn/nn_logical.h
29
ATTRIBUTE_WARN_UNUSED_RET int nn_not(nn_t B, nn_src_t A);
crypto/libecc/include/libecc/nn/nn_logical.h
30
ATTRIBUTE_WARN_UNUSED_RET int nn_clz(nn_src_t A, bitcnt_t *lz);
crypto/libecc/include/libecc/nn/nn_logical.h
31
ATTRIBUTE_WARN_UNUSED_RET int nn_bitlen(nn_src_t A, bitcnt_t *blen);
crypto/libecc/include/libecc/nn/nn_logical.h
32
ATTRIBUTE_WARN_UNUSED_RET int nn_getbit(nn_src_t in, bitcnt_t bit, u8 *bitval);
crypto/libecc/include/libecc/nn/nn_mod_pow.h
20
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_pow_redc(nn_t out, nn_src_t base, nn_src_t exp, nn_src_t mod, nn_src_t r, nn_src_t r_square, word_t mpinv);
crypto/libecc/include/libecc/nn/nn_mod_pow.h
21
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_pow(nn_t out, nn_src_t base, nn_src_t exp, nn_src_t mod);
crypto/libecc/include/libecc/nn/nn_modinv.h
20
ATTRIBUTE_WARN_UNUSED_RET int nn_modinv(nn_t out, nn_src_t x, nn_src_t m);
crypto/libecc/include/libecc/nn/nn_modinv.h
21
ATTRIBUTE_WARN_UNUSED_RET int nn_modinv_2exp(nn_t out, nn_src_t in, bitcnt_t exp, int *in_isodd);
crypto/libecc/include/libecc/nn/nn_modinv.h
22
ATTRIBUTE_WARN_UNUSED_RET int nn_modinv_word(nn_t out, word_t w, nn_src_t m);
crypto/libecc/include/libecc/nn/nn_modinv.h
23
ATTRIBUTE_WARN_UNUSED_RET int nn_modinv_fermat(nn_t out, nn_src_t x, nn_src_t p);
crypto/libecc/include/libecc/nn/nn_modinv.h
24
ATTRIBUTE_WARN_UNUSED_RET int nn_modinv_fermat_redc(nn_t out, nn_src_t x, nn_src_t p, nn_src_t r, nn_src_t r_square, word_t mpinv);
crypto/libecc/include/libecc/nn/nn_mul.h
21
ATTRIBUTE_WARN_UNUSED_RET int nn_mul_low(nn_t out, nn_src_t in1, nn_src_t in2, u8 wlimit);
crypto/libecc/include/libecc/nn/nn_mul.h
22
ATTRIBUTE_WARN_UNUSED_RET int nn_sqr_low(nn_t out, nn_src_t in, u8 wlimit);
crypto/libecc/include/libecc/nn/nn_mul_public.h
20
ATTRIBUTE_WARN_UNUSED_RET int nn_mul(nn_t out, nn_src_t in1, nn_src_t in2);
crypto/libecc/include/libecc/nn/nn_mul_public.h
21
ATTRIBUTE_WARN_UNUSED_RET int nn_sqr(nn_t out, nn_src_t in);
crypto/libecc/include/libecc/nn/nn_mul_public.h
22
ATTRIBUTE_WARN_UNUSED_RET int nn_mul_word(nn_t out, nn_src_t in, word_t w);
crypto/libecc/include/libecc/nn/nn_mul_redc1.h
20
ATTRIBUTE_WARN_UNUSED_RET int nn_compute_redc1_coefs(nn_t r, nn_t r_square, nn_src_t p_in,
crypto/libecc/include/libecc/nn/nn_mul_redc1.h
22
ATTRIBUTE_WARN_UNUSED_RET int nn_mul_redc1(nn_t out, nn_src_t in1, nn_src_t in2, nn_src_t p,
crypto/libecc/include/libecc/nn/nn_mul_redc1.h
24
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_mul(nn_t out, nn_src_t in1, nn_src_t in2, nn_src_t p);
crypto/libecc/include/libecc/nn/nn_rand.h
20
ATTRIBUTE_WARN_UNUSED_RET int nn_get_random_len(nn_t out, u16 len);
crypto/libecc/include/libecc/nn/nn_rand.h
21
ATTRIBUTE_WARN_UNUSED_RET int nn_get_random_maxlen(nn_t out, u16 max_len);
crypto/libecc/include/libecc/nn/nn_rand.h
22
ATTRIBUTE_WARN_UNUSED_RET int nn_get_random_mod(nn_t out, nn_src_t q);
crypto/libecc/include/libecc/sig/bign.h
20
ATTRIBUTE_WARN_UNUSED_RET int bign_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv);
crypto/libecc/include/libecc/sig/bign.h
22
ATTRIBUTE_WARN_UNUSED_RET int bign_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen);
crypto/libecc/include/libecc/sig/bign.h
24
ATTRIBUTE_WARN_UNUSED_RET int _bign_sign_init(struct ec_sign_context *ctx);
crypto/libecc/include/libecc/sig/bign.h
26
ATTRIBUTE_WARN_UNUSED_RET int _bign_sign_update(struct ec_sign_context *ctx,
crypto/libecc/include/libecc/sig/bign.h
29
ATTRIBUTE_WARN_UNUSED_RET int _bign_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen);
crypto/libecc/include/libecc/sig/bign.h
31
ATTRIBUTE_WARN_UNUSED_RET int _bign_verify_init(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/bign.h
34
ATTRIBUTE_WARN_UNUSED_RET int _bign_verify_update(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/bign.h
37
ATTRIBUTE_WARN_UNUSED_RET int _bign_verify_finalize(struct ec_verify_context *ctx);
crypto/libecc/include/libecc/sig/bign_common.h
71
ATTRIBUTE_WARN_UNUSED_RET int __bign_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv, ec_alg_type key_type);
crypto/libecc/include/libecc/sig/bign_common.h
73
ATTRIBUTE_WARN_UNUSED_RET int __bign_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen);
crypto/libecc/include/libecc/sig/bign_common.h
75
ATTRIBUTE_WARN_UNUSED_RET int __bign_sign_init(struct ec_sign_context *ctx, ec_alg_type key_type);
crypto/libecc/include/libecc/sig/bign_common.h
77
ATTRIBUTE_WARN_UNUSED_RET int __bign_sign_update(struct ec_sign_context *ctx,
crypto/libecc/include/libecc/sig/bign_common.h
80
ATTRIBUTE_WARN_UNUSED_RET int __bign_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen, ec_alg_type key_type);
crypto/libecc/include/libecc/sig/bign_common.h
92
ATTRIBUTE_WARN_UNUSED_RET int __bign_verify_init(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/bign_common.h
95
ATTRIBUTE_WARN_UNUSED_RET int __bign_verify_update(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/bign_common.h
98
ATTRIBUTE_WARN_UNUSED_RET int __bign_verify_finalize(struct ec_verify_context *ctx, ec_alg_type key_type);
crypto/libecc/include/libecc/sig/bip0340.h
42
ATTRIBUTE_WARN_UNUSED_RET int bip0340_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv);
crypto/libecc/include/libecc/sig/bip0340.h
44
ATTRIBUTE_WARN_UNUSED_RET int bip0340_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize,
crypto/libecc/include/libecc/sig/bip0340.h
47
ATTRIBUTE_WARN_UNUSED_RET int _bip0340_sign(u8 *sig, u8 siglen, const ec_key_pair *key_pair,
crypto/libecc/include/libecc/sig/bip0340.h
59
ATTRIBUTE_WARN_UNUSED_RET int _bip0340_verify_init(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/bip0340.h
62
ATTRIBUTE_WARN_UNUSED_RET int _bip0340_verify_update(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/bip0340.h
65
ATTRIBUTE_WARN_UNUSED_RET int _bip0340_verify_finalize(struct ec_verify_context *ctx);
crypto/libecc/include/libecc/sig/bip0340.h
67
ATTRIBUTE_WARN_UNUSED_RET int bip0340_verify_batch(const u8 **s, const u8 *s_len, const ec_pub_key **pub_keys,
crypto/libecc/include/libecc/sig/dbign.h
20
ATTRIBUTE_WARN_UNUSED_RET int dbign_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv);
crypto/libecc/include/libecc/sig/dbign.h
22
ATTRIBUTE_WARN_UNUSED_RET int dbign_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen);
crypto/libecc/include/libecc/sig/dbign.h
24
ATTRIBUTE_WARN_UNUSED_RET int _dbign_sign_init(struct ec_sign_context *ctx);
crypto/libecc/include/libecc/sig/dbign.h
26
ATTRIBUTE_WARN_UNUSED_RET int _dbign_sign_update(struct ec_sign_context *ctx,
crypto/libecc/include/libecc/sig/dbign.h
29
ATTRIBUTE_WARN_UNUSED_RET int _dbign_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen);
crypto/libecc/include/libecc/sig/dbign.h
31
ATTRIBUTE_WARN_UNUSED_RET int _dbign_verify_init(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/dbign.h
34
ATTRIBUTE_WARN_UNUSED_RET int _dbign_verify_update(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/dbign.h
37
ATTRIBUTE_WARN_UNUSED_RET int _dbign_verify_finalize(struct ec_verify_context *ctx);
crypto/libecc/include/libecc/sig/decdsa.h
25
ATTRIBUTE_WARN_UNUSED_RET int decdsa_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv);
crypto/libecc/include/libecc/sig/decdsa.h
27
ATTRIBUTE_WARN_UNUSED_RET int decdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen);
crypto/libecc/include/libecc/sig/decdsa.h
29
ATTRIBUTE_WARN_UNUSED_RET int _decdsa_sign_init(struct ec_sign_context *ctx);
crypto/libecc/include/libecc/sig/decdsa.h
31
ATTRIBUTE_WARN_UNUSED_RET int _decdsa_sign_update(struct ec_sign_context *ctx,
crypto/libecc/include/libecc/sig/decdsa.h
34
ATTRIBUTE_WARN_UNUSED_RET int _decdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen);
crypto/libecc/include/libecc/sig/decdsa.h
36
ATTRIBUTE_WARN_UNUSED_RET int _decdsa_verify_init(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/decdsa.h
39
ATTRIBUTE_WARN_UNUSED_RET int _decdsa_verify_update(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/decdsa.h
42
ATTRIBUTE_WARN_UNUSED_RET int _decdsa_verify_finalize(struct ec_verify_context *ctx);
crypto/libecc/include/libecc/sig/decdsa.h
44
ATTRIBUTE_WARN_UNUSED_RET int decdsa_public_key_from_sig(ec_pub_key *out_pub1, ec_pub_key *out_pub2, const ec_params *params,
crypto/libecc/include/libecc/sig/ec_key.h
103
ATTRIBUTE_WARN_UNUSED_RET int ec_priv_key_export_to_buf(const ec_priv_key *priv_key, u8 *priv_key_buf,
crypto/libecc/include/libecc/sig/ec_key.h
106
ATTRIBUTE_WARN_UNUSED_RET int ec_structured_priv_key_import_from_buf(ec_priv_key *priv_key,
crypto/libecc/include/libecc/sig/ec_key.h
111
ATTRIBUTE_WARN_UNUSED_RET int ec_structured_priv_key_export_to_buf(const ec_priv_key *priv_key,
crypto/libecc/include/libecc/sig/ec_key.h
145
ATTRIBUTE_WARN_UNUSED_RET int pub_key_check_initialized(const ec_pub_key *A);
crypto/libecc/include/libecc/sig/ec_key.h
146
ATTRIBUTE_WARN_UNUSED_RET int pub_key_check_initialized_and_type(const ec_pub_key *A,
crypto/libecc/include/libecc/sig/ec_key.h
149
ATTRIBUTE_WARN_UNUSED_RET int ec_pub_key_import_from_buf(ec_pub_key *pub_key, const ec_params *params,
crypto/libecc/include/libecc/sig/ec_key.h
152
ATTRIBUTE_WARN_UNUSED_RET int ec_pub_key_export_to_buf(const ec_pub_key *pub_key, u8 *pub_key_buf,
crypto/libecc/include/libecc/sig/ec_key.h
155
ATTRIBUTE_WARN_UNUSED_RET int ec_pub_key_import_from_aff_buf(ec_pub_key *pub_key, const ec_params *params,
crypto/libecc/include/libecc/sig/ec_key.h
159
ATTRIBUTE_WARN_UNUSED_RET int ec_pub_key_export_to_aff_buf(const ec_pub_key *pub_key, u8 *pub_key_buf,
crypto/libecc/include/libecc/sig/ec_key.h
162
ATTRIBUTE_WARN_UNUSED_RET int ec_structured_pub_key_import_from_buf(ec_pub_key *pub_key,
crypto/libecc/include/libecc/sig/ec_key.h
167
ATTRIBUTE_WARN_UNUSED_RET int ec_structured_pub_key_export_to_buf(const ec_pub_key *pub_key,
crypto/libecc/include/libecc/sig/ec_key.h
179
ATTRIBUTE_WARN_UNUSED_RET int key_pair_check_initialized(const ec_key_pair *A);
crypto/libecc/include/libecc/sig/ec_key.h
181
ATTRIBUTE_WARN_UNUSED_RET int key_pair_check_initialized_and_type(const ec_key_pair *A,
crypto/libecc/include/libecc/sig/ec_key.h
184
ATTRIBUTE_WARN_UNUSED_RET int ec_key_pair_import_from_priv_key_buf(ec_key_pair *kp,
crypto/libecc/include/libecc/sig/ec_key.h
188
ATTRIBUTE_WARN_UNUSED_RET int ec_key_pair_gen(ec_key_pair *kp, const ec_params *params,
crypto/libecc/include/libecc/sig/ec_key.h
191
ATTRIBUTE_WARN_UNUSED_RET int ec_structured_key_pair_import_from_priv_key_buf(ec_key_pair *kp,
crypto/libecc/include/libecc/sig/ec_key.h
206
ATTRIBUTE_WARN_UNUSED_RET int ec_structured_key_pair_import_from_buf(ec_key_pair *kp,
crypto/libecc/include/libecc/sig/ec_key.h
214
ATTRIBUTE_WARN_UNUSED_RET int generic_gen_priv_key(ec_priv_key *priv_key);
crypto/libecc/include/libecc/sig/ec_key.h
95
ATTRIBUTE_WARN_UNUSED_RET int priv_key_check_initialized(const ec_priv_key *A);
crypto/libecc/include/libecc/sig/ec_key.h
96
ATTRIBUTE_WARN_UNUSED_RET int priv_key_check_initialized_and_type(const ec_priv_key *A,
crypto/libecc/include/libecc/sig/ec_key.h
99
ATTRIBUTE_WARN_UNUSED_RET int ec_priv_key_import_from_buf(ec_priv_key *priv_key,
crypto/libecc/include/libecc/sig/ecdsa.h
25
ATTRIBUTE_WARN_UNUSED_RET int ecdsa_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv);
crypto/libecc/include/libecc/sig/ecdsa.h
27
ATTRIBUTE_WARN_UNUSED_RET int ecdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen);
crypto/libecc/include/libecc/sig/ecdsa.h
29
ATTRIBUTE_WARN_UNUSED_RET int _ecdsa_sign_init(struct ec_sign_context *ctx);
crypto/libecc/include/libecc/sig/ecdsa.h
31
ATTRIBUTE_WARN_UNUSED_RET int _ecdsa_sign_update(struct ec_sign_context *ctx,
crypto/libecc/include/libecc/sig/ecdsa.h
34
ATTRIBUTE_WARN_UNUSED_RET int _ecdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen);
crypto/libecc/include/libecc/sig/ecdsa.h
36
ATTRIBUTE_WARN_UNUSED_RET int _ecdsa_verify_init(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/ecdsa.h
39
ATTRIBUTE_WARN_UNUSED_RET int _ecdsa_verify_update(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/ecdsa.h
42
ATTRIBUTE_WARN_UNUSED_RET int _ecdsa_verify_finalize(struct ec_verify_context *ctx);
crypto/libecc/include/libecc/sig/ecdsa.h
44
ATTRIBUTE_WARN_UNUSED_RET int ecdsa_public_key_from_sig(ec_pub_key *out_pub1, ec_pub_key *out_pub2, const ec_params *params,
crypto/libecc/include/libecc/sig/ecdsa_common.h
55
ATTRIBUTE_WARN_UNUSED_RET int __ecdsa_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv, ec_alg_type key_type);
crypto/libecc/include/libecc/sig/ecdsa_common.h
57
ATTRIBUTE_WARN_UNUSED_RET int __ecdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen);
crypto/libecc/include/libecc/sig/ecdsa_common.h
59
ATTRIBUTE_WARN_UNUSED_RET int __ecdsa_sign_init(struct ec_sign_context *ctx, ec_alg_type key_type);
crypto/libecc/include/libecc/sig/ecdsa_common.h
61
ATTRIBUTE_WARN_UNUSED_RET int __ecdsa_sign_update(struct ec_sign_context *ctx,
crypto/libecc/include/libecc/sig/ecdsa_common.h
64
ATTRIBUTE_WARN_UNUSED_RET int __ecdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen, ec_alg_type key_type);
crypto/libecc/include/libecc/sig/ecdsa_common.h
75
ATTRIBUTE_WARN_UNUSED_RET int __ecdsa_verify_init(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/ecdsa_common.h
78
ATTRIBUTE_WARN_UNUSED_RET int __ecdsa_verify_update(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/ecdsa_common.h
81
ATTRIBUTE_WARN_UNUSED_RET int __ecdsa_verify_finalize(struct ec_verify_context *ctx, ec_alg_type key_type);
crypto/libecc/include/libecc/sig/ecdsa_common.h
83
ATTRIBUTE_WARN_UNUSED_RET int __ecdsa_public_key_from_sig(ec_pub_key *out_pub1, ec_pub_key *out_pub2, const ec_params *params,
crypto/libecc/include/libecc/sig/ecfsdsa.h
57
ATTRIBUTE_WARN_UNUSED_RET int ecfsdsa_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv);
crypto/libecc/include/libecc/sig/ecfsdsa.h
59
ATTRIBUTE_WARN_UNUSED_RET int ecfsdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize,
crypto/libecc/include/libecc/sig/ecfsdsa.h
62
ATTRIBUTE_WARN_UNUSED_RET int _ecfsdsa_sign_init(struct ec_sign_context *ctx);
crypto/libecc/include/libecc/sig/ecfsdsa.h
64
ATTRIBUTE_WARN_UNUSED_RET int _ecfsdsa_sign_update(struct ec_sign_context *ctx,
crypto/libecc/include/libecc/sig/ecfsdsa.h
67
ATTRIBUTE_WARN_UNUSED_RET int _ecfsdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen);
crypto/libecc/include/libecc/sig/ecfsdsa.h
78
ATTRIBUTE_WARN_UNUSED_RET int _ecfsdsa_verify_init(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/ecfsdsa.h
81
ATTRIBUTE_WARN_UNUSED_RET int _ecfsdsa_verify_update(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/ecfsdsa.h
84
ATTRIBUTE_WARN_UNUSED_RET int _ecfsdsa_verify_finalize(struct ec_verify_context *ctx);
crypto/libecc/include/libecc/sig/ecfsdsa.h
87
ATTRIBUTE_WARN_UNUSED_RET int ecfsdsa_verify_batch(const u8 **s, const u8 *s_len, const ec_pub_key **pub_keys,
crypto/libecc/include/libecc/sig/ecgdsa.h
48
ATTRIBUTE_WARN_UNUSED_RET int ecgdsa_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv);
crypto/libecc/include/libecc/sig/ecgdsa.h
50
ATTRIBUTE_WARN_UNUSED_RET int ecgdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize,
crypto/libecc/include/libecc/sig/ecgdsa.h
60
ATTRIBUTE_WARN_UNUSED_RET int _ecgdsa_sign_init(struct ec_sign_context *ctx);
crypto/libecc/include/libecc/sig/ecgdsa.h
62
ATTRIBUTE_WARN_UNUSED_RET int _ecgdsa_sign_update(struct ec_sign_context *ctx,
crypto/libecc/include/libecc/sig/ecgdsa.h
65
ATTRIBUTE_WARN_UNUSED_RET int _ecgdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen);
crypto/libecc/include/libecc/sig/ecgdsa.h
76
ATTRIBUTE_WARN_UNUSED_RET int _ecgdsa_verify_init(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/ecgdsa.h
79
ATTRIBUTE_WARN_UNUSED_RET int _ecgdsa_verify_update(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/ecgdsa.h
82
ATTRIBUTE_WARN_UNUSED_RET int _ecgdsa_verify_finalize(struct ec_verify_context *ctx);
crypto/libecc/include/libecc/sig/eckcdsa.h
47
ATTRIBUTE_WARN_UNUSED_RET int eckcdsa_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv);
crypto/libecc/include/libecc/sig/eckcdsa.h
49
ATTRIBUTE_WARN_UNUSED_RET int eckcdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize,
crypto/libecc/include/libecc/sig/eckcdsa.h
59
ATTRIBUTE_WARN_UNUSED_RET int _eckcdsa_sign_init(struct ec_sign_context *ctx);
crypto/libecc/include/libecc/sig/eckcdsa.h
61
ATTRIBUTE_WARN_UNUSED_RET int _eckcdsa_sign_update(struct ec_sign_context *ctx,
crypto/libecc/include/libecc/sig/eckcdsa.h
64
ATTRIBUTE_WARN_UNUSED_RET int _eckcdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen);
crypto/libecc/include/libecc/sig/eckcdsa.h
75
ATTRIBUTE_WARN_UNUSED_RET int _eckcdsa_verify_init(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/eckcdsa.h
78
ATTRIBUTE_WARN_UNUSED_RET int _eckcdsa_verify_update(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/eckcdsa.h
81
ATTRIBUTE_WARN_UNUSED_RET int _eckcdsa_verify_finalize(struct ec_verify_context *ctx);
crypto/libecc/include/libecc/sig/ecosdsa.h
48
ATTRIBUTE_WARN_UNUSED_RET int ecosdsa_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv);
crypto/libecc/include/libecc/sig/ecosdsa.h
50
ATTRIBUTE_WARN_UNUSED_RET int ecosdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize,
crypto/libecc/include/libecc/sig/ecosdsa.h
53
ATTRIBUTE_WARN_UNUSED_RET int _ecosdsa_sign_init(struct ec_sign_context *ctx);
crypto/libecc/include/libecc/sig/ecosdsa.h
55
ATTRIBUTE_WARN_UNUSED_RET int _ecosdsa_sign_update(struct ec_sign_context *ctx,
crypto/libecc/include/libecc/sig/ecosdsa.h
58
ATTRIBUTE_WARN_UNUSED_RET int _ecosdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen);
crypto/libecc/include/libecc/sig/ecosdsa.h
60
ATTRIBUTE_WARN_UNUSED_RET int _ecosdsa_verify_init(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/ecosdsa.h
63
ATTRIBUTE_WARN_UNUSED_RET int _ecosdsa_verify_update(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/ecosdsa.h
66
ATTRIBUTE_WARN_UNUSED_RET int _ecosdsa_verify_finalize(struct ec_verify_context *ctx);
crypto/libecc/include/libecc/sig/ecrdsa.h
48
ATTRIBUTE_WARN_UNUSED_RET int ecrdsa_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv);
crypto/libecc/include/libecc/sig/ecrdsa.h
50
ATTRIBUTE_WARN_UNUSED_RET int ecrdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize,
crypto/libecc/include/libecc/sig/ecrdsa.h
60
ATTRIBUTE_WARN_UNUSED_RET int _ecrdsa_sign_init(struct ec_sign_context *ctx);
crypto/libecc/include/libecc/sig/ecrdsa.h
62
ATTRIBUTE_WARN_UNUSED_RET int _ecrdsa_sign_update(struct ec_sign_context *ctx,
crypto/libecc/include/libecc/sig/ecrdsa.h
65
ATTRIBUTE_WARN_UNUSED_RET int _ecrdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen);
crypto/libecc/include/libecc/sig/ecrdsa.h
76
ATTRIBUTE_WARN_UNUSED_RET int _ecrdsa_verify_init(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/ecrdsa.h
79
ATTRIBUTE_WARN_UNUSED_RET int _ecrdsa_verify_update(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/ecrdsa.h
82
ATTRIBUTE_WARN_UNUSED_RET int _ecrdsa_verify_finalize(struct ec_verify_context *ctx);
crypto/libecc/include/libecc/sig/ecsdsa.h
47
ATTRIBUTE_WARN_UNUSED_RET int ecsdsa_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv);
crypto/libecc/include/libecc/sig/ecsdsa.h
49
ATTRIBUTE_WARN_UNUSED_RET int ecsdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize,
crypto/libecc/include/libecc/sig/ecsdsa.h
58
ATTRIBUTE_WARN_UNUSED_RET int _ecsdsa_sign_init(struct ec_sign_context *ctx);
crypto/libecc/include/libecc/sig/ecsdsa.h
60
ATTRIBUTE_WARN_UNUSED_RET int _ecsdsa_sign_update(struct ec_sign_context *ctx,
crypto/libecc/include/libecc/sig/ecsdsa.h
63
ATTRIBUTE_WARN_UNUSED_RET int _ecsdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen);
crypto/libecc/include/libecc/sig/ecsdsa.h
72
ATTRIBUTE_WARN_UNUSED_RET int _ecsdsa_verify_init(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/ecsdsa.h
75
ATTRIBUTE_WARN_UNUSED_RET int _ecsdsa_verify_update(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/ecsdsa.h
78
ATTRIBUTE_WARN_UNUSED_RET int _ecsdsa_verify_finalize(struct ec_verify_context *ctx);
crypto/libecc/include/libecc/sig/ecsdsa_common.h
32
ATTRIBUTE_WARN_UNUSED_RET int __ecsdsa_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv,
crypto/libecc/include/libecc/sig/ecsdsa_common.h
34
ATTRIBUTE_WARN_UNUSED_RET int __ecsdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize,
crypto/libecc/include/libecc/sig/ecsdsa_common.h
37
ATTRIBUTE_WARN_UNUSED_RET int __ecsdsa_sign_init(struct ec_sign_context *ctx,
crypto/libecc/include/libecc/sig/ecsdsa_common.h
39
ATTRIBUTE_WARN_UNUSED_RET int __ecsdsa_sign_update(struct ec_sign_context *ctx,
crypto/libecc/include/libecc/sig/ecsdsa_common.h
41
ATTRIBUTE_WARN_UNUSED_RET int __ecsdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen);
crypto/libecc/include/libecc/sig/ecsdsa_common.h
43
ATTRIBUTE_WARN_UNUSED_RET int __ecsdsa_verify_init(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/ecsdsa_common.h
46
ATTRIBUTE_WARN_UNUSED_RET int __ecsdsa_verify_update(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/ecsdsa_common.h
48
ATTRIBUTE_WARN_UNUSED_RET int __ecsdsa_verify_finalize(struct ec_verify_context *ctx);
crypto/libecc/include/libecc/sig/eddsa.h
106
ATTRIBUTE_WARN_UNUSED_RET int _eddsa_verify_init(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/eddsa.h
109
ATTRIBUTE_WARN_UNUSED_RET int _eddsa_verify_update(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/eddsa.h
112
ATTRIBUTE_WARN_UNUSED_RET int _eddsa_verify_finalize(struct ec_verify_context *ctx);
crypto/libecc/include/libecc/sig/eddsa.h
115
ATTRIBUTE_WARN_UNUSED_RET int eddsa_derive_priv_key(ec_priv_key *priv_key);
crypto/libecc/include/libecc/sig/eddsa.h
116
ATTRIBUTE_WARN_UNUSED_RET int eddsa_import_priv_key(ec_priv_key *priv_key, const u8 *buf, u16 buflen,
crypto/libecc/include/libecc/sig/eddsa.h
119
ATTRIBUTE_WARN_UNUSED_RET int eddsa_import_pub_key(ec_pub_key *out_pub, const u8 *buf, u16 buflen,
crypto/libecc/include/libecc/sig/eddsa.h
122
ATTRIBUTE_WARN_UNUSED_RET int eddsa_export_pub_key(const ec_pub_key *in_pub, u8 *buf, u16 buflen);
crypto/libecc/include/libecc/sig/eddsa.h
123
ATTRIBUTE_WARN_UNUSED_RET int eddsa_import_key_pair_from_priv_key_buf(ec_key_pair *kp,
crypto/libecc/include/libecc/sig/eddsa.h
128
ATTRIBUTE_WARN_UNUSED_RET int eddsa_verify_batch(const u8 **s, const u8 *s_len, const ec_pub_key **pub_keys,
crypto/libecc/include/libecc/sig/eddsa.h
78
ATTRIBUTE_WARN_UNUSED_RET int eddsa_gen_priv_key(ec_priv_key *priv_key);
crypto/libecc/include/libecc/sig/eddsa.h
79
ATTRIBUTE_WARN_UNUSED_RET int eddsa_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv);
crypto/libecc/include/libecc/sig/eddsa.h
81
ATTRIBUTE_WARN_UNUSED_RET int eddsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen);
crypto/libecc/include/libecc/sig/eddsa.h
83
ATTRIBUTE_WARN_UNUSED_RET int _eddsa_sign_init_pre_hash(struct ec_sign_context *ctx);
crypto/libecc/include/libecc/sig/eddsa.h
85
ATTRIBUTE_WARN_UNUSED_RET int _eddsa_sign_update_pre_hash(struct ec_sign_context *ctx,
crypto/libecc/include/libecc/sig/eddsa.h
88
ATTRIBUTE_WARN_UNUSED_RET int _eddsa_sign_finalize_pre_hash(struct ec_sign_context *ctx,
crypto/libecc/include/libecc/sig/eddsa.h
91
ATTRIBUTE_WARN_UNUSED_RET int _eddsa_sign(u8 *sig, u8 siglen, const ec_key_pair *key_pair,
crypto/libecc/include/libecc/sig/fuzzing_ecdsa.h
23
ATTRIBUTE_WARN_UNUSED_RET int ecdsa_sign_raw(struct ec_sign_context *ctx, const u8 *input, u8 inputlen, u8 *sig, u8 siglen, const u8 *nonce, u8 noncelen);
crypto/libecc/include/libecc/sig/fuzzing_ecdsa.h
25
ATTRIBUTE_WARN_UNUSED_RET int ecdsa_verify_raw(struct ec_verify_context *ctx, const u8 *input, u8 inputlen);
crypto/libecc/include/libecc/sig/fuzzing_ecgdsa.h
23
ATTRIBUTE_WARN_UNUSED_RET int ecgdsa_sign_raw(struct ec_sign_context *ctx, const u8 *input, u8 inputlen, u8 *sig, u8 siglen, const u8 *nonce, u8 noncelen);
crypto/libecc/include/libecc/sig/fuzzing_ecgdsa.h
25
ATTRIBUTE_WARN_UNUSED_RET int ecgdsa_verify_raw(struct ec_verify_context *ctx, const u8 *input, u8 inputlen);
crypto/libecc/include/libecc/sig/fuzzing_ecrdsa.h
23
ATTRIBUTE_WARN_UNUSED_RET int ecrdsa_sign_raw(struct ec_sign_context *ctx, const u8 *input, u8 inputlen, u8 *sig, u8 siglen, const u8 *nonce, u8 noncelen);
crypto/libecc/include/libecc/sig/fuzzing_ecrdsa.h
25
ATTRIBUTE_WARN_UNUSED_RET int ecrdsa_verify_raw(struct ec_verify_context *ctx, const u8 *input, u8 inputlen);
crypto/libecc/include/libecc/sig/sig_algs.h
103
ATTRIBUTE_WARN_UNUSED_RET int ec_structured_sig_export_to_buf(const u8 *sig, u32 siglen,
crypto/libecc/include/libecc/sig/sig_algs.h
110
ATTRIBUTE_WARN_UNUSED_RET int ec_verify_bos_coster(verify_batch_scratch_pad *elements,
crypto/libecc/include/libecc/sig/sig_algs.h
22
ATTRIBUTE_WARN_UNUSED_RET int gen_priv_key(ec_priv_key *priv_key);
crypto/libecc/include/libecc/sig/sig_algs.h
30
ATTRIBUTE_WARN_UNUSED_RET int init_pubkey_from_privkey(ec_pub_key *pub_key, ec_priv_key *priv_key);
crypto/libecc/include/libecc/sig/sig_algs.h
32
ATTRIBUTE_WARN_UNUSED_RET int get_sig_by_name(const char *ec_sig_name, const ec_sig_mapping **sig_mapping);
crypto/libecc/include/libecc/sig/sig_algs.h
33
ATTRIBUTE_WARN_UNUSED_RET int get_sig_by_type(ec_alg_type sig_type, const ec_sig_mapping **sig_mapping);
crypto/libecc/include/libecc/sig/sig_algs.h
36
ATTRIBUTE_WARN_UNUSED_RET int ec_sig_mapping_callbacks_sanity_check(const ec_sig_mapping *sig);
crypto/libecc/include/libecc/sig/sig_algs.h
37
ATTRIBUTE_WARN_UNUSED_RET int ec_sig_ctx_callbacks_sanity_check(const struct ec_sign_context *sig_ctx);
crypto/libecc/include/libecc/sig/sig_algs.h
38
ATTRIBUTE_WARN_UNUSED_RET int ec_verify_ctx_callbacks_sanity_check(const struct ec_verify_context *verify_ctx);
crypto/libecc/include/libecc/sig/sig_algs.h
44
ATTRIBUTE_WARN_UNUSED_RET int ec_get_sig_len(const ec_params *params, ec_alg_type sig_type,
crypto/libecc/include/libecc/sig/sig_algs.h
49
ATTRIBUTE_WARN_UNUSED_RET int _ec_sign_init(struct ec_sign_context *ctx,
crypto/libecc/include/libecc/sig/sig_algs.h
55
ATTRIBUTE_WARN_UNUSED_RET int ec_sign_init(struct ec_sign_context *ctx, const ec_key_pair *key_pair,
crypto/libecc/include/libecc/sig/sig_algs.h
59
ATTRIBUTE_WARN_UNUSED_RET int ec_sign_update(struct ec_sign_context *ctx, const u8 *chunk, u32 chunklen);
crypto/libecc/include/libecc/sig/sig_algs.h
61
ATTRIBUTE_WARN_UNUSED_RET int ec_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen);
crypto/libecc/include/libecc/sig/sig_algs.h
63
ATTRIBUTE_WARN_UNUSED_RET int _ec_sign(u8 *sig, u8 siglen, const ec_key_pair *key_pair,
crypto/libecc/include/libecc/sig/sig_algs.h
69
ATTRIBUTE_WARN_UNUSED_RET int ec_sign(u8 *sig, u8 siglen, const ec_key_pair *key_pair,
crypto/libecc/include/libecc/sig/sig_algs.h
76
ATTRIBUTE_WARN_UNUSED_RET int ec_verify_init(struct ec_verify_context *ctx, const ec_pub_key *pub_key,
crypto/libecc/include/libecc/sig/sig_algs.h
80
ATTRIBUTE_WARN_UNUSED_RET int ec_verify_update(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/sig_algs.h
83
ATTRIBUTE_WARN_UNUSED_RET int ec_verify_finalize(struct ec_verify_context *ctx);
crypto/libecc/include/libecc/sig/sig_algs.h
85
ATTRIBUTE_WARN_UNUSED_RET int ec_verify(const u8 *sig, u8 siglen, const ec_pub_key *pub_key,
crypto/libecc/include/libecc/sig/sig_algs.h
97
ATTRIBUTE_WARN_UNUSED_RET int ec_structured_sig_import_from_buf(u8 *sig, u32 siglen,
crypto/libecc/include/libecc/sig/sig_algs_internal.h
158
ATTRIBUTE_WARN_UNUSED_RET int (*rand) (nn_t out, nn_src_t q);
crypto/libecc/include/libecc/sig/sig_algs_internal.h
172
ATTRIBUTE_WARN_UNUSED_RET static inline int sig_sign_check_initialized(struct ec_sign_context *ctx)
crypto/libecc/include/libecc/sig/sig_algs_internal.h
230
ATTRIBUTE_WARN_UNUSED_RET static inline int sig_verify_check_initialized(struct ec_verify_context *ctx)
crypto/libecc/include/libecc/sig/sig_algs_internal.h
239
ATTRIBUTE_WARN_UNUSED_RET int generic_ec_sign(u8 *sig, u8 siglen, const ec_key_pair *key_pair,
crypto/libecc/include/libecc/sig/sig_algs_internal.h
242
ATTRIBUTE_WARN_UNUSED_RET int generic_ec_verify(const u8 *sig, u8 siglen, const ec_pub_key *pub_key,
crypto/libecc/include/libecc/sig/sig_algs_internal.h
249
ATTRIBUTE_WARN_UNUSED_RET int unsupported_sign_init(struct ec_sign_context * ctx);
crypto/libecc/include/libecc/sig/sig_algs_internal.h
250
ATTRIBUTE_WARN_UNUSED_RET int unsupported_sign_update(struct ec_sign_context * ctx,
crypto/libecc/include/libecc/sig/sig_algs_internal.h
252
ATTRIBUTE_WARN_UNUSED_RET int unsupported_sign_finalize(struct ec_sign_context * ctx,
crypto/libecc/include/libecc/sig/sig_algs_internal.h
255
ATTRIBUTE_WARN_UNUSED_RET int is_sign_streaming_mode_supported(ec_alg_type sig_type, int *check);
crypto/libecc/include/libecc/sig/sig_algs_internal.h
257
ATTRIBUTE_WARN_UNUSED_RET int unsupported_verify_init(struct ec_verify_context * ctx,
crypto/libecc/include/libecc/sig/sig_algs_internal.h
259
ATTRIBUTE_WARN_UNUSED_RET int unsupported_verify_update(struct ec_verify_context * ctx,
crypto/libecc/include/libecc/sig/sig_algs_internal.h
261
ATTRIBUTE_WARN_UNUSED_RET int unsupported_verify_finalize(struct ec_verify_context * ctx);
crypto/libecc/include/libecc/sig/sig_algs_internal.h
263
ATTRIBUTE_WARN_UNUSED_RET int is_verify_streaming_mode_supported(ec_alg_type sig_type, int *check);
crypto/libecc/include/libecc/sig/sig_algs_internal.h
265
ATTRIBUTE_WARN_UNUSED_RET int is_sign_deterministic(ec_alg_type sig_type, int *check);
crypto/libecc/include/libecc/sig/sig_algs_internal.h
267
ATTRIBUTE_WARN_UNUSED_RET int is_verify_batch_mode_supported(ec_alg_type sig_type, int *check);
crypto/libecc/include/libecc/sig/sig_algs_internal.h
269
ATTRIBUTE_WARN_UNUSED_RET int unsupported_verify_batch(const u8 **s, const u8 *s_len, const ec_pub_key **pub_keys,
crypto/libecc/include/libecc/sig/sig_algs_internal.h
55
ATTRIBUTE_WARN_UNUSED_RET int (*siglen) (u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen);
crypto/libecc/include/libecc/sig/sig_algs_internal.h
57
ATTRIBUTE_WARN_UNUSED_RET int (*gen_priv_key) (ec_priv_key *priv_key);
crypto/libecc/include/libecc/sig/sig_algs_internal.h
58
ATTRIBUTE_WARN_UNUSED_RET int (*init_pub_key) (ec_pub_key *pub_key, const ec_priv_key *priv_key);
crypto/libecc/include/libecc/sig/sig_algs_internal.h
60
ATTRIBUTE_WARN_UNUSED_RET int (*sign_init) (struct ec_sign_context * ctx);
crypto/libecc/include/libecc/sig/sig_algs_internal.h
61
ATTRIBUTE_WARN_UNUSED_RET int (*sign_update) (struct ec_sign_context * ctx,
crypto/libecc/include/libecc/sig/sig_algs_internal.h
63
ATTRIBUTE_WARN_UNUSED_RET int (*sign_finalize) (struct ec_sign_context * ctx,
crypto/libecc/include/libecc/sig/sig_algs_internal.h
65
ATTRIBUTE_WARN_UNUSED_RET int (*sign) (u8 *sig, u8 siglen, const ec_key_pair *key_pair,
crypto/libecc/include/libecc/sig/sig_algs_internal.h
70
ATTRIBUTE_WARN_UNUSED_RET int (*verify_init) (struct ec_verify_context * ctx,
crypto/libecc/include/libecc/sig/sig_algs_internal.h
72
ATTRIBUTE_WARN_UNUSED_RET int (*verify_update) (struct ec_verify_context * ctx,
crypto/libecc/include/libecc/sig/sig_algs_internal.h
74
ATTRIBUTE_WARN_UNUSED_RET int (*verify_finalize) (struct ec_verify_context * ctx);
crypto/libecc/include/libecc/sig/sig_algs_internal.h
75
ATTRIBUTE_WARN_UNUSED_RET int (*verify) (const u8 *sig, u8 siglen, const ec_pub_key *pub_key,
crypto/libecc/include/libecc/sig/sig_algs_internal.h
78
ATTRIBUTE_WARN_UNUSED_RET int (*verify_batch) (const u8 **s, const u8 *s_len, const ec_pub_key **pub_keys,
crypto/libecc/include/libecc/sig/sig_algs_internal.h
88
ATTRIBUTE_WARN_UNUSED_RET static inline int sig_mapping_sanity_check(const ec_sig_mapping *sm)
crypto/libecc/include/libecc/sig/sm2.h
52
ATTRIBUTE_WARN_UNUSED_RET int sm2_gen_priv_key(ec_priv_key *priv_key);
crypto/libecc/include/libecc/sig/sm2.h
54
ATTRIBUTE_WARN_UNUSED_RET int sm2_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv);
crypto/libecc/include/libecc/sig/sm2.h
56
ATTRIBUTE_WARN_UNUSED_RET int sm2_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen);
crypto/libecc/include/libecc/sig/sm2.h
58
ATTRIBUTE_WARN_UNUSED_RET int _sm2_sign_init(struct ec_sign_context *ctx);
crypto/libecc/include/libecc/sig/sm2.h
60
ATTRIBUTE_WARN_UNUSED_RET int _sm2_sign_update(struct ec_sign_context *ctx,
crypto/libecc/include/libecc/sig/sm2.h
63
ATTRIBUTE_WARN_UNUSED_RET int _sm2_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen);
crypto/libecc/include/libecc/sig/sm2.h
74
ATTRIBUTE_WARN_UNUSED_RET int _sm2_verify_init(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/sm2.h
77
ATTRIBUTE_WARN_UNUSED_RET int _sm2_verify_update(struct ec_verify_context *ctx,
crypto/libecc/include/libecc/sig/sm2.h
80
ATTRIBUTE_WARN_UNUSED_RET int _sm2_verify_finalize(struct ec_verify_context *ctx);
crypto/libecc/include/libecc/utils/utils.h
169
ATTRIBUTE_WARN_UNUSED_RET int are_equal(const void *a, const void *b, u32 len, int *check);
crypto/libecc/include/libecc/utils/utils.h
170
ATTRIBUTE_WARN_UNUSED_RET int local_memcpy(void *dst, const void *src, u32 n);
crypto/libecc/include/libecc/utils/utils.h
171
ATTRIBUTE_WARN_UNUSED_RET int local_memset(void *v, u8 c, u32 n);
crypto/libecc/include/libecc/utils/utils.h
172
ATTRIBUTE_WARN_UNUSED_RET int are_str_equal(const char *s1, const char *s2, int *check);
crypto/libecc/include/libecc/utils/utils.h
173
ATTRIBUTE_WARN_UNUSED_RET int are_str_equal_nlen(const char *s1, const char *s2, u32 maxlen, int *check);
crypto/libecc/include/libecc/utils/utils.h
174
ATTRIBUTE_WARN_UNUSED_RET int local_strlen(const char *s, u32 *len);
crypto/libecc/include/libecc/utils/utils.h
175
ATTRIBUTE_WARN_UNUSED_RET int local_strnlen(const char *s, u32 maxlen, u32 *len);
crypto/libecc/include/libecc/utils/utils.h
176
ATTRIBUTE_WARN_UNUSED_RET int local_strncpy(char *dst, const char *src, u32 n);
crypto/libecc/include/libecc/utils/utils.h
177
ATTRIBUTE_WARN_UNUSED_RET int local_strncat(char *dest, const char *src, u32 n);
crypto/libecc/include/libecc/utils/utils_rand.h
20
ATTRIBUTE_WARN_UNUSED_RET int get_unsafe_random(unsigned char *buf, u16 len);
crypto/libecc/src/curves/prj_pt.c
1109
ATTRIBUTE_WARN_UNUSED_RET static int _prj_pt_dbl_monty_aliased(prj_pt_t val)
crypto/libecc/src/curves/prj_pt.c
1132
ATTRIBUTE_WARN_UNUSED_RET int prj_pt_dbl(prj_pt_t out, prj_pt_src_t in)
crypto/libecc/src/curves/prj_pt.c
1157
ATTRIBUTE_WARN_UNUSED_RET static inline int _prj_pt_add_monty(prj_pt_t out,
crypto/libecc/src/curves/prj_pt.c
1178
ATTRIBUTE_WARN_UNUSED_RET static int _prj_pt_add_monty_aliased(prj_pt_t out,
crypto/libecc/src/curves/prj_pt.c
1266
ATTRIBUTE_WARN_UNUSED_RET static int _blind_projective_point(prj_pt_t out, prj_pt_src_t in)
crypto/libecc/src/curves/prj_pt.c
1317
ATTRIBUTE_WARN_UNUSED_RET static int _prj_pt_mul_ltr_monty_dbl_add_always(prj_pt_t out, nn_src_t m, prj_pt_src_t in)
crypto/libecc/src/curves/prj_pt.c
1454
ATTRIBUTE_WARN_UNUSED_RET static int _prj_pt_mul_ltr_monty_dbl_add_always(prj_pt_t out, nn_src_t m, prj_pt_src_t in)
crypto/libecc/src/curves/prj_pt.c
1569
ATTRIBUTE_WARN_UNUSED_RET static int _prj_pt_mul_ltr_monty_ladder(prj_pt_t out, nn_src_t m, prj_pt_src_t in)
crypto/libecc/src/curves/prj_pt.c
1727
ATTRIBUTE_WARN_UNUSED_RET static int _prj_pt_mul_ltr_monty(prj_pt_t out, nn_src_t m, prj_pt_src_t in){
crypto/libecc/src/curves/prj_pt.c
1738
ATTRIBUTE_WARN_UNUSED_RET static int _prj_pt_mul_ltr_monty_aliased(prj_pt_t out, nn_src_t m, prj_pt_src_t in)
crypto/libecc/src/curves/prj_pt.c
354
ATTRIBUTE_WARN_UNUSED_RET static inline int _prj_pt_eq_or_opp_X(prj_pt_src_t in1, prj_pt_src_t in2, int *cmp)
crypto/libecc/src/curves/prj_pt.c
382
ATTRIBUTE_WARN_UNUSED_RET static inline int _prj_pt_eq_or_opp_Y(prj_pt_src_t in1, prj_pt_src_t in2, int *eq_or_opp)
crypto/libecc/src/curves/prj_pt.c
639
ATTRIBUTE_WARN_UNUSED_RET static int __prj_pt_dbl_monty_no_cf(prj_pt_t out, prj_pt_src_t in)
crypto/libecc/src/curves/prj_pt.c
738
ATTRIBUTE_WARN_UNUSED_RET static int ___prj_pt_add_monty_no_cf(prj_pt_t out,
crypto/libecc/src/curves/prj_pt.c
826
ATTRIBUTE_WARN_UNUSED_RET static int __prj_pt_add_monty_no_cf(prj_pt_t out, prj_pt_src_t in1, prj_pt_src_t in2)
crypto/libecc/src/curves/prj_pt.c
892
ATTRIBUTE_WARN_UNUSED_RET static int __prj_pt_dbl_monty_cf(prj_pt_t out, prj_pt_src_t in)
crypto/libecc/src/curves/prj_pt.c
971
ATTRIBUTE_WARN_UNUSED_RET static int __prj_pt_add_monty_cf(prj_pt_t out,
crypto/libecc/src/ecdh/x25519_448.c
112
ATTRIBUTE_WARN_UNUSED_RET static int encode_u_coordinate(u8 *u_encoded, const u8 *u, u8 len)
crypto/libecc/src/ecdh/x25519_448.c
119
ATTRIBUTE_WARN_UNUSED_RET static int compute_v_from_u(fp_src_t u, fp_t v, ec_montgomery_crv_src_t crv)
crypto/libecc/src/ecdh/x25519_448.c
146
ATTRIBUTE_WARN_UNUSED_RET static int x25519_448_core(const u8 *k, const u8 *u, u8 *res, u8 len)
crypto/libecc/src/ecdh/x25519_448.c
304
ATTRIBUTE_WARN_UNUSED_RET static int x25519_448_gen_priv_key(u8 *priv_key, u8 len)
crypto/libecc/src/ecdh/x25519_448.c
319
ATTRIBUTE_WARN_UNUSED_RET static int x25519_448_init_pub_key(const u8 *priv_key, u8 *pub_key, u8 len)
crypto/libecc/src/ecdh/x25519_448.c
359
ATTRIBUTE_WARN_UNUSED_RET static int x25519_448_derive_secret(const u8 *priv_key, const u8 *peer_pub_key, u8 *shared_secret, u8 len)
crypto/libecc/src/ecdh/x25519_448.c
53
ATTRIBUTE_WARN_UNUSED_RET static int decode_scalar(u8 *scalar_decoded, const u8 *scalar, u8 len)
crypto/libecc/src/ecdh/x25519_448.c
91
ATTRIBUTE_WARN_UNUSED_RET static int decode_u_coordinate(u8 *u_decoded, const u8 *u, u8 len)
crypto/libecc/src/examples/basic/curve_basic_examples.c
107
ATTRIBUTE_WARN_UNUSED_RET int check_curve(const u8 *curve_name);
crypto/libecc/src/examples/basic/curve_basic_examples.c
36
ATTRIBUTE_WARN_UNUSED_RET int get_random_point_on_curve(ec_params *curve_params, prj_pt *out_point);
crypto/libecc/src/examples/basic/curve_ecdh.c
81
ATTRIBUTE_WARN_UNUSED_RET int ECDH_helper(const u8 *curve_name, const u8 *role);
crypto/libecc/src/examples/basic/fp_square_residue.c
21
ATTRIBUTE_WARN_UNUSED_RET int miller_rabin(nn_src_t n, const unsigned int t, int *check);
crypto/libecc/src/examples/basic/nn_miller_rabin.c
19
ATTRIBUTE_WARN_UNUSED_RET int miller_rabin(nn_src_t n, const unsigned int t, int *res);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
128
ATTRIBUTE_WARN_UNUSED_RET int find_divisors(nn_src_t in);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
38
ATTRIBUTE_WARN_UNUSED_RET int miller_rabin(nn_src_t n, const unsigned int t, int *check);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
40
ATTRIBUTE_WARN_UNUSED_RET int pollard_rho(nn_t d, nn_src_t n, const word_t c);
crypto/libecc/src/examples/hash/gostr34_11_94.c
135
ATTRIBUTE_WARN_UNUSED_RET static inline int gostr34_11_94_block_encryption(const u64 K[GOSTR34_11_94_STATE_SIZE], const u64 P, u64 *E, const u8 sbox[8][16])
crypto/libecc/src/examples/hash/gostr34_11_94.c
191
ATTRIBUTE_WARN_UNUSED_RET static inline int gostr34_11_94_state_encryption(const u64 K[4][GOSTR34_11_94_STATE_SIZE], const u64 H[GOSTR34_11_94_STATE_SIZE], u64 S[GOSTR34_11_94_STATE_SIZE], const u8 sbox[8][16])
crypto/libecc/src/examples/hash/gostr34_11_94.c
225
ATTRIBUTE_WARN_UNUSED_RET static inline int gostr34_11_94_state_psi(const u64 G[GOSTR34_11_94_STATE_SIZE], u64 G_[GOSTR34_11_94_STATE_SIZE])
crypto/libecc/src/examples/hash/gostr34_11_94.c
256
ATTRIBUTE_WARN_UNUSED_RET static inline int gostr34_11_94_state_output_transform(const u64 H[GOSTR34_11_94_STATE_SIZE], const u64 S[GOSTR34_11_94_STATE_SIZE], const u64 M[GOSTR34_11_94_STATE_SIZE], u64 H_[GOSTR34_11_94_STATE_SIZE])
crypto/libecc/src/examples/hash/gostr34_11_94.c
324
ATTRIBUTE_WARN_UNUSED_RET static inline int gostr34_11_94_process(gostr34_11_94_context *ctx,
crypto/libecc/src/examples/hash/gostr34_11_94.c
372
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94_init(gostr34_11_94_context *ctx)
crypto/libecc/src/examples/hash/gostr34_11_94.c
40
ATTRIBUTE_WARN_UNUSED_RET static inline int gostr34_11_94_arch_is_big_endian(void)
crypto/libecc/src/examples/hash/gostr34_11_94.c
402
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94_set_iv(gostr34_11_94_context *ctx, const u64 iv[GOSTR34_11_94_STATE_SIZE])
crypto/libecc/src/examples/hash/gostr34_11_94.c
424
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94_set_type(gostr34_11_94_context *ctx, gostr34_11_94_type type)
crypto/libecc/src/examples/hash/gostr34_11_94.c
447
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94_update(gostr34_11_94_context *ctx, const u8 *input, u32 ilen)
crypto/libecc/src/examples/hash/gostr34_11_94.c
496
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94_final(gostr34_11_94_context *ctx, u8 output[GOSTR34_11_94_DIGEST_SIZE])
crypto/libecc/src/examples/hash/gostr34_11_94.c
570
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/src/examples/hash/gostr34_11_94.c
592
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94_scattered_norm(const u8 **inputs, const u32 *ilens,
crypto/libecc/src/examples/hash/gostr34_11_94.c
598
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94_scattered_rfc4357(const u8 **inputs, const u32 *ilens,
crypto/libecc/src/examples/hash/gostr34_11_94.c
609
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94(const u8 *input, u32 ilen, u8 output[GOSTR34_11_94_DIGEST_SIZE], gostr34_11_94_type type)
crypto/libecc/src/examples/hash/gostr34_11_94.c
623
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94_norm(const u8 *input, u32 ilen, u8 output[GOSTR34_11_94_DIGEST_SIZE])
crypto/libecc/src/examples/hash/gostr34_11_94.c
628
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94_rfc4357(const u8 *input, u32 ilen, u8 output[GOSTR34_11_94_DIGEST_SIZE])
crypto/libecc/src/examples/hash/gostr34_11_94.c
91
ATTRIBUTE_WARN_UNUSED_RET static inline int gostr34_11_94_key_generation(const u64 H[GOSTR34_11_94_STATE_SIZE], const u64 M[GOSTR34_11_94_STATE_SIZE], u64 K[4][GOSTR34_11_94_STATE_SIZE])
crypto/libecc/src/examples/hash/gostr34_11_94.h
155
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94_init(gostr34_11_94_context *ctx);
crypto/libecc/src/examples/hash/gostr34_11_94.h
158
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94_set_iv(gostr34_11_94_context *ctx, const u64 iv[GOSTR34_11_94_STATE_SIZE]);
crypto/libecc/src/examples/hash/gostr34_11_94.h
161
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94_set_type(gostr34_11_94_context *ctx, gostr34_11_94_type type);
crypto/libecc/src/examples/hash/gostr34_11_94.h
163
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94_update(gostr34_11_94_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/src/examples/hash/gostr34_11_94.h
166
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94_final(gostr34_11_94_context *ctx, u8 output[GOSTR34_11_94_DIGEST_SIZE]);
crypto/libecc/src/examples/hash/gostr34_11_94.h
174
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/src/examples/hash/gostr34_11_94.h
177
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94_scattered_norm(const u8 **inputs, const u32 *ilens,
crypto/libecc/src/examples/hash/gostr34_11_94.h
180
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94_scattered_rfc4357(const u8 **inputs, const u32 *ilens,
crypto/libecc/src/examples/hash/gostr34_11_94.h
187
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94(const u8 *input, u32 ilen, u8 output[GOSTR34_11_94_DIGEST_SIZE], gostr34_11_94_type type);
crypto/libecc/src/examples/hash/gostr34_11_94.h
189
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94_norm(const u8 *input, u32 ilen, u8 output[GOSTR34_11_94_DIGEST_SIZE]);
crypto/libecc/src/examples/hash/gostr34_11_94.h
191
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94_rfc4357(const u8 *input, u32 ilen, u8 output[GOSTR34_11_94_DIGEST_SIZE]);
crypto/libecc/src/examples/hash/hash.c
14
ATTRIBUTE_WARN_UNUSED_RET static int get_libecc_hash(gen_hash_alg_type gen_hash_type, hash_alg_type *hash_type, const hash_mapping **hm, u8 *hlen, u8 *block_size)
crypto/libecc/src/examples/hash/hash.h
100
ATTRIBUTE_WARN_UNUSED_RET int gen_hash_init(gen_hash_context *ctx, gen_hash_alg_type gen_hash_type);
crypto/libecc/src/examples/hash/hash.h
101
ATTRIBUTE_WARN_UNUSED_RET int gen_hash_update(gen_hash_context *ctx, const u8 *chunk, u32 chunklen, gen_hash_alg_type gen_hash_type);
crypto/libecc/src/examples/hash/hash.h
102
ATTRIBUTE_WARN_UNUSED_RET int gen_hash_final(gen_hash_context *ctx, u8 *output, gen_hash_alg_type gen_hash_type);
crypto/libecc/src/examples/hash/hash.h
103
ATTRIBUTE_WARN_UNUSED_RET int gen_hash_hfunc(const u8 *input, u32 ilen, u8 *digest, gen_hash_alg_type gen_hash_type);
crypto/libecc/src/examples/hash/hash.h
104
ATTRIBUTE_WARN_UNUSED_RET int gen_hash_hfunc_scattered(const u8 **input, const u32 *ilen, u8 *digest, gen_hash_alg_type gen_hash_type);
crypto/libecc/src/examples/hash/hash.h
99
ATTRIBUTE_WARN_UNUSED_RET int gen_hash_get_hash_sizes(gen_hash_alg_type gen_hash_type, u8 *hlen, u8 *block_size);
crypto/libecc/src/examples/hash/md2.c
104
ATTRIBUTE_WARN_UNUSED_RET int md2_update(md2_context *ctx, const u8 *input, u32 ilen)
crypto/libecc/src/examples/hash/md2.c
153
ATTRIBUTE_WARN_UNUSED_RET int md2_final(md2_context *ctx, u8 output[MD2_DIGEST_SIZE])
crypto/libecc/src/examples/hash/md2.c
192
ATTRIBUTE_WARN_UNUSED_RET int md2_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/src/examples/hash/md2.c
217
ATTRIBUTE_WARN_UNUSED_RET int md2(const u8 *input, u32 ilen, u8 output[MD2_DIGEST_SIZE])
crypto/libecc/src/examples/hash/md2.c
36
ATTRIBUTE_WARN_UNUSED_RET static inline int md2_process(md2_context *ctx,
crypto/libecc/src/examples/hash/md2.c
80
ATTRIBUTE_WARN_UNUSED_RET int md2_init(md2_context *ctx)
crypto/libecc/src/examples/hash/md2.h
41
ATTRIBUTE_WARN_UNUSED_RET int md2_init(md2_context *ctx);
crypto/libecc/src/examples/hash/md2.h
43
ATTRIBUTE_WARN_UNUSED_RET int md2_update(md2_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/src/examples/hash/md2.h
46
ATTRIBUTE_WARN_UNUSED_RET int md2_final(md2_context *ctx, u8 output[MD2_DIGEST_SIZE]);
crypto/libecc/src/examples/hash/md2.h
54
ATTRIBUTE_WARN_UNUSED_RET int md2_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/src/examples/hash/md2.h
61
ATTRIBUTE_WARN_UNUSED_RET int md2(const u8 *input, u32 ilen, u8 output[MD2_DIGEST_SIZE]);
crypto/libecc/src/examples/hash/md4.c
120
ATTRIBUTE_WARN_UNUSED_RET int md4_update(md4_context *ctx, const u8 *input, u32 ilen)
crypto/libecc/src/examples/hash/md4.c
169
ATTRIBUTE_WARN_UNUSED_RET int md4_final(md4_context *ctx, u8 output[MD4_DIGEST_SIZE])
crypto/libecc/src/examples/hash/md4.c
228
ATTRIBUTE_WARN_UNUSED_RET int md4_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/src/examples/hash/md4.c
253
ATTRIBUTE_WARN_UNUSED_RET int md4(const u8 *input, u32 ilen, u8 output[MD4_DIGEST_SIZE])
crypto/libecc/src/examples/hash/md4.c
29
ATTRIBUTE_WARN_UNUSED_RET static inline int md4_process(md4_context *ctx,
crypto/libecc/src/examples/hash/md4.c
96
ATTRIBUTE_WARN_UNUSED_RET int md4_init(md4_context *ctx)
crypto/libecc/src/examples/hash/md4.h
114
ATTRIBUTE_WARN_UNUSED_RET int md4_init(md4_context *ctx);
crypto/libecc/src/examples/hash/md4.h
116
ATTRIBUTE_WARN_UNUSED_RET int md4_update(md4_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/src/examples/hash/md4.h
119
ATTRIBUTE_WARN_UNUSED_RET int md4_final(md4_context *ctx, u8 output[MD4_DIGEST_SIZE]);
crypto/libecc/src/examples/hash/md4.h
127
ATTRIBUTE_WARN_UNUSED_RET int md4_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/src/examples/hash/md4.h
134
ATTRIBUTE_WARN_UNUSED_RET int md4(const u8 *input, u32 ilen, u8 output[MD4_DIGEST_SIZE]);
crypto/libecc/src/examples/hash/md5.c
121
ATTRIBUTE_WARN_UNUSED_RET int md5_update(md5_context *ctx, const u8 *input, u32 ilen)
crypto/libecc/src/examples/hash/md5.c
170
ATTRIBUTE_WARN_UNUSED_RET int md5_final(md5_context *ctx, u8 output[MD5_DIGEST_SIZE])
crypto/libecc/src/examples/hash/md5.c
229
ATTRIBUTE_WARN_UNUSED_RET int md5_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/src/examples/hash/md5.c
254
ATTRIBUTE_WARN_UNUSED_RET int md5(const u8 *input, u32 ilen, u8 output[MD5_DIGEST_SIZE])
crypto/libecc/src/examples/hash/md5.c
38
ATTRIBUTE_WARN_UNUSED_RET static inline int md5_process(md5_context *ctx,
crypto/libecc/src/examples/hash/md5.c
97
ATTRIBUTE_WARN_UNUSED_RET int md5_init(md5_context *ctx)
crypto/libecc/src/examples/hash/md5.h
115
ATTRIBUTE_WARN_UNUSED_RET int md5_init(md5_context *ctx);
crypto/libecc/src/examples/hash/md5.h
117
ATTRIBUTE_WARN_UNUSED_RET int md5_update(md5_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/src/examples/hash/md5.h
120
ATTRIBUTE_WARN_UNUSED_RET int md5_final(md5_context *ctx, u8 output[MD5_DIGEST_SIZE]);
crypto/libecc/src/examples/hash/md5.h
128
ATTRIBUTE_WARN_UNUSED_RET int md5_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/src/examples/hash/md5.h
135
ATTRIBUTE_WARN_UNUSED_RET int md5(const u8 *input, u32 ilen, u8 output[MD5_DIGEST_SIZE]);
crypto/libecc/src/examples/hash/mdc2.c
113
ATTRIBUTE_WARN_UNUSED_RET int mdc2_update(mdc2_context *ctx, const u8 *input, u32 ilen)
crypto/libecc/src/examples/hash/mdc2.c
16
ATTRIBUTE_WARN_UNUSED_RET int mdc2_set_padding_type(mdc2_context *ctx,
crypto/libecc/src/examples/hash/mdc2.c
162
ATTRIBUTE_WARN_UNUSED_RET int mdc2_final(mdc2_context *ctx, u8 output[MDC2_DIGEST_SIZE])
crypto/libecc/src/examples/hash/mdc2.c
223
ATTRIBUTE_WARN_UNUSED_RET int mdc2_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/src/examples/hash/mdc2.c
252
ATTRIBUTE_WARN_UNUSED_RET int mdc2_scattered_padding1(const u8 **inputs, const u32 *ilens,
crypto/libecc/src/examples/hash/mdc2.c
264
ATTRIBUTE_WARN_UNUSED_RET int mdc2_scattered_padding2(const u8 **inputs, const u32 *ilens,
crypto/libecc/src/examples/hash/mdc2.c
274
ATTRIBUTE_WARN_UNUSED_RET int mdc2(const u8 *input, u32 ilen, u8 output[MDC2_DIGEST_SIZE], padding_type p)
crypto/libecc/src/examples/hash/mdc2.c
293
ATTRIBUTE_WARN_UNUSED_RET int mdc2_padding1(const u8 *input, u32 ilen, u8 output[MDC2_DIGEST_SIZE])
crypto/libecc/src/examples/hash/mdc2.c
302
ATTRIBUTE_WARN_UNUSED_RET int mdc2_padding2(const u8 *input, u32 ilen, u8 output[MDC2_DIGEST_SIZE])
crypto/libecc/src/examples/hash/mdc2.c
40
ATTRIBUTE_WARN_UNUSED_RET static inline int mdc2_process(mdc2_context *ctx,
crypto/libecc/src/examples/hash/mdc2.c
87
ATTRIBUTE_WARN_UNUSED_RET int mdc2_init(mdc2_context *ctx)
crypto/libecc/src/examples/hash/mdc2.h
100
ATTRIBUTE_WARN_UNUSED_RET int mdc2_padding2(const u8 *input, u32 ilen, u8 output[MDC2_DIGEST_SIZE]);
crypto/libecc/src/examples/hash/mdc2.h
47
ATTRIBUTE_WARN_UNUSED_RET int mdc2_set_padding_type(mdc2_context *ctx,
crypto/libecc/src/examples/hash/mdc2.h
51
ATTRIBUTE_WARN_UNUSED_RET int mdc2_init(mdc2_context *ctx);
crypto/libecc/src/examples/hash/mdc2.h
53
ATTRIBUTE_WARN_UNUSED_RET int mdc2_update(mdc2_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/src/examples/hash/mdc2.h
56
ATTRIBUTE_WARN_UNUSED_RET int mdc2_final(mdc2_context *ctx, u8 output[MDC2_DIGEST_SIZE]);
crypto/libecc/src/examples/hash/mdc2.h
64
ATTRIBUTE_WARN_UNUSED_RET int mdc2_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/src/examples/hash/mdc2.h
73
ATTRIBUTE_WARN_UNUSED_RET int mdc2_scattered_padding1(const u8 **inputs, const u32 *ilens,
crypto/libecc/src/examples/hash/mdc2.h
82
ATTRIBUTE_WARN_UNUSED_RET int mdc2_scattered_padding2(const u8 **inputs, const u32 *ilens,
crypto/libecc/src/examples/hash/mdc2.h
88
ATTRIBUTE_WARN_UNUSED_RET int mdc2(const u8 *input, u32 ilen, u8 output[MDC2_DIGEST_SIZE], padding_type p);
crypto/libecc/src/examples/hash/mdc2.h
94
ATTRIBUTE_WARN_UNUSED_RET int mdc2_padding1(const u8 *input, u32 ilen, u8 output[MDC2_DIGEST_SIZE]);
crypto/libecc/src/examples/hash/sha0.c
119
ATTRIBUTE_WARN_UNUSED_RET int sha0_update(sha0_context *ctx, const u8 *input, u32 ilen)
crypto/libecc/src/examples/hash/sha0.c
168
ATTRIBUTE_WARN_UNUSED_RET int sha0_final(sha0_context *ctx, u8 output[SHA0_DIGEST_SIZE])
crypto/libecc/src/examples/hash/sha0.c
228
ATTRIBUTE_WARN_UNUSED_RET int sha0_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/src/examples/hash/sha0.c
253
ATTRIBUTE_WARN_UNUSED_RET int sha0(const u8 *input, u32 ilen, u8 output[SHA0_DIGEST_SIZE])
crypto/libecc/src/examples/hash/sha0.c
40
ATTRIBUTE_WARN_UNUSED_RET static inline int sha0_process(sha0_context *ctx,
crypto/libecc/src/examples/hash/sha0.c
94
ATTRIBUTE_WARN_UNUSED_RET int sha0_init(sha0_context *ctx)
crypto/libecc/src/examples/hash/sha0.h
113
ATTRIBUTE_WARN_UNUSED_RET int sha0_init(sha0_context *ctx);
crypto/libecc/src/examples/hash/sha0.h
115
ATTRIBUTE_WARN_UNUSED_RET int sha0_update(sha0_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/src/examples/hash/sha0.h
118
ATTRIBUTE_WARN_UNUSED_RET int sha0_final(sha0_context *ctx, u8 output[SHA0_DIGEST_SIZE]);
crypto/libecc/src/examples/hash/sha0.h
126
ATTRIBUTE_WARN_UNUSED_RET int sha0_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/src/examples/hash/sha0.h
133
ATTRIBUTE_WARN_UNUSED_RET int sha0(const u8 *input, u32 ilen, u8 output[SHA0_DIGEST_SIZE]);
crypto/libecc/src/examples/hash/sha1.c
119
ATTRIBUTE_WARN_UNUSED_RET int sha1_update(sha1_context *ctx, const u8 *input, u32 ilen)
crypto/libecc/src/examples/hash/sha1.c
168
ATTRIBUTE_WARN_UNUSED_RET int sha1_final(sha1_context *ctx, u8 output[SHA1_DIGEST_SIZE])
crypto/libecc/src/examples/hash/sha1.c
228
ATTRIBUTE_WARN_UNUSED_RET int sha1_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/src/examples/hash/sha1.c
253
ATTRIBUTE_WARN_UNUSED_RET int sha1(const u8 *input, u32 ilen, u8 output[SHA1_DIGEST_SIZE])
crypto/libecc/src/examples/hash/sha1.c
40
ATTRIBUTE_WARN_UNUSED_RET static inline int sha1_process(sha1_context *ctx,
crypto/libecc/src/examples/hash/sha1.c
94
ATTRIBUTE_WARN_UNUSED_RET int sha1_init(sha1_context *ctx)
crypto/libecc/src/examples/hash/sha1.h
113
ATTRIBUTE_WARN_UNUSED_RET int sha1_init(sha1_context *ctx);
crypto/libecc/src/examples/hash/sha1.h
115
ATTRIBUTE_WARN_UNUSED_RET int sha1_update(sha1_context *ctx, const u8 *input, u32 ilen);
crypto/libecc/src/examples/hash/sha1.h
118
ATTRIBUTE_WARN_UNUSED_RET int sha1_final(sha1_context *ctx, u8 output[SHA1_DIGEST_SIZE]);
crypto/libecc/src/examples/hash/sha1.h
126
ATTRIBUTE_WARN_UNUSED_RET int sha1_scattered(const u8 **inputs, const u32 *ilens,
crypto/libecc/src/examples/hash/sha1.h
133
ATTRIBUTE_WARN_UNUSED_RET int sha1(const u8 *input, u32 ilen, u8 output[SHA1_DIGEST_SIZE]);
crypto/libecc/src/examples/hash/tdes.c
253
ATTRIBUTE_WARN_UNUSED_RET int des_set_key(des_context *ctx, const u8 k[8], des_direction dir)
crypto/libecc/src/examples/hash/tdes.c
341
ATTRIBUTE_WARN_UNUSED_RET static inline int des_core(const des_context *ctx, const u8 input[8], u8 output[8])
crypto/libecc/src/examples/hash/tdes.c
377
ATTRIBUTE_WARN_UNUSED_RET int des(const des_context *ctx, const u8 input[8], u8 output[8])
crypto/libecc/src/examples/hash/tdes.c
383
ATTRIBUTE_WARN_UNUSED_RET int des3_set_keys(des3_context *ctx, const u8 k1[8], const u8 k2[8], const u8 k3[8], des_direction dir)
crypto/libecc/src/examples/hash/tdes.c
447
ATTRIBUTE_WARN_UNUSED_RET int des3(const des3_context *ctx, const u8 input[8], u8 output[8])
crypto/libecc/src/examples/hash/tdes.h
66
ATTRIBUTE_WARN_UNUSED_RET int des_set_key(des_context *ctx, const u8 k[8], des_direction dir);
crypto/libecc/src/examples/hash/tdes.h
69
ATTRIBUTE_WARN_UNUSED_RET int des(const des_context *ctx, const u8 input[8], u8 output[8]);
crypto/libecc/src/examples/hash/tdes.h
72
ATTRIBUTE_WARN_UNUSED_RET int des3_set_keys(des3_context *ctx, const u8 k1[8], const u8 k2[8], const u8 k3[8], des_direction dir);
crypto/libecc/src/examples/hash/tdes.h
75
ATTRIBUTE_WARN_UNUSED_RET int des3(const des3_context *ctx, const u8 input[8], u8 output[8]);
crypto/libecc/src/examples/sig/common/common.h
145
ATTRIBUTE_WARN_UNUSED_RET static inline int _blind_scalar(nn_src_t m, nn_src_t q, nn_t m_blind)
crypto/libecc/src/examples/sig/common/common.h
177
ATTRIBUTE_WARN_UNUSED_RET static inline int _nn_mod_pow_insecure(nn_t out, nn_src_t base,
crypto/libecc/src/examples/sig/common/common.h
31
ATTRIBUTE_WARN_UNUSED_RET static inline int _os2ip(nn_t x, const u8 *buf, u16 buflen)
crypto/libecc/src/examples/sig/common/common.h
48
ATTRIBUTE_WARN_UNUSED_RET static inline int _reverse_endianness(u8 *buf, u16 buf_size)
crypto/libecc/src/examples/sig/common/common.h
89
ATTRIBUTE_WARN_UNUSED_RET static inline int _fix_scalar_msb(nn_src_t m, nn_src_t q, nn_t m_msb_fixed)
crypto/libecc/src/examples/sig/common/common.h
9
ATTRIBUTE_WARN_UNUSED_RET static inline int _i2osp(nn_src_t x, u8 *buf, u16 buflen)
crypto/libecc/src/examples/sig/dsa/dsa.h
55
ATTRIBUTE_WARN_UNUSED_RET int dsa_import_priv_key(dsa_priv_key *priv, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/dsa/dsa.h
60
ATTRIBUTE_WARN_UNUSED_RET int dsa_import_pub_key(dsa_pub_key *pub, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/dsa/dsa.h
65
ATTRIBUTE_WARN_UNUSED_RET int dsa_compute_pub_from_priv(dsa_pub_key *pub,
crypto/libecc/src/examples/sig/dsa/dsa.h
68
ATTRIBUTE_WARN_UNUSED_RET int dsa_sign(const dsa_priv_key *priv, const u8 *msg, u32 msglen,
crypto/libecc/src/examples/sig/dsa/dsa.h
72
ATTRIBUTE_WARN_UNUSED_RET int dsa_verify(const dsa_pub_key *pub, const u8 *msg, u32 msglen,
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.h
52
ATTRIBUTE_WARN_UNUSED_RET int gostr34_10_94_import_priv_key(gostr34_10_94_priv_key *priv, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.h
57
ATTRIBUTE_WARN_UNUSED_RET int gostr34_10_94_import_pub_key(gostr34_10_94_pub_key *pub, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.h
62
ATTRIBUTE_WARN_UNUSED_RET int gostr34_10_94_compute_pub_from_priv(gostr34_10_94_pub_key *pub,
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.h
65
ATTRIBUTE_WARN_UNUSED_RET int gostr34_10_94_sign(const gostr34_10_94_priv_key *priv, const u8 *msg, u32 msglen,
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.h
69
ATTRIBUTE_WARN_UNUSED_RET int gostr34_10_94_verify(const gostr34_10_94_pub_key *pub, const u8 *msg, u32 msglen,
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
100
ATTRIBUTE_WARN_UNUSED_RET static int buf_lshift(u8 *buf, u16 buflen, u16 shift)
crypto/libecc/src/examples/sig/kcdsa/kcdsa.h
52
ATTRIBUTE_WARN_UNUSED_RET int kcdsa_import_priv_key(kcdsa_priv_key *priv, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/kcdsa/kcdsa.h
57
ATTRIBUTE_WARN_UNUSED_RET int kcdsa_import_pub_key(kcdsa_pub_key *pub, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/kcdsa/kcdsa.h
62
ATTRIBUTE_WARN_UNUSED_RET int kcdsa_compute_pub_from_priv(kcdsa_pub_key *pub,
crypto/libecc/src/examples/sig/kcdsa/kcdsa.h
65
ATTRIBUTE_WARN_UNUSED_RET int kcdsa_sign(const kcdsa_priv_key *priv, const u8 *msg, u32 msglen,
crypto/libecc/src/examples/sig/kcdsa/kcdsa.h
69
ATTRIBUTE_WARN_UNUSED_RET int kcdsa_verify(const kcdsa_pub_key *pub, const u8 *msg, u32 msglen,
crypto/libecc/src/examples/sig/rsa/rsa.c
1202
ATTRIBUTE_WARN_UNUSED_RET static int _rsaes_pkcs1_v1_5_decrypt(const rsa_priv_key *priv, const rsa_pub_key *pub, const u8 *c, u32 clen,
crypto/libecc/src/examples/sig/rsa/rsa.c
1418
ATTRIBUTE_WARN_UNUSED_RET static int _rsaes_oaep_decrypt(const rsa_priv_key *priv, const rsa_pub_key *pub, const u8 *c, u32 clen,
crypto/libecc/src/examples/sig/rsa/rsa.c
1577
ATTRIBUTE_WARN_UNUSED_RET static int _rsassa_pkcs1_v1_5_sign(const rsa_priv_key *priv, const rsa_pub_key *pub, const u8 *m, u32 mlen,
crypto/libecc/src/examples/sig/rsa/rsa.c
1697
ATTRIBUTE_WARN_UNUSED_RET static int _rsassa_pss_sign(const rsa_priv_key *priv, const rsa_pub_key *pub, const u8 *m, u32 mlen,
crypto/libecc/src/examples/sig/rsa/rsa.c
1835
ATTRIBUTE_WARN_UNUSED_RET static int _rsa_iso9796_2_sign_recover(const rsa_priv_key *priv, const rsa_pub_key *pub,
crypto/libecc/src/examples/sig/rsa/rsa.c
253
ATTRIBUTE_WARN_UNUSED_RET static int _rsa_blind_exponent(nn_src_t e, nn_src_t mod, nn_t out, bitcnt_t bits, u8 dec)
crypto/libecc/src/examples/sig/rsa/rsa.c
294
ATTRIBUTE_WARN_UNUSED_RET static int rsadp_crt_coeffs(const rsa_priv_key *priv, nn_src_t c, nn_t m, u8 u)
crypto/libecc/src/examples/sig/rsa/rsa.c
357
ATTRIBUTE_WARN_UNUSED_RET static int rsadp_crt(const rsa_priv_key *priv, nn_src_t c, nn_t m)
crypto/libecc/src/examples/sig/rsa/rsa.c
425
ATTRIBUTE_WARN_UNUSED_RET static int rsadp_nocrt(const rsa_priv_key *priv, nn_src_t c, nn_t m)
crypto/libecc/src/examples/sig/rsa/rsa.c
603
ATTRIBUTE_WARN_UNUSED_RET static int rsa_digestinfo_from_hash(gen_hash_alg_type gen_hash_type, u8 *digestinfo, u32 *digestinfo_len)
crypto/libecc/src/examples/sig/rsa/rsa.c
786
ATTRIBUTE_WARN_UNUSED_RET static int _mgf1(const u8 *z, u16 zlen,
crypto/libecc/src/examples/sig/rsa/rsa.h
104
ATTRIBUTE_WARN_UNUSED_RET int rsa_i2osp(nn_src_t x, u8 *buf, u32 buflen);
crypto/libecc/src/examples/sig/rsa/rsa.h
105
ATTRIBUTE_WARN_UNUSED_RET int rsa_os2ip(nn_t x, const u8 *buf, u32 buflen);
crypto/libecc/src/examples/sig/rsa/rsa.h
107
ATTRIBUTE_WARN_UNUSED_RET int rsa_import_pub_key(rsa_pub_key *pub, const u8 *n,
crypto/libecc/src/examples/sig/rsa/rsa.h
109
ATTRIBUTE_WARN_UNUSED_RET int rsa_import_simple_priv_key(rsa_priv_key *priv,
crypto/libecc/src/examples/sig/rsa/rsa.h
112
ATTRIBUTE_WARN_UNUSED_RET int rsa_import_crt_priv_key(rsa_priv_key *priv,
crypto/libecc/src/examples/sig/rsa/rsa.h
120
ATTRIBUTE_WARN_UNUSED_RET int rsaep(const rsa_pub_key *pub, nn_src_t m, nn_t c);
crypto/libecc/src/examples/sig/rsa/rsa.h
121
ATTRIBUTE_WARN_UNUSED_RET int rsadp(const rsa_priv_key *priv, nn_src_t c, nn_t m);
crypto/libecc/src/examples/sig/rsa/rsa.h
122
ATTRIBUTE_WARN_UNUSED_RET int rsadp_hardened(const rsa_priv_key *priv, const rsa_pub_key *pub, nn_src_t c, nn_t m);
crypto/libecc/src/examples/sig/rsa/rsa.h
124
ATTRIBUTE_WARN_UNUSED_RET int rsasp1(const rsa_priv_key *priv, nn_src_t m, nn_t s);
crypto/libecc/src/examples/sig/rsa/rsa.h
125
ATTRIBUTE_WARN_UNUSED_RET int rsasp1_hardened(const rsa_priv_key *priv, const rsa_pub_key *pub, nn_src_t m, nn_t s);
crypto/libecc/src/examples/sig/rsa/rsa.h
126
ATTRIBUTE_WARN_UNUSED_RET int rsavp1(const rsa_pub_key *pub, nn_src_t s, nn_t m);
crypto/libecc/src/examples/sig/rsa/rsa.h
128
ATTRIBUTE_WARN_UNUSED_RET int emsa_pkcs1_v1_5_encode(const u8 *m, u32 mlen, u8 *em, u16 emlen,
crypto/libecc/src/examples/sig/rsa/rsa.h
130
ATTRIBUTE_WARN_UNUSED_RET int emsa_pss_encode(const u8 *m, u32 mlen, u8 *em, u32 embits,
crypto/libecc/src/examples/sig/rsa/rsa.h
134
ATTRIBUTE_WARN_UNUSED_RET int emsa_pss_verify(const u8 *m, u32 mlen, const u8 *em,
crypto/libecc/src/examples/sig/rsa/rsa.h
139
ATTRIBUTE_WARN_UNUSED_RET int rsaes_pkcs1_v1_5_encrypt(const rsa_pub_key *pub, const u8 *m, u32 mlen,
crypto/libecc/src/examples/sig/rsa/rsa.h
142
ATTRIBUTE_WARN_UNUSED_RET int rsaes_pkcs1_v1_5_decrypt(const rsa_priv_key *priv, const u8 *c, u32 clen,
crypto/libecc/src/examples/sig/rsa/rsa.h
144
ATTRIBUTE_WARN_UNUSED_RET int rsaes_pkcs1_v1_5_decrypt_hardened(const rsa_priv_key *priv, const rsa_pub_key *pub, const u8 *c, u32 clen,
crypto/libecc/src/examples/sig/rsa/rsa.h
147
ATTRIBUTE_WARN_UNUSED_RET int rsaes_oaep_encrypt(const rsa_pub_key *pub, const u8 *m, u32 mlen,
crypto/libecc/src/examples/sig/rsa/rsa.h
151
ATTRIBUTE_WARN_UNUSED_RET int rsaes_oaep_decrypt(const rsa_priv_key *priv, const u8 *c, u32 clen,
crypto/libecc/src/examples/sig/rsa/rsa.h
154
ATTRIBUTE_WARN_UNUSED_RET int rsaes_oaep_decrypt_hardened(const rsa_priv_key *priv, const rsa_pub_key *pub, const u8 *c, u32 clen,
crypto/libecc/src/examples/sig/rsa/rsa.h
158
ATTRIBUTE_WARN_UNUSED_RET int rsassa_pkcs1_v1_5_sign(const rsa_priv_key *priv, const u8 *m, u32 mlen,
crypto/libecc/src/examples/sig/rsa/rsa.h
160
ATTRIBUTE_WARN_UNUSED_RET int rsassa_pkcs1_v1_5_sign_hardened(const rsa_priv_key *priv, const rsa_pub_key *pub, const u8 *m, u32 mlen,
crypto/libecc/src/examples/sig/rsa/rsa.h
162
ATTRIBUTE_WARN_UNUSED_RET int rsassa_pkcs1_v1_5_verify(const rsa_pub_key *pub, const u8 *m, u32 mlen,
crypto/libecc/src/examples/sig/rsa/rsa.h
165
ATTRIBUTE_WARN_UNUSED_RET int rsassa_pss_sign(const rsa_priv_key *priv, const u8 *m, u32 mlen,
crypto/libecc/src/examples/sig/rsa/rsa.h
169
ATTRIBUTE_WARN_UNUSED_RET int rsassa_pss_sign_hardened(const rsa_priv_key *priv, const rsa_pub_key *pub, const u8 *m, u32 mlen,
crypto/libecc/src/examples/sig/rsa/rsa.h
173
ATTRIBUTE_WARN_UNUSED_RET int rsassa_pss_verify(const rsa_pub_key *pub, const u8 *m, u32 mlen,
crypto/libecc/src/examples/sig/rsa/rsa.h
178
ATTRIBUTE_WARN_UNUSED_RET int rsa_iso9796_2_sign_recover(const rsa_priv_key *priv, const u8 *m, u32 mlen, u32 *m1len,
crypto/libecc/src/examples/sig/rsa/rsa.h
182
ATTRIBUTE_WARN_UNUSED_RET int rsa_iso9796_2_sign_recover_hardened(const rsa_priv_key *priv, const rsa_pub_key *pub,
crypto/libecc/src/examples/sig/rsa/rsa.h
185
ATTRIBUTE_WARN_UNUSED_RET int rsa_iso9796_2_verify_recover(const rsa_pub_key *pub, const u8 *m2, u32 m2len, u8 *m1, u32 *m1len,
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
54
ATTRIBUTE_WARN_UNUSED_RET static inline int perform_rsa_tests(const rsa_test **tests, u32 num_tests)
crypto/libecc/src/examples/sig/sdsa/sdsa.h
52
ATTRIBUTE_WARN_UNUSED_RET int sdsa_import_priv_key(sdsa_priv_key *priv, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/sdsa/sdsa.h
57
ATTRIBUTE_WARN_UNUSED_RET int sdsa_import_pub_key(sdsa_pub_key *pub, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/sdsa/sdsa.h
62
ATTRIBUTE_WARN_UNUSED_RET int sdsa_compute_pub_from_priv(sdsa_pub_key *pub,
crypto/libecc/src/examples/sig/sdsa/sdsa.h
65
ATTRIBUTE_WARN_UNUSED_RET int sdsa_sign(const sdsa_priv_key *priv, const u8 *msg, u32 msglen,
crypto/libecc/src/examples/sig/sdsa/sdsa.h
69
ATTRIBUTE_WARN_UNUSED_RET int sdsa_verify(const sdsa_pub_key *pub, const u8 *msg, u32 msglen,
crypto/libecc/src/examples/sss/sss.c
125
ATTRIBUTE_WARN_UNUSED_RET static int _sss_raw_generate(sss_share *shares, u16 k, u16 n, sss_secret *secret, boolean input_secret)
crypto/libecc/src/examples/sss/sss.c
289
ATTRIBUTE_WARN_UNUSED_RET static int _sss_raw_lagrange(const sss_share *shares, u16 k, sss_secret *secret, u16 val)
crypto/libecc/src/examples/sss/sss.c
410
ATTRIBUTE_WARN_UNUSED_RET static int _sss_raw_combine(const sss_share *shares, u16 k, sss_secret *secret)
crypto/libecc/src/examples/sss/sss.c
85
ATTRIBUTE_WARN_UNUSED_RET static int _sss_derive_seed(fp_t out, const u8 seed[SSS_SECRET_SIZE], u16 idx)
crypto/libecc/src/examples/sss/sss.h
22
#ifndef ATTRIBUTE_WARN_UNUSED_RET
crypto/libecc/src/examples/sss/sss.h
75
ATTRIBUTE_WARN_UNUSED_RET int sss_generate(sss_share *shares, unsigned short k, unsigned short n, sss_secret *secret, boolean input_secret);
crypto/libecc/src/examples/sss/sss.h
84
ATTRIBUTE_WARN_UNUSED_RET int sss_combine(const sss_share *shares, unsigned short k, sss_secret *secret);
crypto/libecc/src/examples/sss/sss.h
96
ATTRIBUTE_WARN_UNUSED_RET int sss_regenerate(sss_share *shares, unsigned short k, unsigned short n, sss_secret *secret);
crypto/libecc/src/external_deps/rand.c
35
ATTRIBUTE_WARN_UNUSED_RET static int fimport(unsigned char *buf, u16 buflen,
crypto/libecc/src/fp/fp_mul_redc1.c
25
ATTRIBUTE_WARN_UNUSED_RET static inline int _fp_mul_redc1(nn_t out, nn_src_t in1, nn_src_t in2,
crypto/libecc/src/fp/fp_pow.c
28
ATTRIBUTE_WARN_UNUSED_RET static int _fp_pow(fp_t out, fp_src_t base, nn_src_t exp)
crypto/libecc/src/fp/fp_pow.c
39
ATTRIBUTE_WARN_UNUSED_RET static int _fp_pow_aliased(fp_t out, nn_src_t exp)
crypto/libecc/src/fp/fp_sqrt.c
26
ATTRIBUTE_WARN_UNUSED_RET static int legendre(fp_src_t a)
crypto/libecc/src/hash/belt-hash.c
269
ATTRIBUTE_WARN_UNUSED_RET static int belt_hash_process(belt_hash_context *ctx, const u8 data[BELT_HASH_BLOCK_SIZE])
crypto/libecc/src/hash/belt-hash.c
276
ATTRIBUTE_WARN_UNUSED_RET static int belt_hash_finalize(const u8 s[2 * BELT_BLOCK_LEN], const u8 h[2 * BELT_BLOCK_LEN], u8 res[2 * BELT_BLOCK_LEN])
crypto/libecc/src/hash/hash_algs.c
108
ATTRIBUTE_WARN_UNUSED_RET int hash_mapping_callbacks_sanity_check(const hash_mapping *h)
crypto/libecc/src/hash/hash_algs.c
151
ATTRIBUTE_WARN_UNUSED_RET int _sha224_init(hash_context * hctx)
crypto/libecc/src/hash/hash_algs.c
155
ATTRIBUTE_WARN_UNUSED_RET int _sha224_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen)
crypto/libecc/src/hash/hash_algs.c
159
ATTRIBUTE_WARN_UNUSED_RET int _sha224_final(hash_context * hctx, unsigned char *output)
crypto/libecc/src/hash/hash_algs.c
165
ATTRIBUTE_WARN_UNUSED_RET int _sha256_init(hash_context * hctx)
crypto/libecc/src/hash/hash_algs.c
169
ATTRIBUTE_WARN_UNUSED_RET int _sha256_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen)
crypto/libecc/src/hash/hash_algs.c
173
ATTRIBUTE_WARN_UNUSED_RET int _sha256_final(hash_context * hctx, unsigned char *output)
crypto/libecc/src/hash/hash_algs.c
179
ATTRIBUTE_WARN_UNUSED_RET int _sha384_init(hash_context * hctx)
crypto/libecc/src/hash/hash_algs.c
183
ATTRIBUTE_WARN_UNUSED_RET int _sha384_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen)
crypto/libecc/src/hash/hash_algs.c
187
ATTRIBUTE_WARN_UNUSED_RET int _sha384_final(hash_context * hctx, unsigned char *output)
crypto/libecc/src/hash/hash_algs.c
193
ATTRIBUTE_WARN_UNUSED_RET int _sha512_init(hash_context * hctx)
crypto/libecc/src/hash/hash_algs.c
197
ATTRIBUTE_WARN_UNUSED_RET int _sha512_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen)
crypto/libecc/src/hash/hash_algs.c
201
ATTRIBUTE_WARN_UNUSED_RET int _sha512_final(hash_context * hctx, unsigned char *output)
crypto/libecc/src/hash/hash_algs.c
207
ATTRIBUTE_WARN_UNUSED_RET int _sha512_224_init(hash_context * hctx)
crypto/libecc/src/hash/hash_algs.c
211
ATTRIBUTE_WARN_UNUSED_RET int _sha512_224_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen)
crypto/libecc/src/hash/hash_algs.c
215
ATTRIBUTE_WARN_UNUSED_RET int _sha512_224_final(hash_context * hctx, unsigned char *output)
crypto/libecc/src/hash/hash_algs.c
221
ATTRIBUTE_WARN_UNUSED_RET int _sha512_256_init(hash_context * hctx)
crypto/libecc/src/hash/hash_algs.c
225
ATTRIBUTE_WARN_UNUSED_RET int _sha512_256_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen)
crypto/libecc/src/hash/hash_algs.c
229
ATTRIBUTE_WARN_UNUSED_RET int _sha512_256_final(hash_context * hctx, unsigned char *output)
crypto/libecc/src/hash/hash_algs.c
23
ATTRIBUTE_WARN_UNUSED_RET int get_hash_by_name(const char *hash_name, const hash_mapping **hm)
crypto/libecc/src/hash/hash_algs.c
235
ATTRIBUTE_WARN_UNUSED_RET int _sha3_224_init(hash_context * hctx)
crypto/libecc/src/hash/hash_algs.c
239
ATTRIBUTE_WARN_UNUSED_RET int _sha3_224_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen)
crypto/libecc/src/hash/hash_algs.c
243
ATTRIBUTE_WARN_UNUSED_RET int _sha3_224_final(hash_context * hctx, unsigned char *output)
crypto/libecc/src/hash/hash_algs.c
249
ATTRIBUTE_WARN_UNUSED_RET int _sha3_256_init(hash_context * hctx)
crypto/libecc/src/hash/hash_algs.c
253
ATTRIBUTE_WARN_UNUSED_RET int _sha3_256_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen)
crypto/libecc/src/hash/hash_algs.c
257
ATTRIBUTE_WARN_UNUSED_RET int _sha3_256_final(hash_context * hctx, unsigned char *output)
crypto/libecc/src/hash/hash_algs.c
263
ATTRIBUTE_WARN_UNUSED_RET int _sha3_384_init(hash_context * hctx)
crypto/libecc/src/hash/hash_algs.c
267
ATTRIBUTE_WARN_UNUSED_RET int _sha3_384_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen)
crypto/libecc/src/hash/hash_algs.c
271
ATTRIBUTE_WARN_UNUSED_RET int _sha3_384_final(hash_context * hctx, unsigned char *output)
crypto/libecc/src/hash/hash_algs.c
277
ATTRIBUTE_WARN_UNUSED_RET int _sha3_512_init(hash_context * hctx)
crypto/libecc/src/hash/hash_algs.c
281
ATTRIBUTE_WARN_UNUSED_RET int _sha3_512_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen)
crypto/libecc/src/hash/hash_algs.c
285
ATTRIBUTE_WARN_UNUSED_RET int _sha3_512_final(hash_context * hctx, unsigned char *output)
crypto/libecc/src/hash/hash_algs.c
291
ATTRIBUTE_WARN_UNUSED_RET int _sm3_init(hash_context * hctx)
crypto/libecc/src/hash/hash_algs.c
295
ATTRIBUTE_WARN_UNUSED_RET int _sm3_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen)
crypto/libecc/src/hash/hash_algs.c
299
ATTRIBUTE_WARN_UNUSED_RET int _sm3_final(hash_context * hctx, unsigned char *output)
crypto/libecc/src/hash/hash_algs.c
305
ATTRIBUTE_WARN_UNUSED_RET int _shake256_init(hash_context * hctx)
crypto/libecc/src/hash/hash_algs.c
309
ATTRIBUTE_WARN_UNUSED_RET int _shake256_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen)
crypto/libecc/src/hash/hash_algs.c
313
ATTRIBUTE_WARN_UNUSED_RET int _shake256_final(hash_context * hctx, unsigned char *output)
crypto/libecc/src/hash/hash_algs.c
319
ATTRIBUTE_WARN_UNUSED_RET int _streebog256_init(hash_context * hctx)
crypto/libecc/src/hash/hash_algs.c
323
ATTRIBUTE_WARN_UNUSED_RET int _streebog256_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen)
crypto/libecc/src/hash/hash_algs.c
327
ATTRIBUTE_WARN_UNUSED_RET int _streebog256_final(hash_context * hctx, unsigned char *output)
crypto/libecc/src/hash/hash_algs.c
333
ATTRIBUTE_WARN_UNUSED_RET int _streebog512_init(hash_context * hctx)
crypto/libecc/src/hash/hash_algs.c
337
ATTRIBUTE_WARN_UNUSED_RET int _streebog512_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen)
crypto/libecc/src/hash/hash_algs.c
341
ATTRIBUTE_WARN_UNUSED_RET int _streebog512_final(hash_context * hctx, unsigned char *output)
crypto/libecc/src/hash/hash_algs.c
347
ATTRIBUTE_WARN_UNUSED_RET int _ripemd160_init(hash_context * hctx)
crypto/libecc/src/hash/hash_algs.c
351
ATTRIBUTE_WARN_UNUSED_RET int _ripemd160_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen)
crypto/libecc/src/hash/hash_algs.c
355
ATTRIBUTE_WARN_UNUSED_RET int _ripemd160_final(hash_context * hctx, unsigned char *output)
crypto/libecc/src/hash/hash_algs.c
361
ATTRIBUTE_WARN_UNUSED_RET int _belt_hash_init(hash_context * hctx)
crypto/libecc/src/hash/hash_algs.c
365
ATTRIBUTE_WARN_UNUSED_RET int _belt_hash_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen)
crypto/libecc/src/hash/hash_algs.c
369
ATTRIBUTE_WARN_UNUSED_RET int _belt_hash_final(hash_context * hctx, unsigned char *output)
crypto/libecc/src/hash/hash_algs.c
375
ATTRIBUTE_WARN_UNUSED_RET int _bash224_init(hash_context * hctx)
crypto/libecc/src/hash/hash_algs.c
379
ATTRIBUTE_WARN_UNUSED_RET int _bash224_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen)
crypto/libecc/src/hash/hash_algs.c
383
ATTRIBUTE_WARN_UNUSED_RET int _bash224_final(hash_context * hctx, unsigned char *output)
crypto/libecc/src/hash/hash_algs.c
389
ATTRIBUTE_WARN_UNUSED_RET int _bash256_init(hash_context * hctx)
crypto/libecc/src/hash/hash_algs.c
393
ATTRIBUTE_WARN_UNUSED_RET int _bash256_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen)
crypto/libecc/src/hash/hash_algs.c
397
ATTRIBUTE_WARN_UNUSED_RET int _bash256_final(hash_context * hctx, unsigned char *output)
crypto/libecc/src/hash/hash_algs.c
403
ATTRIBUTE_WARN_UNUSED_RET int _bash384_init(hash_context * hctx)
crypto/libecc/src/hash/hash_algs.c
407
ATTRIBUTE_WARN_UNUSED_RET int _bash384_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen)
crypto/libecc/src/hash/hash_algs.c
411
ATTRIBUTE_WARN_UNUSED_RET int _bash384_final(hash_context * hctx, unsigned char *output)
crypto/libecc/src/hash/hash_algs.c
417
ATTRIBUTE_WARN_UNUSED_RET int _bash512_init(hash_context * hctx)
crypto/libecc/src/hash/hash_algs.c
421
ATTRIBUTE_WARN_UNUSED_RET int _bash512_update(hash_context * hctx, const unsigned char *chunk, u32 chunklen)
crypto/libecc/src/hash/hash_algs.c
425
ATTRIBUTE_WARN_UNUSED_RET int _bash512_final(hash_context * hctx, unsigned char *output)
crypto/libecc/src/hash/hash_algs.c
52
ATTRIBUTE_WARN_UNUSED_RET int get_hash_by_type(hash_alg_type hash_type, const hash_mapping **hm)
crypto/libecc/src/hash/hash_algs.c
80
ATTRIBUTE_WARN_UNUSED_RET int get_hash_sizes(hash_alg_type hash_type, u8 *digest_size, u8 *block_size)
crypto/libecc/src/hash/ripemd160.c
113
ATTRIBUTE_WARN_UNUSED_RET static int ripemd160_process(ripemd160_context *ctx,
crypto/libecc/src/hash/sha224.c
22
ATTRIBUTE_WARN_UNUSED_RET static int sha224_process(sha224_context *ctx,
crypto/libecc/src/hash/sha256.c
22
ATTRIBUTE_WARN_UNUSED_RET static int sha256_process(sha256_context *ctx,
crypto/libecc/src/hash/sha384.c
22
ATTRIBUTE_WARN_UNUSED_RET static int sha384_process(sha384_context *ctx,
crypto/libecc/src/hash/sha512_core.c
21
ATTRIBUTE_WARN_UNUSED_RET static int sha512_core_process(sha512_core_context *ctx,
crypto/libecc/src/hash/sm3.c
85
ATTRIBUTE_WARN_UNUSED_RET static int sm3_process(sm3_context *ctx, const u8 data[SM3_BLOCK_SIZE])
crypto/libecc/src/hash/streebog.c
103
ATTRIBUTE_WARN_UNUSED_RET static int streebog_final(streebog_context *ctx, u8 *output)
crypto/libecc/src/hash/streebog.c
30
ATTRIBUTE_WARN_UNUSED_RET static int streebog_init(streebog_context *ctx, u8 digest_size, u8 block_size)
crypto/libecc/src/hash/streebog.c
56
ATTRIBUTE_WARN_UNUSED_RET static int streebog_update(streebog_context *ctx, const u8 *input, u32 ilen)
crypto/libecc/src/nn/nn.c
444
ATTRIBUTE_WARN_UNUSED_RET static int _ntohw(const u8 *val, word_t *out)
crypto/libecc/src/nn/nn.c
47
ATTRIBUTE_WARN_UNUSED_RET static int ATTRIBUTE_UNUSED __nn_is_wlen_consistent(nn_src_t A)
crypto/libecc/src/nn/nn.c
477
ATTRIBUTE_WARN_UNUSED_RET static inline int _htonw(const u8 *val, word_t *out)
crypto/libecc/src/nn/nn_add.c
179
ATTRIBUTE_WARN_UNUSED_RET static int nn_add_word(nn_t out, nn_src_t in1, word_t w)
crypto/libecc/src/nn/nn_add.c
60
ATTRIBUTE_WARN_UNUSED_RET static int _nn_cnd_add(int cnd, nn_t out, nn_src_t in1, nn_src_t in2,
crypto/libecc/src/nn/nn_div.c
1046
ATTRIBUTE_WARN_UNUSED_RET static int _nn_xgcd(nn_t g, nn_t u, nn_t v, nn_src_t a, nn_src_t b,
crypto/libecc/src/nn/nn_div.c
114
ATTRIBUTE_WARN_UNUSED_RET static int _nn_submul_word_shift(nn_t out, nn_src_t in, word_t w, u8 shift,
crypto/libecc/src/nn/nn_div.c
194
ATTRIBUTE_WARN_UNUSED_RET static int _nn_divrem_normalized(nn_t q, nn_t r,
crypto/libecc/src/nn/nn_div.c
310
ATTRIBUTE_WARN_UNUSED_RET static int _nn_divrem_normalized_aliased(nn_t q, nn_src_t a, nn_t b, word_t v)
crypto/libecc/src/nn/nn_div.c
409
ATTRIBUTE_WARN_UNUSED_RET static int _nn_divrem_unshifted(nn_t q, nn_t r, nn_src_t a, nn_src_t b_norm,
crypto/libecc/src/nn/nn_div.c
43
ATTRIBUTE_WARN_UNUSED_RET static int _nn_cmp_shift(nn_src_t in1, nn_src_t in2, u8 shift, int *cmp)
crypto/libecc/src/nn/nn_div.c
488
ATTRIBUTE_WARN_UNUSED_RET static int _nn_divrem_unshifted_aliased(nn_t q, nn_src_t a, nn_t b_norm,
crypto/libecc/src/nn/nn_div.c
573
ATTRIBUTE_WARN_UNUSED_RET static int _wcmp_22(word_t a[2], word_t b[2])
crypto/libecc/src/nn/nn_div.c
588
ATTRIBUTE_WARN_UNUSED_RET static word_t _wadd_22(word_t a[2], word_t b[2])
crypto/libecc/src/nn/nn_div.c
604
ATTRIBUTE_WARN_UNUSED_RET static word_t _wsub_22(word_t a[2], word_t b[2])
crypto/libecc/src/nn/nn_div.c
649
ATTRIBUTE_WARN_UNUSED_RET static int _word_divrem(word_t *q, word_t *r, word_t ah, word_t al, word_t b)
crypto/libecc/src/nn/nn_div.c
75
ATTRIBUTE_WARN_UNUSED_RET static int _nn_cnd_sub_shift(int cnd, nn_t out, nn_src_t in,
crypto/libecc/src/nn/nn_div.c
872
ATTRIBUTE_WARN_UNUSED_RET static int _nn_divrem(nn_t q, nn_t r, nn_src_t a, nn_src_t b)
crypto/libecc/src/nn/nn_div.c
924
ATTRIBUTE_WARN_UNUSED_RET static int __nn_divrem_notrim_alias(nn_t q, nn_t r, nn_src_t a, nn_src_t b)
crypto/libecc/src/nn/nn_div.h
23
ATTRIBUTE_WARN_UNUSED_RET int nn_divrem_notrim(nn_t q, nn_t r, nn_src_t a, nn_src_t b);
crypto/libecc/src/nn/nn_div.h
24
ATTRIBUTE_WARN_UNUSED_RET int nn_divrem_unshifted(nn_t q, nn_t r, nn_src_t a, nn_src_t b, word_t v,
crypto/libecc/src/nn/nn_div.h
26
ATTRIBUTE_WARN_UNUSED_RET int nn_divrem_normalized(nn_t q, nn_t r, nn_src_t a, nn_src_t b, word_t v);
crypto/libecc/src/nn/nn_div.h
30
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_notrim(nn_t r, nn_src_t a, nn_src_t b);
crypto/libecc/src/nn/nn_div.h
31
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_unshifted(nn_t r, nn_src_t a, nn_src_t b, word_t v, bitcnt_t cnt);
crypto/libecc/src/nn/nn_div.h
32
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_normalized(nn_t r, nn_src_t a, nn_src_t b, word_t v);
crypto/libecc/src/nn/nn_div.h
35
ATTRIBUTE_WARN_UNUSED_RET int wreciprocal(word_t dh, word_t dl, word_t *reciprocal);
crypto/libecc/src/nn/nn_div.h
36
ATTRIBUTE_WARN_UNUSED_RET int nn_compute_div_coefs(nn_t p_normalized, word_t *p_shift,
crypto/libecc/src/nn/nn_logical.c
485
ATTRIBUTE_WARN_UNUSED_RET static u8 wclz(word_t A)
crypto/libecc/src/nn/nn_mod_pow.c
174
ATTRIBUTE_WARN_UNUSED_RET static int _nn_mod_pow_redc(nn_t out, nn_src_t base, nn_src_t exp, nn_src_t mod, nn_src_t r, nn_src_t r_square, word_t mpinv)
crypto/libecc/src/nn/nn_mod_pow.c
197
ATTRIBUTE_WARN_UNUSED_RET static int _nn_mod_pow(nn_t out, nn_src_t base, nn_src_t exp, nn_src_t mod)
crypto/libecc/src/nn/nn_mod_pow.c
222
ATTRIBUTE_WARN_UNUSED_RET static int _nn_mod_pow_redc_aliased(nn_t out, nn_src_t base, nn_src_t exp, nn_src_t mod, nn_src_t r, nn_src_t r_square, word_t mpinv)
crypto/libecc/src/nn/nn_mod_pow.c
39
ATTRIBUTE_WARN_UNUSED_RET static int _nn_exp_monty_ladder_ltr(nn_t out, nn_src_t base, nn_src_t exp, nn_src_t mod, nn_src_t r, nn_src_t r_square, word_t mpinv)
crypto/libecc/src/nn/nn_modinv.c
285
ATTRIBUTE_WARN_UNUSED_RET static inline int _nn_sub_mod_2exp(nn_t A, nn_src_t B)
crypto/libecc/src/nn/nn_modinv.c
443
ATTRIBUTE_WARN_UNUSED_RET static int _nn_modinv_fermat_common(nn_t out, nn_src_t x, nn_src_t p, nn_t p_minus_two, int *lesstwo)
crypto/libecc/src/nn/nn_modinv.c
49
ATTRIBUTE_WARN_UNUSED_RET static int _nn_modinv_odd(nn_t out, nn_src_t x, nn_src_t m)
crypto/libecc/src/nn/nn_mul.c
106
ATTRIBUTE_WARN_UNUSED_RET static int _nn_mul_low_aliased(nn_t out, nn_src_t in1, nn_src_t in2,
crypto/libecc/src/nn/nn_mul.c
44
ATTRIBUTE_WARN_UNUSED_RET static int _nn_mul_low(nn_t out, nn_src_t in1, nn_src_t in2,
crypto/libecc/src/nn/nn_mul.h
21
ATTRIBUTE_WARN_UNUSED_RET int nn_mul_low(nn_t out, nn_src_t in1, nn_src_t in2, u8 wlimit);
crypto/libecc/src/nn/nn_mul.h
22
ATTRIBUTE_WARN_UNUSED_RET int nn_sqr_low(nn_t out, nn_src_t in, u8 wlimit);
crypto/libecc/src/nn/nn_mul_redc1.c
124
ATTRIBUTE_WARN_UNUSED_RET static int _nn_mul_redc1(nn_t out, nn_src_t in1, nn_src_t in2, nn_src_t p,
crypto/libecc/src/nn/nn_mul_redc1.c
225
ATTRIBUTE_WARN_UNUSED_RET static int _nn_mul_redc1_aliased(nn_t out, nn_src_t in1, nn_src_t in2,
crypto/libecc/src/sig/bign_common.c
200
ATTRIBUTE_WARN_UNUSED_RET static int __bign_determinitic_nonce(nn_t k, nn_src_t q, bitcnt_t q_bit_len,
crypto/libecc/src/sig/bign_common.c
73
ATTRIBUTE_WARN_UNUSED_RET static inline int _reverse_endianness(u8 *buf, u16 buf_size)
crypto/libecc/src/sig/bip0340.c
45
ATTRIBUTE_WARN_UNUSED_RET static int _bip0340_hash(const u8 *tag, u32 tag_len,
crypto/libecc/src/sig/bip0340.c
658
ATTRIBUTE_WARN_UNUSED_RET static int _bip0340_chacha20_block(const u8 key[32], const u8 nonce[12], u32 block_counter, u8 *stream, u32 stream_len){
crypto/libecc/src/sig/bip0340.c
697
ATTRIBUTE_WARN_UNUSED_RET static int _bip0340_compute_batch_csprng_one_scalar(const u8 *seed, u32 seedlen,
crypto/libecc/src/sig/bip0340.c
717
ATTRIBUTE_WARN_UNUSED_RET static int _bip0340_compute_batch_csprng_scalars(const u8 *seed, u32 seedlen,
crypto/libecc/src/sig/bip0340.c
74
ATTRIBUTE_WARN_UNUSED_RET static int _bip0340_set_scalar(nn_t scalar,
crypto/libecc/src/sig/bip0340.c
758
ATTRIBUTE_WARN_UNUSED_RET static int _bip0340_compute_batch_csprng_seed(const u8 **s, const u8 *s_len,
crypto/libecc/src/sig/ecdsa_common.c
48
ATTRIBUTE_WARN_UNUSED_RET static int __ecdsa_rfc6979_nonce(nn_t k, nn_src_t q, bitcnt_t q_bit_len,
crypto/libecc/src/sig/eckcdsa.c
136
ATTRIBUTE_WARN_UNUSED_RET static int buf_lshift(u8 *buf, u8 buflen, u8 shift)
crypto/libecc/src/sig/ecrdsa.c
49
ATTRIBUTE_WARN_UNUSED_RET static inline int _reverse_endianness(u8 *buf, u16 buf_size)
crypto/libecc/src/sig/eddsa.c
102
ATTRIBUTE_WARN_UNUSED_RET static inline int dom2(u16 x, const u8 *y, u16 olen_y, const hash_mapping *h,
crypto/libecc/src/sig/eddsa.c
1052
ATTRIBUTE_WARN_UNUSED_RET static int eddsa_compute_pre_hash(const u8 *message, u32 message_size,
crypto/libecc/src/sig/eddsa.c
118
ATTRIBUTE_WARN_UNUSED_RET static inline int dom4(u16 x, const u8 *y, u16 olen_y, const hash_mapping *h,
crypto/libecc/src/sig/eddsa.c
128
ATTRIBUTE_WARN_UNUSED_RET static inline hash_alg_type get_eddsa_hash_type(ec_alg_type sig_type){
crypto/libecc/src/sig/eddsa.c
159
ATTRIBUTE_WARN_UNUSED_RET static int eddsa_key_type_check_curve(ec_alg_type key_type,
crypto/libecc/src/sig/eddsa.c
191
ATTRIBUTE_WARN_UNUSED_RET static int eddsa_priv_key_sanity_check(const ec_priv_key *in_priv)
crypto/libecc/src/sig/eddsa.c
203
ATTRIBUTE_WARN_UNUSED_RET static int eddsa_pub_key_sanity_check(const ec_pub_key *in_pub)
crypto/libecc/src/sig/eddsa.c
216
ATTRIBUTE_WARN_UNUSED_RET static int eddsa_key_pair_sanity_check(const ec_key_pair *key_pair)
crypto/libecc/src/sig/eddsa.c
2281
ATTRIBUTE_WARN_UNUSED_RET static int _eddsa_verify_batch_no_memory(const u8 **s, const u8 *s_len, const ec_pub_key **pub_keys,
crypto/libecc/src/sig/eddsa.c
232
ATTRIBUTE_WARN_UNUSED_RET static int eddsa_decode_integer(nn_t nn_out, const u8 *buf, u16 buf_size)
crypto/libecc/src/sig/eddsa.c
2583
ATTRIBUTE_WARN_UNUSED_RET static int _eddsa_verify_batch(const u8 **s, const u8 *s_len, const ec_pub_key **pub_keys,
crypto/libecc/src/sig/eddsa.c
261
ATTRIBUTE_WARN_UNUSED_RET static int eddsa_encode_integer(nn_src_t nn_in, u8 *buf, u16 buf_size)
crypto/libecc/src/sig/eddsa.c
294
ATTRIBUTE_WARN_UNUSED_RET static int eddsa_compute_s(nn_t s, const u8 *digest, u16 digest_size)
crypto/libecc/src/sig/eddsa.c
309
ATTRIBUTE_WARN_UNUSED_RET static int eddsa_get_digest_from_priv_key(u8 *digest, u8 *digest_size, const ec_priv_key *in_priv)
crypto/libecc/src/sig/eddsa.c
333
ATTRIBUTE_WARN_UNUSED_RET static int eddsa_encode_point(aff_pt_edwards_src_t in,
crypto/libecc/src/sig/eddsa.c
427
ATTRIBUTE_WARN_UNUSED_RET static int eddsa_decode_point(aff_pt_edwards_t out, ec_edwards_crv_src_t edwards_curve,
crypto/libecc/src/sig/eddsa.c
573
ATTRIBUTE_WARN_UNUSED_RET static int eddsa_derive_priv_key_hash(const ec_priv_key *in_priv,
crypto/libecc/src/sig/eddsa.c
60
ATTRIBUTE_WARN_UNUSED_RET static inline int dom(u16 x, const u8 *y, u16 olen_y, const hash_mapping *h,
crypto/libecc/src/sig/fuzzing_ecrdsa.c
55
ATTRIBUTE_WARN_UNUSED_RET static inline int _reverse_endianness(u8 *buf, u16 buf_size)
crypto/libecc/src/sig/sig_algs.c
1011
ATTRIBUTE_WARN_UNUSED_RET static int _bubble_sort(verify_batch_scratch_pad *elements, u32 num)
crypto/libecc/src/sig/sm2.c
136
ATTRIBUTE_WARN_UNUSED_RET static int sm2_compute_Z(u8 *Z, u16 *Zlen, const u8 *id, u16 id_len,
crypto/libecc/src/tests/ec_self_tests.c
26
extern ATTRIBUTE_WARN_UNUSED_RET int perform_known_test_vectors_test(const char *sig, const char *hash, const char *curve);
crypto/libecc/src/tests/ec_self_tests.c
27
extern ATTRIBUTE_WARN_UNUSED_RET int perform_random_sig_verif_test(const char *sig, const char *hash, const char *curve);
crypto/libecc/src/tests/ec_self_tests.c
28
extern ATTRIBUTE_WARN_UNUSED_RET int perform_performance_test(const char *sig, const char *hash, const char *curve);
crypto/libecc/src/tests/ec_self_tests.c
59
ATTRIBUTE_WARN_UNUSED_RET static int perform_tests(unsigned int tests, const char *sig, const char *hash, const char *curve)
crypto/libecc/src/tests/ec_self_tests_core.c
1021
ATTRIBUTE_WARN_UNUSED_RET static int ecdh_known_vector_tests_one(const ecdh_test_case *c)
crypto/libecc/src/tests/ec_self_tests_core.c
1206
ATTRIBUTE_WARN_UNUSED_RET int perform_known_test_vectors_test(const char *sig, const char *hash, const char *curve)
crypto/libecc/src/tests/ec_self_tests_core.c
123
ATTRIBUTE_WARN_UNUSED_RET static int random_split_ec_sign(u8 *sig, u8 siglen, const ec_key_pair *key_pair,
crypto/libecc/src/tests/ec_self_tests_core.c
1342
ATTRIBUTE_WARN_UNUSED_RET static int rand_sig_verif_test_one(const ec_sig_mapping *sig,
crypto/libecc/src/tests/ec_self_tests_core.c
1496
ATTRIBUTE_WARN_UNUSED_RET int perform_random_sig_verif_test(const char *sig, const char *hash, const char *curve)
crypto/libecc/src/tests/ec_self_tests_core.c
1578
ATTRIBUTE_WARN_UNUSED_RET static int ec_performance_test(const ec_test_case *c,
crypto/libecc/src/tests/ec_self_tests_core.c
173
ATTRIBUTE_WARN_UNUSED_RET static int random_split_ec_verify(const u8 *sig, u8 siglen, const ec_pub_key *pub_key,
crypto/libecc/src/tests/ec_self_tests_core.c
1774
ATTRIBUTE_WARN_UNUSED_RET static int perf_test_one(const ec_sig_mapping *sig, const hash_mapping *hash,
crypto/libecc/src/tests/ec_self_tests_core.c
1907
ATTRIBUTE_WARN_UNUSED_RET int perform_performance_test(const char *sig, const char *hash, const char *curve)
crypto/libecc/src/tests/ec_self_tests_core.c
234
ATTRIBUTE_WARN_UNUSED_RET static int ec_import_export_test(const ec_test_case *c)
crypto/libecc/src/tests/ec_self_tests_core.c
56
ATTRIBUTE_WARN_UNUSED_RET static int ec_gen_import_export_kp(ec_key_pair *kp, const ec_params *params,
crypto/libecc/src/tests/ec_self_tests_core.c
630
ATTRIBUTE_WARN_UNUSED_RET static int ec_test_sign(u8 *sig, u8 siglen, ec_key_pair *kp,
crypto/libecc/src/tests/ec_self_tests_core.c
669
ATTRIBUTE_WARN_UNUSED_RET static int ec_test_verify(u8 *sig, u8 siglen, const ec_pub_key *pub_key,
crypto/libecc/src/tests/ec_self_tests_core.c
731
ATTRIBUTE_WARN_UNUSED_RET static int ec_sig_known_vector_tests_one(const ec_test_case *c)
crypto/libecc/src/tests/ec_utils.c
1007
ATTRIBUTE_WARN_UNUSED_RET static int verify_bin_file(const char *ec_name, const char *ec_sig_name,
crypto/libecc/src/tests/ec_utils.c
110
ATTRIBUTE_WARN_UNUSED_RET static int export_public_key(FILE * file, const char *name,
crypto/libecc/src/tests/ec_utils.c
1381
ATTRIBUTE_WARN_UNUSED_RET static int ec_scalar_mult(const char *ec_name,
crypto/libecc/src/tests/ec_utils.c
168
ATTRIBUTE_WARN_UNUSED_RET static int string_to_params(const char *ec_name, const char *ec_sig_name,
crypto/libecc/src/tests/ec_utils.c
228
ATTRIBUTE_WARN_UNUSED_RET static int generate_and_export_key_pair(const char *ec_name,
crypto/libecc/src/tests/ec_utils.c
370
ATTRIBUTE_WARN_UNUSED_RET static int store_sig(const char *in_fname, const char *out_fname,
crypto/libecc/src/tests/ec_utils.c
472
ATTRIBUTE_WARN_UNUSED_RET static int get_file_size(const char *in_fname, size_t *outsz)
crypto/libecc/src/tests/ec_utils.c
522
ATTRIBUTE_WARN_UNUSED_RET static int generate_metadata_hdr(metadata_hdr * hdr, const char *hdr_type,
crypto/libecc/src/tests/ec_utils.c
54
ATTRIBUTE_WARN_UNUSED_RET static int export_private_key(FILE * file, const char *name,
crypto/libecc/src/tests/ec_utils.c
604
ATTRIBUTE_WARN_UNUSED_RET static int check_ancillary_data(const char *adata, ec_alg_type sig_type, const char *sig_name, int *check)
crypto/libecc/src/tests/ec_utils.c
645
ATTRIBUTE_WARN_UNUSED_RET static int sign_bin_file(const char *ec_name, const char *ec_sig_name,
crypto/libecc/src/tests/ec_utils.c
965
ATTRIBUTE_WARN_UNUSED_RET static int dump_hdr_info(const metadata_hdr * hdr)
crypto/libecc/src/utils/utils_rand.h
20
ATTRIBUTE_WARN_UNUSED_RET int get_unsafe_random(unsigned char *buf, u16 len);