Home | History | Annotate | Download | only in cmac

Lines Matching refs:block

68   uint8_t block[AES_BLOCK_SIZE];
69 // block_used contains the number of valid bytes in |block|.
81 OPENSSL_cleanse(ctx->block, sizeof(ctx->block));
181 OPENSSL_memcpy(ctx->block + ctx->block_used, in, todo);
189 // latter case we don't want to process this block now because it might be
190 // the last block and that block is treated specially.
197 if (!EVP_Cipher(&ctx->cipher_ctx, scratch, ctx->block, AES_BLOCK_SIZE)) {
211 OPENSSL_memcpy(ctx->block, in, in_len);
226 // If the last block is incomplete, terminate it with a single 'one' bit
228 ctx->block[ctx->block_used] = 0x80;
229 OPENSSL_memset(ctx->block + ctx->block_used + 1, 0,
237 out[i] = ctx->block[i] ^ mask[i];