keyboard/qmk/lib/chibios/test/crypto/source/testref/ref_aes.c

823 lines
39 KiB
C
Raw Normal View History

/*
ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
#include "hal.h"
const uint8_t refAES_ECB_128[]={
0x65,0x86,0x9F,0x20,0x63,0x89,0x1C,0x2F,0x20,0x5D,
0x94,0x7F,0x55,0x67,0x58,0xFF,0xE9,0xFE,0x4F,0xD7,
0x93,0x03,0x43,0xDD,0xD0,0x7E,0xA3,0x37,0x58,0x83,
0x22,0xA2,0x2D,0x61,0xA0,0x41,0x57,0x31,0x65,0x0F,
0x7A,0x08,0x8F,0xD8,0x9C,0xA3,0xAB,0xC3,0x8E,0x6E,
0x16,0x11,0xED,0x0C,0xE4,0xA8,0x6C,0x86,0xBB,0x99,
0x3F,0x79,0x0A,0xAC,0x9F,0xD6,0xFC,0xCC,0xD9,0x71,
0x36,0x46,0x6F,0xFA,0xD7,0x61,0xCE,0x1F,0xF0,0x9C,
0xE8,0xE8,0x18,0x39,0x47,0x74,0x2C,0xCA,0x5A,0xDA,
0x5A,0x60,0xD3,0xD7,0x22,0xD5,0x3E,0x6A,0xD7,0x28,
0x59,0xF6,0x1C,0x3D,0x6E,0x02,0x06,0x28,0xE0,0x17,
0x7B,0x1F,0xC2,0xFD,0xE5,0x7C,0x11,0xE7,0x3D,0xC2,
0x82,0xC9,0xBB,0x62,0xA8,0xCB,0xF0,0x9A,0x9A,0x9E,
0x75,0x54,0x49,0xEE,0x97,0x66,0x66,0x00,0x79,0xEC,
0x9E,0xBF,0x91,0x47,0xCE,0x10,0xC3,0x78,0x2B,0x3C,
0xDA,0xFD,0x3D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0x29,0x79,0xA4,0xDE,0xD8,0xC5,0xBD,0x4D,0xEA,0xFC,
0xAF,0x5D,0xA1,0x31,0x90,0xBA,0x92,0x1A,0x8F,0x93,
0x94,0xFE,0x6E,0xC3,0xEB,0xEC,0x37,0x77,0x35,0x59,
};
const uint8_t refAES_CBC_256[]={
0x0E,0x02,0x38,0x69,0x61,0x5C,0x16,0x1F,0xA8,0xE5,
0x12,0x40,0x87,0xF7,0xAE,0xB2,0xCC,0xE5,0x54,0x0E,
0xCC,0x12,0xCF,0x94,0x3E,0x92,0xE7,0x6C,0x9A,0x11,
0x9E,0x76,0x71,0xC5,0xC0,0xE5,0x34,0xBB,0x6C,0x95,
0xA7,0x63,0xD1,0x95,0x19,0x44,0xCB,0x85,0x17,0x92,
0xB4,0x23,0x22,0x54,0xAB,0x76,0x1F,0xE4,0xB1,0x8E,
0x1D,0xF2,0x19,0x21,0xA6,0x65,0xAA,0x14,0x60,0xAF,
0xD9,0x11,0x6F,0x79,0xD1,0xCE,0x5E,0xAF,0x7D,0xE0,
0x49,0x00,0x2C,0x17,0x97,0xA5,0x73,0x4E,0x21,0xB1,
0xBB,0xF5,0x82,0xC9,0xF7,0xAA,0x19,0x4B,0x83,0xE3,
0xA3,0xEF,0x31,0x4A,0xE6,0xB2,0x98,0x8F,0x8D,0xD3,
0x01,0x56,0x4D,0x90,0x10,0x90,0x6B,0xBD,0x35,0x06,
0x25,0x6D,0x03,0x9B,0xED,0xBC,0x78,0xA1,0x6E,0x73,
0x79,0x25,0xAD,0x8A,0x56,0x2C,0x93,0xAC,0x1F,0x15,
0xA0,0x70,0xD3,0xFA,0xA6,0x1D,0xE0,0x41,0x88,0x97,
0xE2,0xBA,0x76,0x98,0x6A,0xBA,0x86,0xFE,0x1A,0x71,
0x52,0x61,0xBB,0x80,0x7A,0x77,0xE2,0x7E,0x64,0xD5,
0xEE,0xFC,0x33,0x9B,0x3E,0x53,0xB2,0x22,0xF8,0xD3,
0x5A,0x65,0xC8,0x6F,0x3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xD5,
};
const uint8_t refAES_CFB_192[]={
0x7F,0x90,0x5A,0x78,0x3E,0x20,0x82,0xB7,0xBA,0xCE,
0xF7,0x14,0x40,0x93,0xF3,0x4C,0xC4,0x55,0x5B,0xCD,
0x46,0xA8,0xC9,0x29,0xE9,0xA7,0x86,0x4D,0x53,0xEA,
0x6C,0x7E,0xFA,0x11,0x5F,0xB3,0xA8,0xB6,0xD8,0x40,
0xFE,0xBB,0x05,0xB4,0xB0,0x9A,0x3C,0xC4,0x4E,0x01,
0x66,0xF6,0x27,0x28,0x7B,0x59,0x2A,0x34,0xF3,0x8B,
0xD9,0x8E,0x2E,0x03,0x38,0x56,0xE9,0xC9,0x5E,0x2B,
0x1F,0x9B,0x42,0x56,0xDD,0xE0,0x5E,0x7E,0x58,0x14,
0x9B,0x63,0xB7,0x81,0x31,0xED,0x19,0xC0,0xDE,0x3A,
0x13,0x22,0x4A,0x2D,0x90,0xAD,0x16,0x89,0xD2,0xAB,
0xB7,0xCA,0xAD,0x7A,0xF1,0xEB,0xAB,0x57,0x65,0x29,
0xE1,0x01,0xC3,0x7F,0xE0,0x08,0x28,0x22,0x60,0xBF,
0x4B,0x5F,0xCD,0xCE,0x81,0xBC,0x69,0x87,0x05,0x1D,
0x88,0xAB,0x85,0x2A,0x53,0x82,0x9A,0x14,0x20,0xCB,
0x37,0xEB,0x97,0x57,0xCC,0x92,0xCB,0x45,0xC1,0xC0,
0xA8,0xEC,0xDB,0x38,0x90,0x9C,0xD4,0xA4,0x49,0xBA,
0x2D,0xB7,0x90,0x00,0x50,0x7E,0x36,0x84,0x61,0x34,
0x47,0x8D,0x32,0x45,0x0F,0x2C,0x69,0xB9,0x39,0x05,
0x07,0xD8,0x20,0x26,0x46,0x7A,0x29,0x6A,0x41,0xC4,
0xF0,0x0B,0x0C,0x2B,0x22,0x4F,0x18,0x96,0x1E,0x74,
0x49,0x32,0xB0,0x00,0x82,0x69,0x4B,0xEB,0x27,0x9B,
0xA1,0x40,0x76,0x27,0x9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,0xB5,0xC4,0xE4,0x8C,0xBD,0x41,0x85,0x4B,0x30,
0xE2,0x05,0xD9,0x74,0x63,0xA1,0x60,0xEF,0x8E,0xE4,
0x1B,0x78,0x89,0x3C,0xC3,0x60,0xC6,0x0F,0x61,0x98,
0xEB,0x09,0x96,0x23,0xCC,0x34,0x66,0xB0,0x4E,0xE1,
0x68,0x90,0xBC,0x0D,0x8F,0x30,0xFF,0x53,0x92,0x6C,
0xF7,0xB3,0x47,0xB2,0x6D,0xE3,0x8E,0x5E,0xC5,0x02,
0xC9,0x62,0xD5,0x97,0x3E,0x05,0xE0,0x7B,0xBD,0x43,
0xF5,0xD8,0xDE,0x85,0x25,0xDC,0xDC,0x41,0x76,0x04,
0x6E,0x03,0x07,0xF1,0xA2,0xBA,0x3B,0x3E,0x16,0x63,
0x09,0x3B,0x4C,0x60,0xC1,0x13,0x63,0xAC,0x31,0x99,
0xBD,0xFE,0x2C,0x4D,0x03,0xDF,0xAC,0xF5,0x97,0xFF,
0x28,0xC4,0x7E,0x0C,0x57,0x20,0x12,0xF3,0x34,0x44,
0xEE,0x1B,0xC5,0x79,0xC1,0x61,0x06,0x38,0x58,0x65,
0x89,0xFD,0xAF,0x77,0x69,0x49,0xA7,0x40,0x02,0x3F,
0xD8,0x0F,0x10,0x20,0x0F,0x35,0x19,0x09,0xF1,0xD6,
0xB9,0x33,0xAF,0xFE,0x81,0x6A,0x75,0x9E,0x98,0x24,
0x3F,0x6F,0x8F,0x4E,0xFC,0x72,0x08,0x7C,0xAF,0x56,
0x19,0x90,0x0D,0x56,0xF0,0x80,0x88,0x77,0xAA,0x16,
0x65,0x55,0x27,0x5B,0x4C,0x23,0x1C,0x04,0x46,0xB0,
0xA7,0x5D,0x68,0xD0,0x3D,0x8A,0xEF,0x73,0xEA,0xAF,
0x15,0x1D,0x2A,0xCC,0x86,0x42,0x64,0x54,0xBF,0x05,
0x98,0xFF,
};
const uint8_t refAES_CFB_256[]={
0x5F,0xD7,0x96,0x16,0x8E,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