Lines Matching refs:rs_ctx
88 ctx->rs_ctx = NULL; in mbedtls_pk_restart_init()
101 ctx->pk_info->rs_free_func(ctx->rs_ctx); in mbedtls_pk_restart_free()
104 ctx->rs_ctx = NULL; in mbedtls_pk_restart_free()
407 if ((ctx->rs_ctx = info->rs_alloc_func()) == NULL) { in pk_restart_setup()
424 mbedtls_pk_restart_ctx *rs_ctx) in mbedtls_pk_verify_restartable() argument
437 if (rs_ctx != NULL && in mbedtls_pk_verify_restartable()
442 if ((ret = pk_restart_setup(rs_ctx, ctx->pk_info)) != 0) { in mbedtls_pk_verify_restartable()
447 md_alg, hash, hash_len, sig, sig_len, rs_ctx->rs_ctx); in mbedtls_pk_verify_restartable()
450 mbedtls_pk_restart_free(rs_ctx); in mbedtls_pk_verify_restartable()
456 (void) rs_ctx; in mbedtls_pk_verify_restartable()
608 mbedtls_pk_restart_ctx *rs_ctx) in mbedtls_pk_sign_restartable() argument
620 if (rs_ctx != NULL && in mbedtls_pk_sign_restartable()
625 if ((ret = pk_restart_setup(rs_ctx, ctx->pk_info)) != 0) { in mbedtls_pk_sign_restartable()
632 f_rng, p_rng, rs_ctx->rs_ctx); in mbedtls_pk_sign_restartable()
635 mbedtls_pk_restart_free(rs_ctx); in mbedtls_pk_sign_restartable()
641 (void) rs_ctx; in mbedtls_pk_sign_restartable()