search for: xoring

Displaying 18 results from an estimated 18 matches for "xoring".

Did you mean: oring
2011 Feb 18
1
[PATCH] core: Honor DISPLAY text background color when in VGA mode
...ored in VGA mode. However, the BIOS supports an "XOR" mode, in which the pixels to be written are XORed with pixels already on the screen (background pixels are left untouched). So, we can get the desired effect by first writing a solid block in the desired background color, followed by XORing in the character to be displayed, using a color which is the XOR of the foreground and background colors. This depends on the existence of an all-pixels-set character at font position 0xDB. Signed-off-by: Jeffrey Hutzelman <jhutz at cmu.edu> --- core/conio.inc | 16 ++++++++++++++++ 1 fi...
2015 Dec 28
1
[PATCH 2] more changes in bitmath.h
...nt32(v)" with "FLAC__clz_uint32(v) ^ 31U" (and the same for 64-bit version). "sizeof(FLAC__uint32) * CHAR_BIT" must be 32, or the code won't work. So it's simpler to use "31 - FLAC__clz_uint32(v)" or even better, "FLAC__clz_uint32(v) ^ 31". Why XORing is better: gcc implements __builtin_clz as bsr^31, so FLAC__bitmath_ilog2() now calculates 31 - (bsr^31). GCC is unable to simplify it to just bsr. But it can do it for (bsr^31)^31. 5) The patch adds FLAC__U64L() for a big constant. -------------- next part -------------- A non-text attachment wa...
2000 Feb 03
0
SYSKEY2. Request For Comments
recently, netect / bindview posted a review of the syskey system and how the RC4 cypher stream was reset each time. standard RC4 attack analysis shows that XORing two obfuscated passwords together results in the XOR cypher stream dropping out, and you have the two XORed password. further attack analysis can decrypt the passwords. i am looking to implement an equivalent mechanism to SYSKEY, however i do not have the relevant security skills to say whether...
2010 Jun 17
4
[PATCH] Improve support for exporting btrfs subvolumes.
...ter); - return val; + return uuid; } #else #define get_uuid_blkdev(path) (NULL) #endif -int get_uuid(char *path, char *uuid, int uuidlen, char *u) +int get_uuid(const char *val, int uuidlen, char *u) { /* extract hex digits from uuidstr and compose a uuid * of the given length (max 16), xoring bytes to make - * a smaller uuid. Then compare with uuid + * a smaller uuid. */ int i = 0; - const char *val = NULL; - char fsid_val[17]; - - if (path) { - val = get_uuid_blkdev(path); - if (!val) { - struct statfs64 st; - - if (statfs64(path, &st)) - return 0; - if (!st.f_fs...
2012 Jun 15
2
[LLVMdev] Windows development and "virus" in LLVM test suite
----- Original Message ----- > From: "Chandler Carruth" <chandlerc at google.com> > To: "Mikael Lyngvig" <mikael at lyngvig.org> > Cc: "LLVMdev Mailing List" <llvmdev at cs.uiuc.edu> > Sent: Friday, June 15, 2012 5:00:03 PM > Subject: Re: [LLVMdev] Windows development and "virus" in LLVM test suite > On Fri, Jun 15, 2012
2014 Aug 07
2
[LLVMdev] Signed NaNs in APFloat arithmetic
Ok. That you for clarifying the point for me. I was primed for a regression because this behavior changed over llvm versions and was causing my tests to fail ;). I'm now doing bitcasting to int, xoring with the signbit and bitcasting back. On Thu, Aug 7, 2014 at 2:59 AM, Owen Anderson <resistor at mac.com> wrote: > Subtraction is also not a correct implementation of negation, for exactly the same reason. LLVM is simply wrong in this context. > Generally speaking, correct implementat...
2007 Sep 18
0
Re: LARTC Digest, Vol 31, Issue 25
> > Message: 6 Date: Tue, 18 Sep 2007 10:44:42 +0200 From: Michal Soltys > <nozo@ziu.info> Subject: Re: [LARTC] I''m having an issue with u32 > masking To: lartc@mailman.ds9a.nl Message-ID: > <46EF8FFA.6070707@ziu.info> Content-Type: text/plain; > charset=ISO-8859-1; format=flowed Vadtec wrote: >> > Is this how tc is supposed to work? Does it only
2011 Apr 11
0
[LLVMdev] TTA-Based Co-design Environment (TCE) v1.4 released
...to improve the schedule. Dumps DDGs to dot files along with dependence and resource constraint analysis data. Code generator improvements --------------------------- - Passes the first function parameter in register instead of stack. - Uses negative guard more aggressively, less stupid guard xoring operations. - Emulation pattern generation improved, can use immediates directly when using DAG to emulate missing operations. - Some other minor pattern improvements leading to slightly better code on some situations. - Alias analysis improvements, understands that register spills to stack...
2012 Jun 15
0
[LLVMdev] Windows development and "virus" in LLVM test suite
Sounds like a great idea. On Windows there are so many types of antivirus solutions, that it is impossible to provide a detailed description of how to add an ignored folder for all of them. -- A Windows user only for the games. 2012/6/15 Hal Finkel <hfinkel at anl.gov> > > > ----- Original Message ----- > > From: "Chandler Carruth" <chandlerc at google.com>
2008 Mar 18
0
AST-2008-005: HTTP Manager ID is predictable
Asterisk Project Security Advisory - AST-2008-005 +------------------------------------------------------------------------+ | Product | Asterisk | |----------------------+-------------------------------------------------| | Summary | HTTP Manager ID is predictable |
2008 Mar 18
0
AST-2008-005: HTTP Manager ID is predictable
Asterisk Project Security Advisory - AST-2008-005 +------------------------------------------------------------------------+ | Product | Asterisk | |----------------------+-------------------------------------------------| | Summary | HTTP Manager ID is predictable |
2012 Jun 15
0
[LLVMdev] Windows development and "virus" in LLVM test suite
On Fri, Jun 15, 2012 at 1:53 PM, Mikael Lyngvig <mikael at lyngvig.org> wrote: > 1. I can't tell Microsoft Security Essentials to ignore anything. Even if > I click Allow, it breaks the pull. > 2. The issue is not me. I don't download virus infested stuff and I don't > visit dangerous sites so I rarely have a need for antivirus solutions. > > The issue is the
2000 Feb 24
1
Making password driven SSH 'immune' to MTM attacks.
[I know this is the 'port' list, but I can't find a better place to post this, and with the garbage going on @slashdot I figured I'd get this out. This belongs on sci.crypt or a general OpenSSH mailing list] First, a quick rehash of stuff everyone here already knows, OpenSSH can use two major forms of authentication: 1. Password 2. RSA keys The RSA method is good because it
2014 Aug 07
3
[LLVMdev] Signed NaNs in APFloat arithmetic
Ok, I had forgotten about sNaNs. Doesn't the same caveat apply to 0-sNaN then though or does that not signal? Does that mean we need a separate way to handle negate in the IR? Funnily enough, historically I believe we were using the multiplication by -1.0 because it was a more reliable negation that 0-x (from 3.0 until 3.3 at least). Is there a good reason why multiplication by NaN should kill
2012 Jun 15
6
[LLVMdev] Windows development and "virus" in LLVM test suite
1. I can't tell Microsoft Security Essentials to ignore anything. Even if I click Allow, it breaks the pull. 2. The issue is not me. I don't download virus infested stuff and I don't visit dangerous sites so I rarely have a need for antivirus solutions. The issue is the newcomer Windows user whom I have to instruct to disable and/or remove his antivirus program if he or she wants to
2005 May 25
0
[PATCH] Fix fuction prototypes/definitions with void argument
Hi, the patch below fixes function prototypes/defintions with void argument to shut up the heartful warnings by recent gcc :) It doesn't cover all places, e.g. test directories. The patch is to 1.1.2. Takashi --- src/metaflac/operations.c-dist 2005-05-25 16:20:02.000000000 +0200 +++ src/metaflac/operations.c 2005-05-25 16:20:09.000000000 +0200 @@ -26,7 +26,7 @@ #include <stdlib.h>
2012 Jan 15
22
Does raidzN actually protect against bitrot? If yes - how?
...data, doesn''t get written - leading to invalid data upon read). In general, I think the same applies to bitrot of data that was written successfully and corrupted later - either way, upon reading all sectors of the stripe, we don''t have a valid result (for the XOR-parity example, XORing all bytes does not produce a zero). The way I get it, RAID5/6 generally has no mechanism to detect *WHICH* sector was faulty, if all of them got read without error reports from the disk. Perhaps it won''t even test whether parity matches and bytes zero out, as long as there were no read er...
2016 Apr 07
7
Implementing a proposed InstCombine optimization
I am not entirely sure this is safe. Transforming this to an fsub could change the value stored on platforms that implement negates using arithmetic instead of with bitmath (such as ours) and either canonicalize NaNs or don’t support denormals. This is actually important because this kind of bitmath on floats is very commonly used as part of algorithms for complex math functions that need to get