Home | History | Annotate | Download | only in openssh

Lines Matching defs:UINT8

80 typedef u_int8_t	UINT8;  /* 1 byte   */
187 static void kdf(void *bufp, aes_int_key key, UINT8 ndx, int nbytes)
189 UINT8 in_buf[AES_BLOCK_LEN] = {0};
190 UINT8 out_buf[AES_BLOCK_LEN];
191 UINT8 *dst_buf = (UINT8 *)bufp;
218 UINT8 cache[AES_BLOCK_LEN]; /* Previous AES output is saved */
219 UINT8 nonce[AES_BLOCK_LEN]; /* The AES input making above cache */
225 UINT8 buf[UMAC_KEY_LEN];
235 static void pdf_gen_xor(pdf_ctx *pc, UINT8 nonce[8], UINT8 buf[8])
250 UINT8 tmp_nonce_lo[4];
318 UINT8 nh_key [L1_KEY_LEN + L1_KEY_SHIFT * (STREAMS - 1)]; /* NH Key */
319 UINT8 data [HASH_BUF_BYTES]; /* Incomming data buffer */
534 static void nh_transform(nh_ctx *hc, UINT8 *buf, UINT32 nbytes)
541 UINT8 *key;
609 static void nh_update(nh_ctx *hc, UINT8 *buf, UINT32 nbytes)
640 static void zero_pad(UINT8 *p, int nbytes)
664 static void nh_final(nh_ctx *hc, UINT8 *result)
704 static void nh(nh_ctx *hc, UINT8 *buf, UINT32 padded_len,
705 UINT32 unpadded_len, UINT8 *result)
885 static void ip_short(uhash_ctx_t ahc, UINT8 *nh_res, u_char *res)
958 UINT8 buf[(8*STREAMS+4)*sizeof(UINT64)];
1049 UINT8 *nh_result = (UINT8 *)&result_buf;
1052 nh_update(&ctx->hash, (UINT8 *)input, len);
1067 nh_update(&ctx->hash, (UINT8 *)input, bytes_remaining);
1077 nh(&ctx->hash, (UINT8 *)input, L1_KEY_LEN,
1088 nh_update(&ctx->hash, (UINT8 *)input, len);
1102 UINT8 *nh_result = (UINT8 *)&result_buf;
1125 UINT8 nh_result[STREAMS*sizeof(UINT64)];
1138 zero_pad((UINT8 *)msg + len, extra_zeroes_needed);
1139 nh(&ahc->hash, (UINT8 *)msg, nh_len, len, nh_result);
1146 nh(&ahc->hash, (UINT8 *)msg, L1_KEY_LEN, L1_KEY_LEN, nh_result);
1154 zero_pad((UINT8 *)msg + len, extra_zeroes_needed);
1155 nh(&ahc->hash, (UINT8 *)msg, nh_len, len, nh_result);
1242 pdf_gen_xor(&ctx->pdf, (UINT8 *)nonce, (UINT8 *)tag);
1267 pdf_gen_xor(&ctx->pdf, (UINT8 *)nonce, (UINT8 *)tag);