Symbol: ec_pub_key
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
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/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_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/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
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/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
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
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
176
ec_pub_key pub_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
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
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
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/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/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/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/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_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/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
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
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/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
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
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
90
int ec_verify_batch(const u8 **s, const u8 *s_len, const ec_pub_key **pub_keys,
crypto/libecc/include/libecc/sig/sig_algs_internal.h
216
const ec_pub_key *pub_key;
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
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
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
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/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/utils/print_keys.h
24
void pub_key_print(const char *msg, const ec_pub_key *pub);
crypto/libecc/src/ecdh/ecccdh.c
140
int ecccdh_serialize_pub_key(const ec_pub_key *our_pub_key, u8 *buf, u8 buf_len)
crypto/libecc/src/ecdh/ecccdh.c
170
ec_pub_key peer_pub_key;
crypto/libecc/src/ecdh/ecccdh.c
230
IGNORE_RET_VAL(local_memset(&peer_pub_key, 0, sizeof(ec_pub_key)));
crypto/libecc/src/ecdh/ecccdh.c
60
int ecccdh_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv)
crypto/libecc/src/ecdh/ecccdh.c
69
ret = local_memset(out_pub, 0, sizeof(ec_pub_key)); EG(ret, err);
crypto/libecc/src/sig/bign.c
31
int bign_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv)
crypto/libecc/src/sig/bign_common.c
345
int __bign_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv,
crypto/libecc/src/sig/bign_common.c
355
ret = local_memset(out_pub, 0, sizeof(ec_pub_key)); EG(ret, err);
crypto/libecc/src/sig/bip0340.c
1027
static int _bip0340_verify_batch(const u8 **s, const u8 *s_len, const ec_pub_key **pub_keys,
crypto/libecc/src/sig/bip0340.c
1040
const ec_pub_key *pub_key, *pub_key0;
crypto/libecc/src/sig/bip0340.c
107
int bip0340_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv)
crypto/libecc/src/sig/bip0340.c
115
ret = local_memset(out_pub, 0, sizeof(ec_pub_key)); EG(ret, err);
crypto/libecc/src/sig/bip0340.c
1296
int bip0340_verify_batch(const u8 **s, const u8 *s_len, const ec_pub_key **pub_keys,
crypto/libecc/src/sig/bip0340.c
172
const ec_pub_key *pub_key;
crypto/libecc/src/sig/bip0340.c
759
const ec_pub_key **pub_keys,
crypto/libecc/src/sig/bip0340.c
808
static int _bip0340_verify_batch_no_memory(const u8 **s, const u8 *s_len, const ec_pub_key **pub_keys,
crypto/libecc/src/sig/bip0340.c
820
const ec_pub_key *pub_key, *pub_key0;
crypto/libecc/src/sig/dbign.c
36
int dbign_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv)
crypto/libecc/src/sig/decdsa.c
109
int decdsa_public_key_from_sig(ec_pub_key *out_pub1, ec_pub_key *out_pub2, const ec_params *params,
crypto/libecc/src/sig/decdsa.c
36
int decdsa_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv)
crypto/libecc/src/sig/ec_key.c
106
int pub_key_check_initialized(const ec_pub_key *A)
crypto/libecc/src/sig/ec_key.c
120
int pub_key_check_initialized_and_type(const ec_pub_key *A,
crypto/libecc/src/sig/ec_key.c
139
int ec_pub_key_import_from_buf(ec_pub_key *pub_key, const ec_params *params,
crypto/libecc/src/sig/ec_key.c
181
int ec_pub_key_import_from_aff_buf(ec_pub_key *pub_key, const ec_params *params,
crypto/libecc/src/sig/ec_key.c
220
int ec_pub_key_export_to_buf(const ec_pub_key *pub_key, u8 *pub_key_buf,
crypto/libecc/src/sig/ec_key.c
236
int ec_pub_key_export_to_aff_buf(const ec_pub_key *pub_key, u8 *pub_key_buf,
crypto/libecc/src/sig/ec_key.c
409
int ec_structured_pub_key_import_from_buf(ec_pub_key *pub_key,
crypto/libecc/src/sig/ec_key.c
457
int ec_structured_pub_key_export_to_buf(const ec_pub_key *pub_key,
crypto/libecc/src/sig/ecdsa.c
31
int ecdsa_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv)
crypto/libecc/src/sig/ecdsa.c
73
int ecdsa_public_key_from_sig(ec_pub_key *out_pub1, ec_pub_key *out_pub2, const ec_params *params,
crypto/libecc/src/sig/ecdsa_common.c
172
int __ecdsa_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv,
crypto/libecc/src/sig/ecdsa_common.c
182
ret = local_memset(out_pub, 0, sizeof(ec_pub_key)); EG(ret, err);
crypto/libecc/src/sig/ecdsa_common.c
867
int __ecdsa_public_key_from_sig(ec_pub_key *out_pub1, ec_pub_key *out_pub2, const ec_params *params,
crypto/libecc/src/sig/ecfsdsa.c
1057
int ecfsdsa_verify_batch(const u8 **s, const u8 *s_len, const ec_pub_key **pub_keys,
crypto/libecc/src/sig/ecfsdsa.c
31
int ecfsdsa_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv)
crypto/libecc/src/sig/ecfsdsa.c
40
ret = local_memset(out_pub, 0, sizeof(ec_pub_key)); EG(ret, err);
crypto/libecc/src/sig/ecfsdsa.c
657
static int _ecfsdsa_verify_batch_no_memory(const u8 **s, const u8 *s_len, const ec_pub_key **pub_keys,
crypto/libecc/src/sig/ecfsdsa.c
667
const ec_pub_key *pub_key, *pub_key0;
crypto/libecc/src/sig/ecfsdsa.c
839
static int _ecfsdsa_verify_batch(const u8 **s, const u8 *s_len, const ec_pub_key **pub_keys,
crypto/libecc/src/sig/ecfsdsa.c
850
const ec_pub_key *pub_key, *pub_key0;
crypto/libecc/src/sig/ecgdsa.c
31
int ecgdsa_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv)
crypto/libecc/src/sig/ecgdsa.c
42
ret = local_memset(out_pub, 0, sizeof(ec_pub_key)); EG(ret, err);
crypto/libecc/src/sig/eckcdsa.c
205
const ec_pub_key *pub_key;
crypto/libecc/src/sig/eckcdsa.c
34
int eckcdsa_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv)
crypto/libecc/src/sig/eckcdsa.c
50
ret = local_memset(out_pub, 0, sizeof(ec_pub_key)); EG(ret, err);
crypto/libecc/src/sig/eckcdsa.c
552
const ec_pub_key *pub_key;
crypto/libecc/src/sig/eckcdsa.c
701
const ec_pub_key *pub_key;
crypto/libecc/src/sig/ecosdsa.c
31
int ecosdsa_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv)
crypto/libecc/src/sig/ecrdsa.c
71
int ecrdsa_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv)
crypto/libecc/src/sig/ecrdsa.c
80
ret = local_memset(out_pub, 0, sizeof(ec_pub_key)); EG(ret, err);
crypto/libecc/src/sig/ecsdsa.c
31
int ecsdsa_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv)
crypto/libecc/src/sig/ecsdsa_common.c
35
int __ecsdsa_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv,
crypto/libecc/src/sig/ecsdsa_common.c
430
const ec_pub_key *pub_key;
crypto/libecc/src/sig/ecsdsa_common.c
44
ret = local_memset(out_pub, 0, sizeof(ec_pub_key)); EG(ret, err);
crypto/libecc/src/sig/eddsa.c
1227
const ec_pub_key *pub_key;
crypto/libecc/src/sig/eddsa.c
1578
const ec_pub_key *pub_key;
crypto/libecc/src/sig/eddsa.c
1927
const ec_pub_key *pub_key;
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
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
2294
const ec_pub_key *pub_key, *pub_key0;
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
2596
const ec_pub_key *pub_key, *pub_key0;
crypto/libecc/src/sig/eddsa.c
2907
int eddsa_verify_batch(const u8 **s, const u8 *s_len, const ec_pub_key **pub_keys,
crypto/libecc/src/sig/eddsa.c
789
int eddsa_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv)
crypto/libecc/src/sig/eddsa.c
807
ret = local_memset(out_pub, 0, sizeof(ec_pub_key)); EG(ret, err);
crypto/libecc/src/sig/eddsa.c
865
int eddsa_import_pub_key(ec_pub_key *pub_key, const u8 *buf, u16 buflen,
crypto/libecc/src/sig/eddsa.c
956
IGNORE_RET_VAL(local_memset(pub_key, 0, sizeof(ec_pub_key)));
crypto/libecc/src/sig/eddsa.c
973
int eddsa_export_pub_key(const ec_pub_key *in_pub, u8 *buf, u16 buflen)
crypto/libecc/src/sig/sig_algs.c
511
int ec_verify_init(struct ec_verify_context *ctx, const ec_pub_key *pub_key,
crypto/libecc/src/sig/sig_algs.c
638
int generic_ec_verify(const u8 *sig, u8 siglen, const ec_pub_key *pub_key,
crypto/libecc/src/sig/sig_algs.c
655
int ec_verify(const u8 *sig, u8 siglen, const ec_pub_key *pub_key,
crypto/libecc/src/sig/sig_algs.c
675
int ec_verify_batch(const u8 **s, const u8 *s_len, const ec_pub_key **pub_keys,
crypto/libecc/src/sig/sig_algs.c
72
int init_pubkey_from_privkey(ec_pub_key *pub_key, ec_priv_key *priv_key)
crypto/libecc/src/sig/sig_algs.c
850
int unsupported_verify_batch(const u8 **s, const u8 *s_len, const ec_pub_key **pub_keys,
crypto/libecc/src/sig/sm2.c
137
const ec_pub_key *pub_key, hash_alg_type hash_type)
crypto/libecc/src/sig/sm2.c
56
int sm2_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv)
crypto/libecc/src/sig/sm2.c
81
ret = local_memset(out_pub, 0, sizeof(ec_pub_key)); EG(ret, err);
crypto/libecc/src/tests/ec_self_tests_core.c
1709
const ec_pub_key *pub_keys[PERF_BATCH_VERIFICATION];
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
379
const ec_pub_key *pub_keys[] = { &(kp.pub_key) };
crypto/libecc/src/tests/ec_self_tests_core.c
407
ec_pub_key pub_key1;
crypto/libecc/src/tests/ec_self_tests_core.c
408
ec_pub_key pub_key2;
crypto/libecc/src/tests/ec_self_tests_core.c
522
const ec_pub_key *pubkeys[MAX_BATCH_SIG_SIZE];
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
709
const ec_pub_key *pub_keys[] = { pub_key };
crypto/libecc/src/tests/ec_self_tests_core.c
823
ec_pub_key pub_key1;
crypto/libecc/src/tests/ec_self_tests_core.c
824
ec_pub_key pub_key2;
crypto/libecc/src/tests/ec_utils.c
1027
ec_pub_key pub_key;
crypto/libecc/src/tests/ec_utils.c
111
const ec_pub_key *pub_key,
crypto/libecc/src/utils/print_keys.c
31
void pub_key_print(const char *msg, const ec_pub_key *pub)
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
170
ec_pub_key pub_key;
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
171
ec_pub_key pub_key_check;
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
555
ec_pub_key peerpub_key;
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
556
ec_pub_key ourpub_key;
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
557
ec_pub_key ourpub_key_check;
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
86
ec_pub_key pub_key;
usr.sbin/pkg/ecc.c
471
ec_pub_key pubkey;