/freebsd/crypto/libecc/include/libecc/sig/ |
H A D | ec_key.h | 42 ec_alg_type key_type; 97 ec_alg_type sig_type); 102 ec_alg_type ec_key_alg); 110 ec_alg_type ec_key_alg); 122 ec_alg_type key_type; 147 ec_alg_type sig_type); 151 ec_alg_type ec_key_alg); 157 ec_alg_type ec_key_alg); 166 ec_alg_type ec_key_alg); 182 ec_alg_type sig_type); [all …]
|
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 | ecdsa_common.h | 55 …ET int __ecdsa_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv, ec_alg_type key_type); 59 ATTRIBUTE_WARN_UNUSED_RET int __ecdsa_sign_init(struct ec_sign_context *ctx, ec_alg_type key_type); 62 const u8 *chunk, u32 chunklen, ec_alg_type key_type); 64 …T int __ecdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen, ec_alg_type key_type); 76 const u8 *sig, u8 siglen, ec_alg_type key_type); 79 const u8 *chunk, u32 chunklen, ec_alg_type key_type); 81 ATTRIBUTE_WARN_UNUSED_RET int __ecdsa_verify_finalize(struct ec_verify_context *ctx, ec_alg_type ke… 85 ec_alg_type key_type);
|
H A D | bign_common.h | 71 …RET int __bign_init_pub_key(ec_pub_key *out_pub, const ec_priv_key *in_priv, ec_alg_type key_type); 75 ATTRIBUTE_WARN_UNUSED_RET int __bign_sign_init(struct ec_sign_context *ctx, ec_alg_type key_type); 78 const u8 *chunk, u32 chunklen, ec_alg_type key_type); 80 …ET int __bign_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen, ec_alg_type key_type); 93 const u8 *sig, u8 siglen, ec_alg_type key_type); 96 const u8 *chunk, u32 chunklen, ec_alg_type key_type); 98 ATTRIBUTE_WARN_UNUSED_RET int __bign_verify_finalize(struct ec_verify_context *ctx, ec_alg_type key…
|
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 | ecsdsa_common.h | 33 ec_alg_type key_type); 38 ec_alg_type key_type, int optimized); 45 ec_alg_type key_type, int optimized);
|
H A D | sig_algs_internal.h | 52 ec_alg_type type; 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); [all …]
|
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,
|
H A D | ecfsdsa.h | 88 const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type,
|
/freebsd/crypto/libecc/src/wycheproof_tests/ |
H A D | libecc_wycheproof.h | 31 ec_alg_type sig_alg; 56 ec_alg_type sig_alg; 84 ec_alg_type xdh_alg; 110 ec_alg_type ecdh_alg;
|
/freebsd/crypto/libecc/src/sig/ |
H A D | ec_key.c | 39 ec_alg_type alg_type) in priv_key_check_initialized_and_type() 59 ec_alg_type ec_key_alg) in ec_priv_key_import_from_buf() 121 ec_alg_type alg_type) in pub_key_check_initialized_and_type() 141 ec_alg_type ec_key_alg) in ec_pub_key_import_from_buf() 183 ec_alg_type ec_key_alg) in ec_pub_key_import_from_aff_buf() 271 ec_alg_type alg_type) in key_pair_check_initialized_and_type() 292 ec_alg_type ec_key_alg) in ec_key_pair_import_from_priv_key_buf() 316 ec_alg_type ec_key_alg) in ec_structured_priv_key_import_from_buf() 413 ec_alg_type ec_key_alg) in ec_structured_pub_key_import_from_buf() 512 ec_alg_type ec_key_alg) in ec_structured_key_pair_import_from_priv_key_buf() [all …]
|
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() 249 int ec_get_sig_len(const ec_params *params, ec_alg_type sig_type, in ec_get_sig_len() 297 ec_alg_type sig_type, hash_alg_type hash_type, in _ec_sign_init() 389 ec_alg_type sig_type, hash_alg_type hash_type, in ec_sign_init() 457 ec_alg_type sig_type, hash_alg_type hash_type, in generic_ec_sign() 476 ec_alg_type sig_type, hash_alg_type hash_type, in _ec_sign() 499 ec_alg_type sig_type, hash_alg_type hash_type, in ec_sign() 513 ec_alg_type sig_type, hash_alg_type hash_type, in ec_verify_init() 640 ec_alg_type sig_type, hash_alg_type hash_type, in generic_ec_verify() 657 ec_alg_type sig_type, hash_alg_type hash_type, in ec_verify() [all …]
|
H A D | ecdsa_common.c | 173 ec_alg_type key_type) in __ecdsa_init_pub_key() 265 int __ecdsa_sign_init(struct ec_sign_context *ctx, ec_alg_type key_type) in __ecdsa_sign_init() 293 const u8 *chunk, u32 chunklen, ec_alg_type key_type) in __ecdsa_sign_update() 319 ec_alg_type key_type) in __ecdsa_sign_finalize() 620 ec_alg_type key_type) in __ecdsa_verify_init() 678 const u8 *chunk, u32 chunklen, ec_alg_type key_type) in __ecdsa_verify_update() 703 ec_alg_type key_type) in __ecdsa_verify_finalize() 869 ec_alg_type key_type) in __ecdsa_public_key_from_sig()
|
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() 159 ATTRIBUTE_WARN_UNUSED_RET static int eddsa_key_type_check_curve(ec_alg_type key_type, in eddsa_key_type_check_curve() 336 ec_alg_type sig_alg) in eddsa_encode_point() 429 ec_alg_type sig_type) in eddsa_decode_point() 742 ec_alg_type sig_type) in eddsa_import_priv_key() 867 ec_alg_type sig_type) 977 ec_alg_type sig_type; 1034 ec_alg_type sig_type) 1054 ec_alg_type sig_type) 1118 ec_alg_type key_type = UNKNOWN_ALG; [all …]
|
H A D | bign_common.c | 346 ec_alg_type key_type) in __bign_init_pub_key() 410 int __bign_sign_init(struct ec_sign_context *ctx, ec_alg_type key_type) in __bign_sign_init() 443 const u8 *chunk, u32 chunklen, ec_alg_type key_type) in __bign_sign_update() 469 ec_alg_type key_type) in __bign_sign_finalize() 743 ec_alg_type key_type) in __bign_verify_init() 818 const u8 *chunk, u32 chunklen, ec_alg_type key_type) in __bign_verify_update() 843 ec_alg_type key_type) in __bign_verify_finalize()
|
H A D | ecsdsa_common.c | 36 ec_alg_type key_type) in __ecsdsa_init_pub_key() 142 ec_alg_type key_type, int optimized) in __ecsdsa_sign_init() 427 ec_alg_type key_type, int optimized) in __ecsdsa_verify_init()
|
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() 673 ec_alg_type key_type = UNKNOWN_ALG; 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() 856 ec_alg_type key_type = UNKNOWN_ALG; in _ecfsdsa_verify_batch() 1058 const u8 **m, const u32 *m_len, u32 num, ec_alg_type 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() 809 const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type, in _bip0340_verify_batch_no_memory() 826 ec_alg_type key_type = UNKNOWN_ALG; 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() 1046 ec_alg_type key_type = UNKNOWN_ALG; in _bip0340_verify_batch() 1297 const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type, in bip0340_verify_batch()
|
/freebsd/crypto/libecc/src/tests/ |
H A D | ec_utils.c | 169 ec_alg_type * sig_type, in string_to_params() 239 ec_alg_type sig_type; in generate_and_export_key_pair() 372 ec_alg_type sig_type, hash_alg_type hash_type, 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() 661 ec_alg_type sig_type; in sign_bin_file() 1016 ec_alg_type stored_sig_type; in verify_bin_file() 1019 ec_alg_type sig_type; in verify_bin_file()
|
H A D | ec_self_tests_core.h | 44 ec_alg_type sig_type; 59 ec_alg_type ecdh_type; 5711 ec_alg_type stype = c->sig_type; in encode_error_value() 5734 ec_alg_type stype = c->ecdh_type; in ecdh_encode_error_value()
|
H A D | ec_self_tests_core.c | 126 ec_alg_type sig_type, hash_alg_type hash_type, const u8 *adata, u16 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()
|
/freebsd/crypto/libecc/include/libecc/ |
H A D | lib_ecc_types.h | 79 } ec_alg_type; typedef
|
/freebsd/usr.sbin/pkg/ |
H A D | ecc.c | 57 ec_alg_type sig_alg;
|