347500+ entries in 0.222s

assbot: Logged on 22-01-2016 15:49:34; mircea_popescu: unsigned char *pos = &vchSig[0]; <<
this
takes
the pointer pos and points it
to what vchsig is
assbot: Logged on 22-01-2016 15:49:10; mircea_popescu: memcpy(&vchSig[0], pchSig, nSize); << so
this
takes nsize bytes from pchsig and copies
them over where vchsig lies.
mircea_popescu: my question is : are
these
two in fact equivalent. because we can end up with surprises in
this sort of change.
mircea_popescu: unsigned char *pos = &vchSig[0]; <<
this
takes
the pointer pos and points it
to what vchsig is
☟︎ mircea_popescu: memcpy(&vchSig[0], pchSig, nSize); << so
this
takes nsize bytes from pchsig and copies
them over where vchsig lies.
☟︎ assbot: Logged on 22-01-2016 12:42:36; mircea_popescu: and also, since we're
taking out memcpy(&vchSig[0], pchSig, nSize); in favour of, from what i understand, unsigned char *pos = &vchSig[0]; are
these actually and in fact equivalent ?
ascii_butugychag: in exactly
the same sense
that man who eats chicken is not a man-chicken chimera.
assbot: Logged on 22-01-2016 14:57:50; mircea_popescu: lots of bunnies grew ears on
their back etc
mircea_popescu: the problem with
tests is
that you can't
test for something not happening.
☟︎ mod6: <+mircea_popescu> my one question, and not
to mod6 in particular, is : can unsigned int nSize = ECDSA_size(pkey); be
trusted
to not fuck up
the size ? << Not very "warm and fuzzy" on
the openssl
trust factor either. Would some
tests or debugging help around
this part?
PeterL: Biotech scientists now raising human–animal chimeras on U.S. farms ... << wasn't
there already a
thread about sheepfucking?
mircea_popescu: also someone
tell newstarget.com
that hostgator is stealing
their 404s
mircea_popescu: supposedly 4chan accepts bitcoin payments.... except when you go
to pay
them,
they
take paypal and
the ccs. what sorta bs is
this, are
these people living in 2011 or somesuch ?
shinohai: Does
that apply
to all proselytizing
though?
shinohai: also known as
the creepy people
that stalk you in city subway
terminals hawking magazines.
mircea_popescu: in other news :
the
title for stealing
the highest
traffic website doesn't go
to
the derps you'd expect, but
to
the russkis equivalent.
http://jw.org mircea_popescu: Steevo moaned, I cant even afford a pizza for
the wife and kid on Friday night <<
the depth of
the fucking disconnect. i wouldn't even eat what he calls pizza, if it were free. in fact i'd have serious compunction giving it
to some begging dude.
mircea_popescu: "On GamerGhazi, comments explaining
that Jace was little more
than an elaborate hoax were deleted, because
they did not fit Wu's harassment narrative." <doh.
mircea_popescu: e fucking concrete support in every
town
that has a subway
that same day. what of it!
mircea_popescu: "The number of video views rose
to almost 40,000 within a day" << sigh.
this is notable in what fucking alt-world ? i remember
the earlier days of "omaigerd
teh interwebs matter" when
the numbers destined
to impress
the reader were in
the millions. by now it's as if "consensus" has been achieved around
the proposition
that such a statement is impressive period, and
the number's irrelevant. 40k people viewed every singl
mircea_popescu: lazy kid and write down "student", look at a weirdo babbling and write down "threat report",
the whole meta-state survives out of categorical confusion of
this sort.
mircea_popescu: "If
there is someone at
this point who can look at Jace's insane rambling during
this event and
take it as a credible
threat
to Brianna Wu's life,
they are either willfully misconstruing
the facts or being intentionally alarmist
to
the point of complete credibility loss. " mno.
they are being obtuse
to
the point of well adjusted, functioning ustard. how
the fuck else does anything work in
that country ? look at a dumb
mircea_popescu: i can't help myself but suspect
there may have been a good reason for
the weird, even given
the immense piles of pointless insanity scattered
throughout
the code.
mircea_popescu: the wisdom seems
to be
that "don't fucking memcpy by hand,
the compiler inlines (or even register-moves) most assignments itself and unlike you it fucking knows when
to do it", but hey.
mircea_popescu: especially after hanging out here i
trust c++ about as much as php with
these sorts of
things
mircea_popescu: and also, since we're
taking out memcpy(&vchSig[0], pchSig, nSize); in favour of, from what i understand, unsigned char *pos = &vchSig[0]; are
these actually and in fact equivalent ?
☟︎ mircea_popescu: my one question, and not
to mod6 in particular, is : can unsigned int nSize = ECDSA_size(pkey); be
trusted
to not fuck up
the size ?
assbot: Logged on 22-01-2016 04:16:03; asciilifeform: mircea_popescu: my objection was
to
the notion of reading 600kB patches of spaces-to-tabs-every-line
punkman: "The OnCare™ LiftSeat® Powered
Toilet Lift™ features LiftTek™ core assistive
technology" "patent-pending drop-in commode bucket"
punkman: you know
there are clothes
that can survive 0 washes
danielpbarron: >>
The Nadi
tights, which were announced at CES and will be available for pre-sale in May, can survive up
to 25 washes. << planned obsolescence, now for pants!
assbot: Goat Rentals
Take Off In Seattle On First Day Of Amazon Home Services | KUOW News and Information ... (
http://bit.ly/20itWpe )
BingoBoingo: Basically Ironman's
that movie where batman finally spends enough Hodl
to build a suit
that lets him do all
the
things superman does
ben_vulpes: "the reason why cops call it
the web is because,
The online is a 'Web' of lies and/or Computers are Satans kingdom on earth"
BingoBoingo just stumbled upon
this lulz catalog yesterday after getting my quarterly fix of CWC updates
ben_vulpes: "As always when a large group of people without prior exposure
to Jace are introduced
to his world, every single existing
theory on his authenticity was brought up and discussed in great detail, as were questions concerning
the state of mental health care in
the United States,
the situation of veterans, and
the practicality of using a Prius in a street race." << ladies and gentlemen, i present...my peers in
the eyes of american law.
ben_vulpes: AND NOW I BLESS
THEE WITH
THE HOLY BIGNUM
THIS FUNCTION PASSES ALL AROUND ITSELF
mod6: again [ which is defined as : int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); BN_sub() subtracts b from a and places
the result in r ("r=a-b"). ]
mod6: then we jump into
the if block and execu:
mod6: then
this part: (BN_cmp(sig->s, halforder) < 0) will return -1 since 40000 < 50000
mod6: fHighS =
true, order = 100000, halforder = 50000 (hence rshift1), and sig->s = 40000
mod6: then
this part: (BN_cmp(sig->s, halforder) < 0) will return 1 since 60000 > 50000
mod6: fHighS =
true, order = 100000, halforder = 50000 (hence rshift1), and sig->s = 60000
mod6: so now on
to fHighS
mod6: i'll
type
this out anyway.
ben_vulpes: need
to read more. let's revisit
tomorrow.
mod6: ok, so did
the first and second case for fLowS make sense
then?
mod6: etc,
there are man pages for each.
ben_vulpes: forgive further derpitude, but how on earth does `BN_CTX_get(ctx)` return
two different values?
mod6: i'll note
the code is not *identical* it does have different greater
than, less
than signs.
mod6: so we have: sig->s is assigned
to 10000 - 60000 ; sig->s now = 40000
mod6: [ which is defined as : int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); BN_sub() subtracts b from a and places
the result in r ("r=a-b"). ]
mod6: then we do
this line:
mod6: (BN_cmp(sig->s, halforder) > 0) evaluates
to 1 since 60000 > 50000
mod6: fLowS =
true, order = 100000, halforder = 50000 (hence rshift1), and sig->s = 60000
mod6: then
this line: (BN_cmp(sig->s, halforder) > 0) will return -1 since 40000 < 50000
mod6: fLowS =
true, order = 100000, halforder = 50000 (hence rshift1), and sig->s = 40000
ben_vulpes: i get
the conditional branching on
the flag, but now how
the identical code in
the branches enforces high/low-s-ness
ben_vulpes: i may simply be exhausted, but i don't see immediately how
the code inside
the
two branches is supposed
to work
mod6: i apprecaite you all
trying
to help me.
mod6: i guess we can pick
this up
tomorrow, or whenever.
mod6: if you do a pull of
that patch (be sure
to obviously run dos2unix on it
to get rid of CRLF), you should see
that all of
the lines in key.h:Sign() have
tabs in front of
them.
mod6: and we'll go from
there.
mod6: then im gonna add
tabs infront of all
the non-empty lines in Sign()
mod6: im gonna add
the code
to key.h by hand.
mod6: so
this is what i'm gonna do
ben_vulpes: i set you on
the btcd snipe hunt aeons ago iirc
BingoBoingo: Sounds like other arm could use papercut
too, but cranked up
to 11