Home
last modified time | relevance | path

Searched refs:sig_type (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/crypto/libecc/src/tests/
H A Ded25519_test_vectors.h27 .sig_type = EDDSA25519,
50 .sig_type = EDDSA25519,
73 .sig_type = EDDSA25519,
96 .sig_type = EDDSA25519,
119 .sig_type = EDDSA25519,
142 .sig_type = EDDSA25519,
165 .sig_type = EDDSA25519,
188 .sig_type = EDDSA25519,
211 .sig_type = EDDSA25519,
234 .sig_type = EDDSA25519,
[all …]
H A Ddecdsa_test_vectors.h37 .sig_type = DECDSA,
72 .sig_type = DECDSA,
107 .sig_type = DECDSA,
142 .sig_type = DECDSA,
177 .sig_type = DECDSA,
212 .sig_type = DECDSA,
247 .sig_type = DECDSA,
282 .sig_type = DECDSA,
320 .sig_type = DECDSA,
358 .sig_type = DECDSA,
[all …]
H A Dec_self_tests_core.c72 ret = ec_key_pair_gen(kp, params, c->sig_type); in ec_gen_import_export_kp()
100 c->sig_type); in ec_gen_import_export_kp()
108 c->sig_type); in ec_gen_import_export_kp()
126 ec_alg_type sig_type, hash_alg_type hash_type, const u8 *adata, u16 adata_len) in random_split_ec_sign() argument
139 ret = _ec_sign_init(&ctx, key_pair, rand, sig_type, hash_type, adata, adata_len); in random_split_ec_sign()
175 ec_alg_type sig_type, hash_alg_type hash_type, const u8 *adata, u16 adata_len) in random_split_ec_verify() argument
183 ret = ec_verify_init(&ctx, pub_key, sig, siglen, sig_type, hash_type, adata, adata_len); in random_split_ec_verify()
270 ret = ec_get_sig_len(&params, c->sig_type, c->hash_type, in ec_import_export_test()
291 c->nn_random, c->sig_type, c->hash_type, c->adata, c->adata_len); in ec_import_export_test()
299 ret = is_sign_streaming_mode_supported(c->sig_type, &check); EG(ret, err); in ec_import_export_test()
[all …]
H A Ded448_test_vectors.h30 .sig_type = EDDSA448,
53 .sig_type = EDDSA448,
76 .sig_type = EDDSA448,
102 .sig_type = EDDSA448,
128 .sig_type = EDDSA448,
154 .sig_type = EDDSA448,
180 .sig_type = EDDSA448,
269 .sig_type = EDDSA448,
298 .sig_type = EDDSA448,
H A Dec_self_tests_core.h44 ec_alg_type sig_type; member
179 .sig_type = ECDSA,
247 .sig_type = ECDSA,
315 .sig_type = ECDSA,
391 .sig_type = ECDSA,
478 .sig_type = ECDSA,
538 .sig_type = ECDSA,
604 .sig_type = ECDSA,
670 .sig_type = ECDSA,
737 .sig_type = ECDSA,
[all …]
H A Ddbign_test_vectors.h37 .sig_type = DBIGN,
67 .sig_type = DBIGN,
97 .sig_type = DBIGN,
127 .sig_type = DBIGN,
154 .sig_type = DBIGN,
185 .sig_type = DBIGN,
212 .sig_type = DBIGN,
H A Dec_utils.c169 ec_alg_type * sig_type, in string_to_params() argument
179 if (sig_type != NULL) { in string_to_params()
188 *sig_type = sm->type; in string_to_params()
239 ec_alg_type sig_type; in generate_and_export_key_pair() local
250 ret = string_to_params(ec_name, ec_sig_name, &sig_type, &ec_str_p, in generate_and_export_key_pair()
262 ret = ec_key_pair_gen(&kp, &params, sig_type); EG(ret, err); in generate_and_export_key_pair()
372 ec_alg_type sig_type, hash_alg_type hash_type, in store_sig() argument
439 sig_type, hash_type, curve_name); in store_sig()
604 ATTRIBUTE_WARN_UNUSED_RET static int check_ancillary_data(const char *adata, ec_alg_type sig_type, … in check_ancillary_data() argument
611 MUST_HAVE(sig_type != UNKNOWN_ALG, ret, err); in check_ancillary_data()
[all …]
H A Dbign_test_vectors.h56 .sig_type = BIGN,
107 .sig_type = BIGN,
155 .sig_type = BIGN,
206 .sig_type = BIGN,
262 .sig_type = BIGN,
316 .sig_type = BIGN,
373 .sig_type = BIGN,
429 .sig_type = BIGN,
H A Ded25519ctx_test_vectors.h36 .sig_type = EDDSA25519CTX,
65 .sig_type = EDDSA25519CTX,
94 .sig_type = EDDSA25519CTX,
123 .sig_type = EDDSA25519CTX,
H A Dbip0340_test_vectors.h53 .sig_type = BIP0340,
98 .sig_type = BIP0340,
143 .sig_type = BIP0340,
188 .sig_type = BIP0340,
H A Ded448ph_test_vectors.h33 .sig_type = EDDSA448PH,
62 .sig_type = EDDSA448PH,
H A Ded25519ph_test_vectors.h33 .sig_type = EDDSA25519PH,
/freebsd/crypto/libecc/src/sig/
H A Dsig_algs.c133 int get_sig_by_type(ec_alg_type sig_type, const ec_sig_mapping **sig_mapping) in get_sig_by_type() argument
144 if (sm->type == sig_type) { in get_sig_by_type()
249 int ec_get_sig_len(const ec_params *params, ec_alg_type sig_type, in ec_get_sig_len() argument
265 if (sm->type == sig_type) { in ec_get_sig_len()
297 ec_alg_type sig_type, hash_alg_type hash_type, in _ec_sign_init() argument
307 ret = key_pair_check_initialized_and_type(key_pair, sig_type); EG(ret, err); in _ec_sign_init()
326 if ((sm->type == sig_type) && (sm->sign_init != NULL)) { in _ec_sign_init()
389 ec_alg_type sig_type, hash_alg_type hash_type, in ec_sign_init() argument
392 return _ec_sign_init(ctx, key_pair, NULL, sig_type, hash_type, in ec_sign_init()
457 ec_alg_type sig_type, hash_alg_type hash_type, in generic_ec_sign() argument
[all …]
H A Deddsa.c128 ATTRIBUTE_WARN_UNUSED_RET static inline hash_alg_type get_eddsa_hash_type(ec_alg_type sig_type){ in get_eddsa_hash_type() argument
131 switch (sig_type) { in get_eddsa_hash_type()
429 ec_alg_type sig_type) in eddsa_decode_point() argument
476 if((sig_type == EDDSA448) || (sig_type == EDDSA448PH)){ in eddsa_decode_point()
525 if((sig_type == EDDSA448) || (sig_type == EDDSA448PH)){ in eddsa_decode_point()
742 ec_alg_type sig_type) in eddsa_import_priv_key() argument
755 hash_type = get_eddsa_hash_type(sig_type); in eddsa_import_priv_key()
765 priv_key->key_type = sig_type; in eddsa_import_priv_key()
867 ec_alg_type sig_type) argument
880 if((sig_type != EDDSA25519) && (sig_type != EDDSA25519CTX) && (sig_type != EDDSA25519PH) && \
[all …]
H A Decfsdsa.c658 const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type, in _ecfsdsa_verify_batch_no_memory() argument
730 MUST_HAVE((key_type == sig_type), ret, err); in _ecfsdsa_verify_batch_no_memory()
840 const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type, in _ecfsdsa_verify_batch() argument
892 ret = _ecfsdsa_verify_batch_no_memory(s, s_len, pub_keys, m, m_len, num, sig_type, in _ecfsdsa_verify_batch()
950 MUST_HAVE((key_type == sig_type), ret, err); in _ecfsdsa_verify_batch()
1025 ret = _ecfsdsa_verify_batch_no_memory(s, s_len, pub_keys, m, m_len, num, sig_type, in _ecfsdsa_verify_batch()
1058 const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type, in ecfsdsa_verify_batch() argument
1066 ret = _ecfsdsa_verify_batch(s, s_len, pub_keys, m, m_len, num, sig_type, in ecfsdsa_verify_batch()
1072 ret = _ecfsdsa_verify_batch_no_memory(s, s_len, pub_keys, m, m_len, num, sig_type, in ecfsdsa_verify_batch()
H A Dbip0340.c163 ec_alg_type sig_type, hash_alg_type hash_type, in _bip0340_sign() argument
193 MUST_HAVE((sig_type == BIP0340), ret, err); in _bip0340_sign()
809 const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type, in _bip0340_verify_batch_no_memory() argument
890 MUST_HAVE((key_type == sig_type), ret, err); in _bip0340_verify_batch_no_memory()
1028 const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type, in _bip0340_verify_batch() argument
1089 … ret = _bip0340_verify_batch_no_memory(s, s_len, pub_keys, m, m_len, num, sig_type, in _bip0340_verify_batch()
1147 MUST_HAVE((key_type == sig_type), ret, err); in _bip0340_verify_batch()
1260 … ret = _bip0340_verify_batch_no_memory(s, s_len, pub_keys, m, m_len, num, sig_type, in _bip0340_verify_batch()
1297 const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type, in bip0340_verify_batch() argument
1305 ret = _bip0340_verify_batch(s, s_len, pub_keys, m, m_len, num, sig_type, in bip0340_verify_batch()
[all …]
/freebsd/crypto/libecc/include/libecc/sig/
H A Dsig_algs.h33 ATTRIBUTE_WARN_UNUSED_RET int get_sig_by_type(ec_alg_type sig_type, const ec_sig_mapping **sig_mapp…
44 ATTRIBUTE_WARN_UNUSED_RET int ec_get_sig_len(const ec_params *params, ec_alg_type sig_type,
52 ec_alg_type sig_type, hash_alg_type hash_type,
56 ec_alg_type sig_type, hash_alg_type hash_type,
66 ec_alg_type sig_type, hash_alg_type hash_type,
71 ec_alg_type sig_type, hash_alg_type hash_type,
77 const u8 *sig, u8 siglen, ec_alg_type sig_type,
87 ec_alg_type sig_type, hash_alg_type hash_type,
91 const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type,
99 ec_alg_type * sig_type,
[all …]
H A Deddsa.h93 ec_alg_type sig_type, hash_alg_type hash_type,
118 ec_alg_type sig_type);
121 ec_alg_type sig_type);
126 ec_alg_type sig_type);
129 const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type,
H A Dsig_algs_internal.h67 ec_alg_type sig_type, hash_alg_type hash_type,
76 const u8 *m, u32 mlen, ec_alg_type sig_type,
79 const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type,
241 ec_alg_type sig_type, hash_alg_type hash_type, const u8 *adata, u16 adata_len);
243 const u8 *m, u32 mlen, ec_alg_type sig_type,
255 ATTRIBUTE_WARN_UNUSED_RET int is_sign_streaming_mode_supported(ec_alg_type sig_type, int *check);
263 ATTRIBUTE_WARN_UNUSED_RET int is_verify_streaming_mode_supported(ec_alg_type sig_type, int *check);
265 ATTRIBUTE_WARN_UNUSED_RET int is_sign_deterministic(ec_alg_type sig_type, int *check);
267 ATTRIBUTE_WARN_UNUSED_RET int is_verify_batch_mode_supported(ec_alg_type sig_type, int *check);
270 const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type,
H A Dec_key.h97 ec_alg_type sig_type);
147 ec_alg_type sig_type);
182 ec_alg_type sig_type);
H A Dbip0340.h49 ec_alg_type sig_type, hash_alg_type hash_type,
68 const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type,
/freebsd/usr.sbin/ppp/
H A Dsig.c38 static sig_type handler[NSIG]; /* all start at SIG_DFL */
63 sig_type
64 sig_signal(int sig, sig_type fn) in sig_signal()
66 sig_type Result; in sig_signal()
77 handler[sig - 1] = (sig_type) 0; in sig_signal()
H A Dsig.h29 typedef void (*sig_type)(int); typedef
32 extern sig_type sig_signal(int, sig_type);
/freebsd/sys/ofed/include/rdma/
H A Dsignature.h74 enum ib_signature_type sig_type; member
/freebsd/lib/libsecureboot/openpgp/
H A Dpacket.h55 int sig_type; member

12