aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / native / kernel / artifact / osc_unit_test_anchor.h
| 1 | /* SPDX-License-Identifier: Apache-2.0 |
| 2 | * Copyright 2026 Drake Stapleton (AIEN / aien-dev) |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | /* osc_unit_test_anchor.h -- the THROWAWAY TEST public key of the OSC unit |
| 18 | * conformance vectors (aien-protocols PR #17, specs/osc-unit-artifact/keys/ |
| 19 | * test1.pub, derived from a fixed public label in tools/make-vectors.sh). |
| 20 | * It protects nothing. It is compiled only into the host test and into the |
| 21 | * TEST-anchor qualification image (CK_SEED0B_TEST_ANCHOR=1, banner "TEST |
| 22 | * ONLY"); never into a release image's anchor set. test_osc_unit.c checks |
| 23 | * these bytes against the fixture file. */ |
| 24 | #ifndef AIENOS_CK_OSC_UNIT_TEST_ANCHOR_H |
| 25 | #define AIENOS_CK_OSC_UNIT_TEST_ANCHOR_H |
| 26 | #include <stdint.h> |
| 27 | static const uint8_t osc_unit_test1_pk[32] = { |
| 28 | 0x1d, 0xaa, 0xec, 0x3d, 0xcf, 0x62, 0x52, 0x6c, 0x52, 0xf7, 0x1c, 0xdf, 0x3e, 0x67, 0x1a, 0x8d, |
| 29 | 0xe5, 0xc4, 0x6b, 0x0f, 0x9c, 0xa7, 0x3e, 0xe2, 0x0c, 0x01, 0x44, 0x5b, 0x8b, 0x34, 0x18, 0xee}; |
| 30 | #endif |