Home
last modified time | relevance | path

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

/crypto/
Dxcbc.c104 u8 *odds = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_update() local
105 u8 *prev = odds + bs; in crypto_xcbc_digest_update()
109 memcpy(odds + ctx->len, p, len); in crypto_xcbc_digest_update()
115 memcpy(odds + ctx->len, p, bs - ctx->len); in crypto_xcbc_digest_update()
119 crypto_xor(prev, odds, bs); in crypto_xcbc_digest_update()
135 memcpy(odds, p, len); in crypto_xcbc_digest_update()
151 u8 *odds = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_final() local
152 u8 *prev = odds + bs; in crypto_xcbc_digest_final()
157 u8 *p = odds + ctx->len; in crypto_xcbc_digest_final()
169 crypto_xor(prev, odds, bs); in crypto_xcbc_digest_final()
Dcmac.c130 u8 *odds = PTR_ALIGN((void *)ctx->ctx, alignmask + 1); in crypto_cmac_digest_update() local
131 u8 *prev = odds + bs; in crypto_cmac_digest_update()
135 memcpy(odds + ctx->len, p, len); in crypto_cmac_digest_update()
141 memcpy(odds + ctx->len, p, bs - ctx->len); in crypto_cmac_digest_update()
145 crypto_xor(prev, odds, bs); in crypto_cmac_digest_update()
161 memcpy(odds, p, len); in crypto_cmac_digest_update()
177 u8 *odds = PTR_ALIGN((void *)ctx->ctx, alignmask + 1); in crypto_cmac_digest_final() local
178 u8 *prev = odds + bs; in crypto_cmac_digest_final()
183 u8 *p = odds + ctx->len; in crypto_cmac_digest_final()
195 crypto_xor(prev, odds, bs); in crypto_cmac_digest_final()