~ubuntu-branches/ubuntu/utopic/nettle/utopic

« back to all changes in this revision

Viewing changes to testsuite/base16-test.c

  • Committer: Package Import Robot
  • Author(s): Magnus Holmgren
  • Date: 2013-05-07 22:57:14 UTC
  • mfrom: (8.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20130507225714-s331yr8ov53dtt17
Tags: 2.7-2
Tag some (ECC related) symbols that only exist on some architectures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#include "testutils.h"
2
2
#include "base16.h"
3
3
 
4
 
int
 
4
void
5
5
test_main(void)
6
6
{
7
7
  ASSERT(BASE16_ENCODE_LENGTH(0) == 0);
21
21
  test_armor(&nettle_base16, 4, "Hell", "48656c6c");
22
22
  test_armor(&nettle_base16, 5, "Hello", "48656c6c6f");
23
23
  test_armor(&nettle_base16, 6, "Hello", "48656c6c6f00");
24
 
  
25
 
  SUCCESS();
26
24
}
27
25