aboutsummaryrefslogtreecommitdiffstats
path: root/SoftHSMv2/modules/tests/test_botan_ed25519.cpp
blob: 8ac4bac2beecfd18e9f7c5c7281a0a42bf6a67fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <botan/init.h>
#include <botan/ed25519.h>
#include <botan/version.h>
int main()
{
        Botan::secure_vector<uint8_t> k(32);
        try {
                Botan::Ed25519_PrivateKey* key =
                    new Botan::Ed25519_PrivateKey(k);
        } catch(...) {
                return 1;
        }
        return 0;
}