Lines Matching refs:u8
29 u8 ctx[];
45 u8 ctx[];
51 const u8 *inkey, unsigned int keylen) in crypto_xcbc_digest_setkey()
55 u8 *consts = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_setkey()
57 u8 key1[XCBC_BLOCKSIZE]; in crypto_xcbc_digest_setkey()
63 crypto_cipher_encrypt_one(ctx->child, consts, (u8 *)ks + bs); in crypto_xcbc_digest_setkey()
64 crypto_cipher_encrypt_one(ctx->child, consts + bs, (u8 *)ks + bs * 2); in crypto_xcbc_digest_setkey()
65 crypto_cipher_encrypt_one(ctx->child, key1, (u8 *)ks); in crypto_xcbc_digest_setkey()
76 u8 *prev = PTR_ALIGN(&ctx->ctx[0], alignmask + 1) + bs; in crypto_xcbc_digest_init()
84 static int crypto_xcbc_digest_update(struct shash_desc *pdesc, const u8 *p, in crypto_xcbc_digest_update()
93 u8 *odds = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_update()
94 u8 *prev = odds + bs; in crypto_xcbc_digest_update()
131 static int crypto_xcbc_digest_final(struct shash_desc *pdesc, u8 *out) in crypto_xcbc_digest_final()
139 u8 *consts = PTR_ALIGN(&tctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_final()
140 u8 *odds = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_final()
141 u8 *prev = odds + bs; in crypto_xcbc_digest_final()
146 u8 *p = odds + ctx->len; in crypto_xcbc_digest_final()