Searched refs:rs (Results 1 – 4 of 4) sorted by relevance
143 mbedtls_ecp_restart_init(&ctx->rs); in ecdh_init_internal()216 mbedtls_ecp_restart_free(&ctx->rs); in ecdh_free_internal()285 rs_ctx = &ctx->rs; in ecdh_make_params_internal()503 rs_ctx = &ctx->rs; in ecdh_make_public_internal()621 rs_ctx = &ctx->rs; in ecdh_calc_secret_internal()
1144 eckey_restart_ctx *rs = rs_ctx; in eckey_verify_rs_wrap() local1147 if (rs == NULL) { in eckey_verify_rs_wrap()1152 if (rs->ecdsa_ctx.grp.pbits == 0) { in eckey_verify_rs_wrap()1153 MBEDTLS_MPI_CHK(mbedtls_ecdsa_from_keypair(&rs->ecdsa_ctx, pk->pk_ctx)); in eckey_verify_rs_wrap()1158 sig, sig_len, &rs->ecdsa_rs)); in eckey_verify_rs_wrap()1171 eckey_restart_ctx *rs = rs_ctx; in eckey_sign_rs_wrap() local1174 if (rs == NULL) { in eckey_sign_rs_wrap()1179 if (rs->ecdsa_ctx.grp.pbits == 0) { in eckey_sign_rs_wrap()1180 MBEDTLS_MPI_CHK(mbedtls_ecdsa_from_keypair(&rs->ecdsa_ctx, pk->pk_ctx)); in eckey_sign_rs_wrap()1185 f_rng, p_rng, &rs->ecdsa_rs)); in eckey_sign_rs_wrap()
93 mbedtls_ecp_restart_ctx MBEDTLS_PRIVATE(rs); /*!< The restart context for EC computations. */118 mbedtls_ecp_restart_ctx MBEDTLS_PRIVATE(rs); /*!< The restart context for EC computations. */
15 rs+n9ssgVqS3HCne0l8I4VOejutBLAVGOXoz7EC9PtS+iYavetnEcqf4SBPHikrn