ec_alg_type
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);
ATTRIBUTE_WARN_UNUSED_RET int __bign_sign_init(struct ec_sign_context *ctx, ec_alg_type key_type);
const u8 *chunk, u32 chunklen, ec_alg_type key_type);
ATTRIBUTE_WARN_UNUSED_RET int __bign_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen, ec_alg_type key_type);
const u8 *sig, u8 siglen, ec_alg_type key_type);
const u8 *chunk, u32 chunklen, ec_alg_type key_type);
ATTRIBUTE_WARN_UNUSED_RET int __bign_verify_finalize(struct ec_verify_context *ctx, ec_alg_type key_type);
ec_alg_type sig_type, hash_alg_type hash_type,
const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type,
ec_alg_type ec_key_alg);
ec_alg_type ec_key_alg);
ec_alg_type key_type;
ec_alg_type sig_type);
ec_alg_type ec_key_alg);
ec_alg_type ec_key_alg);
ec_alg_type ec_key_alg);
ec_alg_type sig_type);
ec_alg_type ec_key_alg);
ec_alg_type ec_key_alg);
ec_alg_type ec_key_alg);
ec_alg_type ec_key_alg);
ec_alg_type key_type;
ec_alg_type sig_type);
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);
ATTRIBUTE_WARN_UNUSED_RET int __ecdsa_sign_init(struct ec_sign_context *ctx, ec_alg_type key_type);
const u8 *chunk, u32 chunklen, ec_alg_type key_type);
ATTRIBUTE_WARN_UNUSED_RET int __ecdsa_sign_finalize(struct ec_sign_context *ctx, u8 *sig, u8 siglen, ec_alg_type key_type);
const u8 *sig, u8 siglen, ec_alg_type key_type);
const u8 *chunk, u32 chunklen, ec_alg_type key_type);
ATTRIBUTE_WARN_UNUSED_RET int __ecdsa_verify_finalize(struct ec_verify_context *ctx, ec_alg_type key_type);
ec_alg_type key_type);
const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type,
ec_alg_type key_type);
ec_alg_type key_type, int optimized);
ec_alg_type key_type, int optimized);
ec_alg_type sig_type);
ec_alg_type sig_type);
ec_alg_type sig_type);
const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type,
ec_alg_type sig_type, hash_alg_type hash_type,
ec_alg_type sig_type,
ATTRIBUTE_WARN_UNUSED_RET int get_sig_by_type(ec_alg_type sig_type, const ec_sig_mapping **sig_mapping);
ATTRIBUTE_WARN_UNUSED_RET int ec_get_sig_len(const ec_params *params, ec_alg_type sig_type,
ec_alg_type sig_type, hash_alg_type hash_type,
ec_alg_type sig_type, hash_alg_type hash_type,
ec_alg_type sig_type, hash_alg_type hash_type,
ec_alg_type sig_type, hash_alg_type hash_type,
const u8 *sig, u8 siglen, ec_alg_type sig_type,
ec_alg_type sig_type, hash_alg_type hash_type,
const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type,
ec_alg_type * sig_type,
ec_alg_type sig_type, hash_alg_type hash_type, const u8 *adata, u16 adata_len);
const u8 *m, u32 mlen, ec_alg_type sig_type,
ATTRIBUTE_WARN_UNUSED_RET int is_sign_streaming_mode_supported(ec_alg_type sig_type, int *check);
ATTRIBUTE_WARN_UNUSED_RET int is_verify_streaming_mode_supported(ec_alg_type sig_type, int *check);
ATTRIBUTE_WARN_UNUSED_RET int is_sign_deterministic(ec_alg_type sig_type, int *check);
ATTRIBUTE_WARN_UNUSED_RET int is_verify_batch_mode_supported(ec_alg_type sig_type, int *check);
const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type,
ec_alg_type type;
ec_alg_type sig_type, hash_alg_type hash_type,
const u8 *m, u32 mlen, ec_alg_type sig_type,
const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type,
ec_alg_type key_type)
int __bign_sign_init(struct ec_sign_context *ctx, ec_alg_type key_type)
const u8 *chunk, u32 chunklen, ec_alg_type key_type)
ec_alg_type key_type)
ec_alg_type key_type)
const u8 *chunk, u32 chunklen, ec_alg_type key_type)
ec_alg_type key_type)
const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type,
ec_alg_type key_type = UNKNOWN_ALG;
const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type,
ec_alg_type sig_type, hash_alg_type hash_type,
const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type,
ec_alg_type key_type = UNKNOWN_ALG;
ec_alg_type alg_type)
ec_alg_type ec_key_alg)
ec_alg_type ec_key_alg)
ec_alg_type alg_type)
ec_alg_type ec_key_alg)
ec_alg_type ec_key_alg)
ec_alg_type alg_type)
ec_alg_type ec_key_alg)
ec_alg_type ec_key_alg)
ec_alg_type ec_key_alg)
ec_alg_type ec_key_alg)
ec_alg_type ec_key_alg)
ec_alg_type key_type)
int __ecdsa_sign_init(struct ec_sign_context *ctx, ec_alg_type key_type)
const u8 *chunk, u32 chunklen, ec_alg_type key_type)
ec_alg_type key_type)
ec_alg_type key_type)
const u8 *chunk, u32 chunklen, ec_alg_type key_type)
ec_alg_type key_type)
ec_alg_type key_type)
const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type,
const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type,
ec_alg_type key_type = UNKNOWN_ALG;
const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type,
ec_alg_type key_type = UNKNOWN_ALG;
ec_alg_type key_type, int optimized)
ec_alg_type key_type)
ec_alg_type key_type, int optimized)
ec_alg_type sig_type)
ec_alg_type sig_type)
ec_alg_type key_type = UNKNOWN_ALG;
ec_alg_type key_type = UNKNOWN_ALG;
ec_alg_type key_type = UNKNOWN_ALG;
ATTRIBUTE_WARN_UNUSED_RET static inline hash_alg_type get_eddsa_hash_type(ec_alg_type sig_type){
ec_alg_type sig_type, hash_alg_type hash_type,
ec_alg_type key_type = UNKNOWN_ALG;
ATTRIBUTE_WARN_UNUSED_RET static int eddsa_key_type_check_curve(ec_alg_type key_type,
ec_alg_type key_type = UNKNOWN_ALG;
ec_alg_type key_type = UNKNOWN_ALG;
ec_alg_type key_type = UNKNOWN_ALG;
const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type,
ec_alg_type key_type = UNKNOWN_ALG;
const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type,
ec_alg_type key_type = UNKNOWN_ALG;
const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type,
ec_alg_type sig_alg)
ec_alg_type sig_type)
ec_alg_type sig_type)
ec_alg_type sig_type)
ec_alg_type sig_type;
int get_sig_by_type(ec_alg_type sig_type, const ec_sig_mapping **sig_mapping)
int ec_get_sig_len(const ec_params *params, ec_alg_type sig_type,
ec_alg_type sig_type, hash_alg_type hash_type,
ec_alg_type sig_type, hash_alg_type hash_type,
ec_alg_type sig_type, hash_alg_type hash_type,
ec_alg_type sig_type, hash_alg_type hash_type,
ec_alg_type sig_type, hash_alg_type hash_type,
ec_alg_type sig_type, hash_alg_type hash_type,
ec_alg_type sig_type, hash_alg_type hash_type,
ec_alg_type sig_type, hash_alg_type hash_type,
const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type,
ec_alg_type * sig_type,
*sig_type = (ec_alg_type)out_buf[0];
ec_alg_type sig_type,
const u8 **m, const u32 *m_len, u32 num, ec_alg_type sig_type,
int is_sign_streaming_mode_supported(ec_alg_type sig_type, int *check)
int is_verify_streaming_mode_supported(ec_alg_type sig_type, int *check)
int is_verify_batch_mode_supported(ec_alg_type sig_type, int *check)
int is_sign_deterministic(ec_alg_type sig_type, int *check)
ec_alg_type sig_type, hash_alg_type hash_type, const u8 *adata, u16 adata_len)
ec_alg_type sig_type, hash_alg_type hash_type, const u8 *adata, u16 adata_len)
ec_alg_type sig_type;
ec_alg_type stype = c->sig_type;
ec_alg_type stype = c->ecdh_type;
ec_alg_type ecdh_type;
ec_alg_type stored_sig_type;
ec_alg_type sig_type;
ec_alg_type * sig_type,
ec_alg_type sig_type;
ec_alg_type sig_type, hash_alg_type hash_type,
ATTRIBUTE_WARN_UNUSED_RET static int check_ancillary_data(const char *adata, ec_alg_type sig_type, const char *sig_name, int *check)
ec_alg_type sig_type;
ec_alg_type ecdh_alg;
ec_alg_type sig_alg;
ec_alg_type sig_alg;
ec_alg_type xdh_alg;
ec_alg_type sig_alg;