Correct PPTP server firewall rules chain.
[tomato/davidwu.git] / release / src / router / nettle / testsuite / pkcs1-test.c
blob8e4e6981ad353f1e1fa421051c69069d8f596e5b
1 #include "testutils.h"
3 #include "pkcs1.h"
5 void
6 test_main(void)
8 uint8_t buffer[16];
9 uint8_t expected[16] = { 0, 1, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
10 0xff, 0xff, 0xff, 0xff, 0, 'a', 'b', 'c' };
12 _pkcs1_signature_prefix(sizeof(buffer), buffer,
13 3, "abc", 0);
15 ASSERT(MEMEQ(sizeof(buffer), buffer, expected));