aboutsummaryrefslogtreecommitdiff
path: root/last_gasp_pin_internal.h
blob: 901f797f1d7275bccd27ffc98838c3bb4383d226 (plain) (blame)
1
2
3
4
5
6
7
8
9
/*
 * Automatically generated by a script, do not edit.
 */

static const hal_ks_pin_t hal_last_gasp_pin = {
  1000,
  {0xd5, 0xde, 0xe9, 0x9f, 0x0c, 0xd0, 0xc1, 0x72, 0xfe, 0xe1, 0x8e, 0xe2, 0xad, 0x94, 0x9e, 0x9a, 0xb2, 0x11, 0x14, 0xe4, 0xa4, 0x04, 0xf0, 0x98, 0xd1, 0x44, 0x22, 0x8a, 0x7c, 0x23, 0x5d, 0xdb, 0xe4, 0x29, 0xa6, 0x95, 0x4b, 0xbb, 0x34, 0xf7, 0x16, 0x8b, 0x3f, 0x67, 0x65, 0xc9, 0xa2, 0x2b, 0xcc, 0x5a, 0x25, 0xa7, 0xef, 0xd5, 0x2e, 0x99, 0x75, 0xc8, 0x0f, 0xd9, 0xff, 0x76, 0xf6, 0x1c},
  {0x34, 0x3f, 0x18, 0x36, 0x94, 0xeb, 0xda, 0xb6, 0x5a, 0x5c, 0xbe, 0xc7, 0x61, 0xa0, 0x43, 0x5f}
};
n> * Real definitions for these functions have to come from the port * to a specific environment, eg, from sw/stm32/projects/hsm.c. * * 3) Because we want to expose as little as possible of the * underlying mechanisms, some of the functions here are closures * encapsulating objects things which would otherwise be arguments. * So, for example, we have functions to lock and unlock the HSM * keystore, rather than general lock and unlock functions which * they HSM keystore lock as an argument. Since the versions in * this file are the no-ops, the lock itself goes away here. */ #ifndef ENABLE_WEAK_FUNCTIONS #define ENABLE_WEAK_FUNCTIONS 0 #endif #if ENABLE_WEAK_FUNCTIONS #define WEAK_FUNCTION __attribute__((weak)) #else #define WEAK_FUNCTION #endif /* * Critical sections -- disable preemption BRIEFLY. */ WEAK_FUNCTION void hal_critical_section_start(void) { return; } WEAK_FUNCTION void hal_critical_section_end(void) { return; } /* * Keystore lock -- lock call blocks indefinitely. */ WEAK_FUNCTION void hal_ks_lock(void) { return; } WEAK_FUNCTION void hal_ks_unlock(void) { return; } /* * RSA blinding cache lock -- lock call blocks indefinitely. */ WEAK_FUNCTION void hal_rsa_bf_lock(void) { return; } WEAK_FUNCTION void hal_rsa_bf_unlock(void) { return; } /* * Non-preemptive task yield. */ WEAK_FUNCTION void hal_task_yield(void) { return; } WEAK_FUNCTION void hal_task_yield_maybe(void) { return; } /* * Local variables: * indent-tabs-mode: nil * End: */