modifications to match recent changes. that's just preparation of more changes towards PBP-Compatibility. Current state is UNSTABLE. See TODO for details whats left to do.

This commit is contained in:
TLINDEN
2014-01-19 23:58:53 +01:00
parent e20a0683c6
commit 05db2f1204
35 changed files with 1034 additions and 1843 deletions

View File

@@ -1,33 +1,33 @@
size_t secret_a_len = 32;
unsigned char secret_a[32] = {
0x90, 0x14, 0xe7, 0xb5, 0x90, 0x04, 0x4f, 0xc0,
0xc6, 0xdf, 0x87, 0xe6, 0xbd, 0x87, 0xc8, 0x56,
0x64, 0x07, 0xfb, 0xb3, 0x3a, 0x25, 0x7c, 0xb9,
0x3f, 0xbc, 0x04, 0xd1, 0xd2, 0x2a, 0x56, 0x4e
0x28, 0xad, 0x6c, 0x7d, 0x37, 0x6b, 0xf9, 0x83,
0x9f, 0x0b, 0x95, 0xff, 0xd5, 0xbc, 0x56, 0x7e,
0x81, 0xa3, 0x11, 0x75, 0x3f, 0x94, 0x31, 0xb9,
0x98, 0x04, 0x81, 0xe3, 0xa4, 0xfd, 0xdb, 0x55
};
size_t public_a_len = 32;
unsigned char public_a[32] = {
0x55, 0xfd, 0x89, 0xe6, 0xbd, 0x57, 0x49, 0x4b,
0x24, 0xaf, 0x07, 0x07, 0x81, 0xd7, 0x82, 0x8b,
0x33, 0x80, 0x60, 0x08, 0xf9, 0x56, 0xe2, 0x04,
0xe3, 0x1c, 0xf7, 0x5b, 0x1e, 0x1c, 0x74, 0x3d
0x0c, 0x32, 0x80, 0xd9, 0xc5, 0x72, 0xd5, 0x3d,
0x22, 0x25, 0x92, 0x8a, 0x46, 0xab, 0xe3, 0x88,
0x71, 0x30, 0x48, 0x1a, 0xa1, 0x47, 0x36, 0xe9,
0xba, 0x7f, 0x58, 0x97, 0x7c, 0x69, 0xe3, 0x72
};
size_t secret_b_len = 32;
unsigned char secret_b[32] = {
0x30, 0x4c, 0xaf, 0xb4, 0x6f, 0x09, 0x17, 0xa7,
0x9a, 0x2d, 0xe3, 0xa8, 0x56, 0xff, 0x13, 0xac,
0xbc, 0xc7, 0xa2, 0x56, 0x5d, 0xfd, 0x39, 0x88,
0x1b, 0xe0, 0xaa, 0x85, 0xfe, 0x15, 0xba, 0x40
0x50, 0xf3, 0xa8, 0xb4, 0x3b, 0xbb, 0x83, 0x75,
0x81, 0x50, 0xb2, 0x51, 0x2b, 0xcd, 0xce, 0x63,
0x96, 0x6e, 0xbe, 0x6a, 0x91, 0x39, 0xf2, 0x3f,
0x70, 0xe1, 0x72, 0xdf, 0xac, 0xf4, 0xe7, 0x61
};
size_t public_b_len = 32;
unsigned char public_b[32] = {
0xcb, 0x8b, 0x3e, 0x3f, 0xca, 0xff, 0x0d, 0xdd,
0x6c, 0xe3, 0xc9, 0x28, 0x2c, 0xe8, 0x06, 0x94,
0xc5, 0x63, 0x63, 0xa0, 0x66, 0x85, 0x28, 0x72,
0x5a, 0x5b, 0xff, 0x5f, 0x06, 0xa1, 0xa4, 0x69
0x4e, 0x47, 0x89, 0x91, 0x2f, 0x69, 0x30, 0x6c,
0x0f, 0x0d, 0xf3, 0xb6, 0xa5, 0x52, 0xe1, 0xff,
0x55, 0x8d, 0x2e, 0x52, 0x88, 0x58, 0x60, 0x6a,
0x0f, 0x19, 0x40, 0xf1, 0x0d, 0xa1, 0xe9, 0x30
};
size_t message_len = 12;
@@ -38,16 +38,16 @@ unsigned char message[12] = {
size_t nonce_len = 24;
unsigned char nonce[24] = {
0xa9, 0x22, 0x83, 0x39, 0x47, 0x80, 0x30, 0x04,
0x37, 0x38, 0xd0, 0x34, 0x97, 0x6c, 0x52, 0x8e,
0x6a, 0xe3, 0xcd, 0x4c, 0x8d, 0xdd, 0x74, 0x5a
0xc6, 0x26, 0x8c, 0xa8, 0x17, 0xb3, 0xb4, 0x99,
0x14, 0x12, 0x30, 0xd1, 0x11, 0x93, 0x36, 0x09,
0xe0, 0xb7, 0x3f, 0x16, 0xe0, 0xd1, 0x0c, 0x0d
};
size_t cipher_len = 28;
unsigned char cipher[28] = {
0x2a, 0x93, 0x39, 0x8d, 0x84, 0x69, 0x99, 0x5d,
0x61, 0x9c, 0x19, 0x80, 0x2f, 0x18, 0x16, 0x38,
0x5c, 0x1d, 0x08, 0x5e, 0xcc, 0xed, 0xed, 0x48,
0xe8, 0x0d, 0x47, 0x92
0x90, 0x9d, 0x75, 0xfb, 0xb2, 0xb1, 0x8b, 0x3e,
0x39, 0x56, 0xd3, 0x4a, 0x69, 0x52, 0xf8, 0x2f,
0x12, 0xb2, 0x4e, 0x32, 0x3f, 0x4e, 0xa4, 0x45,
0xb6, 0x5d, 0x16, 0x80
};