Lines Matching defs:state
193 mbedtls_platform_zeroize(cmac_ctx->state, sizeof(cmac_ctx->state));
202 unsigned char *state;
213 state = ctx->cmac_ctx->state;
227 mbedtls_xor_no_simd(state, cmac_ctx->unprocessed_block, state, block_size);
229 if ((ret = mbedtls_cipher_update(ctx, state, block_size, state,
245 mbedtls_xor_no_simd(state, input, state, block_size);
247 if ((ret = mbedtls_cipher_update(ctx, state, block_size, state,
272 unsigned char *state, *last_block;
287 state = cmac_ctx->state;
305 mbedtls_xor(state, M_last, state, block_size);
306 if ((ret = mbedtls_cipher_update(ctx, state, block_size, state,
311 memcpy(output, state, block_size);
323 mbedtls_platform_zeroize(state, MBEDTLS_CMAC_MAX_BLOCK_SIZE);
337 /* Reset the internal state */
341 mbedtls_platform_zeroize(cmac_ctx->state,
342 sizeof(cmac_ctx->state));