Implement BIS Key derivation.

This commit is contained in:
Michael Scire
2018-03-31 15:36:54 -06:00
parent 19178d6176
commit 2d8812ac6e
4 changed files with 94 additions and 8 deletions

View File

@@ -19,6 +19,7 @@
#define PACKED __attribute__((packed))
#define ALINLINE __attribute__((always_inline))
#define NOINLINE __attribute__((noinline))
#define SET_SYSREG(reg, val) do { temp_reg = (val); __asm__ __volatile__ ("msr " #reg ", %0" :: "r"(temp_reg) : "memory"); } while(false)