Searched refs:odds (Results 1 – 2 of 2) sorted by relevance
/linux-4.19.296/crypto/ |
D | xcbc.c | 103 u8 *odds = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_update() local 104 u8 *prev = odds + bs; in crypto_xcbc_digest_update() 108 memcpy(odds + ctx->len, p, len); in crypto_xcbc_digest_update() 114 memcpy(odds + ctx->len, p, bs - ctx->len); in crypto_xcbc_digest_update() 118 crypto_xor(prev, odds, bs); in crypto_xcbc_digest_update() 134 memcpy(odds, p, len); in crypto_xcbc_digest_update() 150 u8 *odds = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_final() local 151 u8 *prev = odds + bs; in crypto_xcbc_digest_final() 156 u8 *p = odds + ctx->len; in crypto_xcbc_digest_final() 168 crypto_xor(prev, odds, bs); in crypto_xcbc_digest_final()
|
D | cmac.c | 131 u8 *odds = PTR_ALIGN((void *)ctx->ctx, alignmask + 1); in crypto_cmac_digest_update() local 132 u8 *prev = odds + bs; in crypto_cmac_digest_update() 136 memcpy(odds + ctx->len, p, len); in crypto_cmac_digest_update() 142 memcpy(odds + ctx->len, p, bs - ctx->len); in crypto_cmac_digest_update() 146 crypto_xor(prev, odds, bs); in crypto_cmac_digest_update() 162 memcpy(odds, p, len); in crypto_cmac_digest_update() 179 u8 *odds = PTR_ALIGN((void *)ctx->ctx, alignmask + 1); in crypto_cmac_digest_final() local 180 u8 *prev = odds + bs; in crypto_cmac_digest_final() 185 u8 *p = odds + ctx->len; in crypto_cmac_digest_final() 197 crypto_xor(prev, odds, bs); in crypto_cmac_digest_final()
|