summaryrefslogtreecommitdiff
path: root/code/fe310/eos/ecp.c
blob: f151d1b4cc9c1e97211a4ec63391a41b75743239 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <stdio.h>

#include <ecp/core.h>
#include <ecp/vconn/vconn.h>

#include "encoding.h"
#include "platform.h"

#include "ecp.h"

int ecp_init(ECPContext *ctx) {
    int rv;

    rv = ecp_ctx_create_vconn(ctx);
    if (rv) return rv;

    return ECP_OK;
}