Lines Matching refs:ecc_ctx
13 struct ecc_ctx { struct
23 static int _ecdsa_verify(struct ecc_ctx *ctx, const u64 *hash, const u64 *r, const u64 *s) in _ecdsa_verify() argument
70 struct ecc_ctx *ctx = crypto_sig_ctx(tfm); in ecdsa_verify()
89 static int ecdsa_ecc_ctx_init(struct ecc_ctx *ctx, unsigned int curve_id) in ecdsa_ecc_ctx_init()
100 static void ecdsa_ecc_ctx_deinit(struct ecc_ctx *ctx) in ecdsa_ecc_ctx_deinit()
105 static int ecdsa_ecc_ctx_reset(struct ecc_ctx *ctx) in ecdsa_ecc_ctx_reset()
125 struct ecc_ctx *ctx = crypto_sig_ctx(tfm); in ecdsa_set_pub_key()
161 struct ecc_ctx *ctx = crypto_sig_ctx(tfm); in ecdsa_exit_tfm()
168 struct ecc_ctx *ctx = crypto_sig_ctx(tfm); in ecdsa_key_size()
186 struct ecc_ctx *ctx = crypto_sig_ctx(tfm); in ecdsa_nist_p521_init_tfm()
203 .cra_ctxsize = sizeof(struct ecc_ctx),
209 struct ecc_ctx *ctx = crypto_sig_ctx(tfm); in ecdsa_nist_p384_init_tfm()
226 .cra_ctxsize = sizeof(struct ecc_ctx),
232 struct ecc_ctx *ctx = crypto_sig_ctx(tfm); in ecdsa_nist_p256_init_tfm()
249 .cra_ctxsize = sizeof(struct ecc_ctx),
255 struct ecc_ctx *ctx = crypto_sig_ctx(tfm); in ecdsa_nist_p192_init_tfm()
272 .cra_ctxsize = sizeof(struct ecc_ctx),