UINT8
{"upr", "UPR", NULL, 0, pvar, 3, 0, POFF(p_usrpri), UINT8, "d"},
case UINT8:
UINT8 data[128];
static UINT8 boothw[16];
OUT UINT8 *RNGValue
UINT8 *random;
static UINT8 boothw[16];
OUT UINT8 *RNGValue
UINT8 *random;
static UINT8 boothw[16];
static UINT8 boothw[16];
OUT UINT8 *RNGValue
UINT8 *random;
((EFI_MEMORY_DESCRIPTOR *)(((UINT8 *)Ptr) + Size))
UINT8 Month;
UINT8 Day;
UINT8 Hour;
UINT8 Minute;
UINT8 Second;
UINT8 Pad1;
UINT8 Daylight;
UINT8 Pad2;
UINT8 Data4[8];
UINT8 Type;
UINT8 MajorVer;
UINT8 MinorVer;
UINT8 IfNum; // interface number to be used with pxeid structure
IN UINT8 Value
#define NextMemoryDescriptor(Ptr,Size) ((EFI_MEMORY_DESCRIPTOR *) (((UINT8 *) Ptr) + Size))
UINT8 Addr[4];
UINT8 Addr[16];
UINT8 Addr[32];
typedef UINT8 ISO_639_2;
typedef UINT8 CHAR8;
typedef UINT8 BOOLEAN;
UINT8 Data4[8];
UINT8 Month; // 1 - 12
UINT8 Day; // 1 - 31
UINT8 Hour; // 0 - 23
UINT8 Minute; // 0 - 59
UINT8 Second; // 0 - 59
UINT8 Pad1;
UINT8 Daylight;
UINT8 Pad2;
UINT8 LegacyDriveLetter;
UINT8 PrimarySecondary;
UINT8 SlaveMaster;
UINT8 ParentPortNumber;
UINT8 InterfaceNumber;
UINT8 DeviceClass;
UINT8 DeviceSubClass;
UINT8 DeviceProtocol;
UINT8 IfType;
UINT8 PortGid[16];
UINT8 DataBits;
UINT8 Parity;
UINT8 StopBits;
UINT8 Signature[16];
UINT8 MBRType;
UINT8 SignatureType;
UINT8 Type;
UINT8 SubType;
UINT8 Length[2];
#define NextDevicePathNode(a) ( (EFI_DEVICE_PATH *) ( ((UINT8 *) (a)) + DevicePathNodeLength(a)))
(a)->Length[0] = (UINT8) (l); \
(a)->Length[1] = (UINT8) ((l) >> 8); \
UINT8 Function;
UINT8 Device;
UINT8 FunctionNumber;
UINT8 Blue;
UINT8 Green;
UINT8 Red;
UINT8 Reserved;
UINT8 IfType;
UINT8 BootIndicator;
UINT8 StartHead;
UINT8 StartSector;
UINT8 StartTrack;
UINT8 OSIndicator;
UINT8 EndHead;
UINT8 EndSector;
UINT8 EndTrack;
UINT8 StartingLBA[4];
UINT8 SizeInLBA[4];
UINT8 BootStrapCode[440];
UINT8 UniqueMbrSignature[4];
UINT8 Unknown[2];
UINT8 Data[494];
UINT8 ErrorCode;
UINT8 Filters;
UINT8 IpCnt;
UINT8 Reserved;
UINT8 TTL;
UINT8 ToS;
IN UINT8 *Filename,
IN UINT8 *NewTTL, OPTIONAL
IN UINT8 *NewToS, OPTIONAL
UINT8 BootpOpcode;
UINT8 BootpHwType;
UINT8 BootpHwAddrLen;
UINT8 BootpGateHops;
UINT8 BootpCiAddr[4];
UINT8 BootpYiAddr[4];
UINT8 BootpSiAddr[4];
UINT8 BootpGiAddr[4];
UINT8 BootpHwAddr[16];
UINT8 BootpSrvName[64];
UINT8 BootpBootFile[128];
UINT8 DhcpOptions[56];
UINT8 Raw[1472];
UINT8 Type;
UINT8 Code;
IN UINT8 DataBits,
UINT8 *nh_result = (UINT8 *)&result_buf;
nh_update(&ctx->hash, (const UINT8 *)input, len);
nh_update(&ctx->hash, (const UINT8 *)input, bytes_remaining);
nh(&ctx->hash, (const UINT8 *)input, L1_KEY_LEN,
nh_update(&ctx->hash, (const UINT8 *)input, len);
UINT8 *nh_result = (UINT8 *)&result_buf;
UINT8 nh_result[STREAMS*sizeof(UINT64)];
zero_pad((UINT8 *)msg + len, extra_zeroes_needed);
nh(&ahc->hash, (UINT8 *)msg, nh_len, len, nh_result);
nh(&ahc->hash, (UINT8 *)msg, L1_KEY_LEN, L1_KEY_LEN, nh_result);
zero_pad((UINT8 *)msg + len, extra_zeroes_needed);
nh(&ahc->hash, (UINT8 *)msg, nh_len, len, nh_result);
pdf_gen_xor(&ctx->pdf, (const UINT8 *)nonce, (UINT8 *)tag);
pdf_gen_xor(&ctx->pdf, (UINT8 *)nonce, (UINT8 *)tag);
typedef UINT8 aes_int_key[AES_ROUNDS+1][4][4]; /* AES internal */
static void kdf(void *buffer_ptr, aes_int_key key, UINT8 ndx, int nbytes)
UINT8 in_buf[AES_BLOCK_LEN] = {0};
UINT8 out_buf[AES_BLOCK_LEN];
UINT8 *dst_buf = (UINT8 *)buffer_ptr;
UINT8 cache[AES_BLOCK_LEN]; /* Previous AES output is saved */
UINT8 nonce[AES_BLOCK_LEN]; /* The AES input making above cache */
UINT8 buf[UMAC_KEY_LEN];
static void pdf_gen_xor(pdf_ctx *pc, const UINT8 nonce[8],
UINT8 buf[UMAC_OUTPUT_LEN])
UINT8 tmp_nonce_lo[4];
UINT8 nh_key [L1_KEY_LEN + L1_KEY_SHIFT * (STREAMS - 1)]; /* NH Key */
UINT8 data [HASH_BUF_BYTES]; /* Incoming data buffer */
static void nh_transform(nh_ctx *hc, const UINT8 *buf, UINT32 nbytes)
UINT8 *key;
static void nh_update(nh_ctx *hc, const UINT8 *buf, UINT32 nbytes)
static void zero_pad(UINT8 *p, int nbytes)
static void nh_final(nh_ctx *hc, UINT8 *result)
static void nh(nh_ctx *hc, const UINT8 *buf, UINT32 padded_len,
UINT32 unpadded_len, UINT8 *result)
static void ip_short(uhash_ctx_t ahc, UINT8 *nh_res, u_char *res)
UINT8 buf[(8*STREAMS+4)*sizeof(UINT64)];
dp = (EFI_DEVICE_PATH *)((UINT8 *)dp + dp->Length[0]);
dp = (EFI_DEVICE_PATH *)((UINT8 *)dp + dp->Length[0]);
memcpy(((UINT8 *)(*opt)) + sizeof(**opt), desc, sizeof(desc));
memcpy(((UINT8 *)(*opt)) + sizeof(**opt) + sizeof(desc), dp0, dplen);
UINT8 Type;
UINT8 SubType;
UINT8 Length[2];
UINT8 Signature[16];
UINT8 MBRType;
UINT8 SignatureType;