/freebsd/crypto/libecc/src/tests/ |
H A D | ed25519_test_vectors.h | 27 .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 D | decdsa_test_vectors.h | 37 .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 D | ec_self_tests_core.c | 72 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(¶ms, 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 D | ed448_test_vectors.h | 30 .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 D | ec_self_tests_core.h | 44 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 D | dbign_test_vectors.h | 37 .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 D | ec_utils.c | 169 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, ¶ms, 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 D | bign_test_vectors.h | 56 .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 D | ed25519ctx_test_vectors.h | 36 .sig_type = EDDSA25519CTX, 65 .sig_type = EDDSA25519CTX, 94 .sig_type = EDDSA25519CTX, 123 .sig_type = EDDSA25519CTX,
|
H A D | bip0340_test_vectors.h | 53 .sig_type = BIP0340, 98 .sig_type = BIP0340, 143 .sig_type = BIP0340, 188 .sig_type = BIP0340,
|
H A D | ed448ph_test_vectors.h | 33 .sig_type = EDDSA448PH, 62 .sig_type = EDDSA448PH,
|
H A D | ed25519ph_test_vectors.h | 33 .sig_type = EDDSA25519PH,
|
/freebsd/crypto/libecc/src/sig/ |
H A D | sig_algs.c | 133 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 D | eddsa.c | 128 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 D | ecfsdsa.c | 658 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 D | bip0340.c | 163 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 D | sig_algs.h | 33 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 D | eddsa.h | 93 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 D | sig_algs_internal.h | 67 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 D | ec_key.h | 97 ec_alg_type sig_type); 147 ec_alg_type sig_type); 182 ec_alg_type sig_type);
|
H A D | bip0340.h | 49 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 D | sig.c | 38 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 D | sig.h | 29 typedef void (*sig_type)(int); typedef 32 extern sig_type sig_signal(int, sig_type);
|
/freebsd/sys/ofed/include/rdma/ |
H A D | signature.h | 74 enum ib_signature_type sig_type; member
|
/freebsd/lib/libsecureboot/openpgp/ |
H A D | packet.h | 55 int sig_type; member
|