Home
last modified time | relevance | path

Searched refs:odds (Results 1 – 2 of 2) sorted by relevance

/crypto/
Dxcbc.c94 u8 *odds = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_update() local
95 u8 *prev = odds + bs; in crypto_xcbc_digest_update()
99 memcpy(odds + ctx->len, p, len); in crypto_xcbc_digest_update()
105 memcpy(odds + ctx->len, p, bs - ctx->len); in crypto_xcbc_digest_update()
109 crypto_xor(prev, odds, bs); in crypto_xcbc_digest_update()
125 memcpy(odds, p, len); in crypto_xcbc_digest_update()
141 u8 *odds = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_final() local
142 u8 *prev = odds + bs; in crypto_xcbc_digest_final()
147 u8 *p = odds + ctx->len; in crypto_xcbc_digest_final()
159 crypto_xor(prev, odds, bs); in crypto_xcbc_digest_final()
Dcmac.c127 u8 *odds = PTR_ALIGN((void *)ctx->ctx, alignmask + 1); in crypto_cmac_digest_update() local
128 u8 *prev = odds + bs; in crypto_cmac_digest_update()
132 memcpy(odds + ctx->len, p, len); in crypto_cmac_digest_update()
138 memcpy(odds + ctx->len, p, bs - ctx->len); in crypto_cmac_digest_update()
142 crypto_xor(prev, odds, bs); in crypto_cmac_digest_update()
158 memcpy(odds, p, len); in crypto_cmac_digest_update()
175 u8 *odds = PTR_ALIGN((void *)ctx->ctx, alignmask + 1); in crypto_cmac_digest_final() local
176 u8 *prev = odds + bs; in crypto_cmac_digest_final()
181 u8 *p = odds + ctx->len; in crypto_cmac_digest_final()
193 crypto_xor(prev, odds, bs); in crypto_cmac_digest_final()