Slashdot Mirror


HDCP Encryption/Decryption Code Released

rtj writes "We have released an open-source (BSD licensed) implementation of the HDCP encryption/decryption algorithms. The code includes the block cipher, stream cipher, and hashing algorithms necessary to perform an HDCP handshake and to encrypt or decrypt video. The code passes the test vectors provided in the HDCP specification and can encrypt video at a rate of about 180 640x480 frames/second on a 2.33GHz Intel Xeon CPU. This isn't quite fast enough to decrypt 1080p content in real-time on a single core, but decryption can be parallelized across multiple cores. There are also many opportunities for further optimisation, such as using SSE instructions. We are releasing the code in hopes that others will further optimize it and use it in their HDCP-related projects."

225 comments

  1. Obligatory by Pojut · · Score: 2, Funny

    Get it on a shirt, on Digg, and in sigs everywhere!

    1. Re:Obligatory by Anonymous Coward · · Score: 1, Insightful

      No one on Digg to see it anymore :)

    2. Re:Obligatory by Anonymous Coward · · Score: 0

      Get it on a shirt, on Digg, and in sigs everywhere!

      That would make one rude sig: way past the 4 line x 70 char guideline that few care about because we're not in the 80s, but even still it's bigger than any respectable sig ought to be. Heck, I don't even think it would fit on a shirt... maybe a XXL shirt... which wouldn't be bad for the orange-finger faction.

    3. Re:Obligatory by Anonymous Coward · · Score: 0

      Man, remember back when Digg was new and everyone was like "OMG this will totally kill Slashdot"?

    4. Re:Obligatory by gringer · · Score: 1

      Don't worry, a couple of minutes with the HDCP Encryption/Decryption Code, and everyone will be able to see it again.

      --
      Ask me about repetitive DNA
    5. Re:Obligatory by Anonymous Coward · · Score: 0

      Man, remember back when Digg was new

      Yes.

      and everyone was like "OMG this will totally kill Slashdot"?

      No.

      I've always come to Slashdot for the comments and the comments on Digg have always been shit.

  2. That was quick by maroberts · · Score: 1

    Only about a week or so since the master tables were released.

    --

    Donte Alistair Anderson Roberts - hi son!
    Karma: Chameleon

    1. Re:That was quick by d3ac0n · · Score: 1

      Yep. Doesn't take long.

      Any bets on when we see this implemented in more full-featured software suites?

      I'm thinking maybe a month at the outside.

      HDCP is dead. And nothing of value was lost. :)

      --
      Official Heretic from the "Church of Global Warming". Proven right thanks to whistle blowers. AGW = Flat Earth Theory
    2. Re:That was quick by arndawg · · Score: 1

      HDCP is dead.

      Leo Strut.

    3. Re:That was quick by Anonymous Coward · · Score: 3, Funny

      HDCP is dead.

      Netcraft confirms it!

    4. Re:That was quick by d3ac0n · · Score: 1

      Leo Strut.

      Awwww Yeaaaahhh....

      For some reason, "Leo Strut" always makes me think of the opening bars to "Stayin' Alive" playing as it's soundtrack. Does anyone else have that happen, or is it just me?

      --
      Official Heretic from the "Church of Global Warming". Proven right thanks to whistle blowers. AGW = Flat Earth Theory
    5. Re:That was quick by Goaway · · Score: 2, Interesting

      Any bets on when we see this implemented in more full-featured software suites?

      Never, as no software suites have any use at all for HDCP.

      HDCP is used only for encrypting content as it travels across the cable to the display. Only devices connected to the display cable will ever see HDCP-protected content. Software players process the data before it is encrypted with HDCP.

      The only thing this is good for is for wiretapping a display cable to capture uncompressed video, or for making a box that fools your paranoid computer into believing the display connection is protected.

    6. Re:That was quick by grub · · Score: 1


      The only thing this is good for is for wiretapping a display cable to capture uncompressed video, or for making a box that fools your paranoid computer into believing the display connection is protected.

      I can see use in non-CableCo PVR software. They've started flipping off Firewire output on certain channels (or turned it off entirely), this could make it easy to still record the shows you want with a non-CableCo box.

      --
      Trolling is a art,
    7. Re:That was quick by Anonymous Coward · · Score: 0

      Leo Strut.

      Awwww Yeaaaahhh....

      For some reason, "Leo Strut" always makes me think of the opening bars to "Stayin' Alive" playing as it's soundtrack. Does anyone else have that happen, or is it just me?

      Damn you... Now it's stuck in my head.

    8. Re:That was quick by Canazza · · Score: 2, Funny

      if it was just you, it isn't now
      *bana wah wah. wah. wowadah wowa da wah wah*

      --
      It pays to be obvious, especially if you have a reputation for being subtle.
    9. Re:That was quick by manybit · · Score: 0

      Now the only question is when Jon Lech Johansen makes a GUI for it and takes full credit.

    10. Re:That was quick by Goaway · · Score: 1

      Yes, that would fall under the first case.

      (Also, I doubt it would be "easy", since the amount of data contained in an uncompressed HD stream is pretty daunting. Like they say, they still can't decrypt it in realtime, to say nothing of encoding it. Just getting it onto a disk fast enough might be a challenge.)

    11. Re:That was quick by dpilot · · Score: 1

      How appropriate, because this code is BSD licensed. Netcraft-dead encryption code on a Netcraft-dead platform - kind of like the advertising blurb of the Betamax HD-DVD converter I've got clipped to my door.

      --
      The living have better things to do than to continue hating the dead.
    12. Re:That was quick by nabsltd · · Score: 1

      (Also, I doubt it would be "easy", since the amount of data contained in an uncompressed HD stream is pretty daunting. Like they say, they still can't decrypt it in realtime, to say nothing of encoding it. Just getting it onto a disk fast enough might be a challenge.)

      HDMI without HDCP is basically just plain DVI (yes, I know that technically DVI can also carry HDCP). There are DVI to component converters available, and there is at least one device that can record component video to MPEG-4 in realtime.

      So, it's not really hard, but it might cost some money.

    13. Re:That was quick by radish · · Score: 1

      If you're using digital cable as the source, why not just use a CableCard tuner?

      --

      ---- Den ene knappen er powerknapp, den andre er Bender voice knapp "Bite My Shiny Metal Ass"

    14. Re:That was quick by bufordt13 · · Score: 1

      Because i'm using linux on my DVR.

    15. Re:That was quick by SuricouRaven · · Score: 1
      "The only thing this is good for is for wiretapping a display cable to capture uncompressed video"

      No, it can't be used to do this. I think.

      ", or for making a box that fools your paranoid computer into believing the display connection is protected."

      But that it can be used to do! You do need an FPGA and some really fiddley surface-mount soldering, but nothing the dodgy exporters of China cannot handle with ease. It also renders the first one possible in effect, because you can just use the box to get access to an unencrypted stream anyway.

    16. Re:That was quick by SuricouRaven · · Score: 1
      It's not quite DVI, but it's very close. It's DVI with an extension to carry audio data as well as video. It's a backwards compatible extension though - a DVI port is still a perfectly valid (albeit audioless) HDMI port, just in a different physical connector. That's why it's possible to connect between them with a simple adaptor.

      DVI was initially designed as a standard to connect PCs to monitors, and soon attracted attention as a way to connect PCs to TVs as well - thus the invention of HDCP to encrypt it. But it had a few minor flaws for consumer electronics use like an inability to carry sound, lack of control signals (eg, 'turn the TV to the right input when you turn on the cable box,) a quite fragile male connector and backwards-compatibility-for-VGA pins that added cost but were of little use to a TV. HDMI takes the basic electronics of DVI, corrects all those problems, and makes the HDCP support manditory rather than an optional extension.

    17. Re:That was quick by ncc74656 · · Score: 1

      If you're using digital cable as the source, why not just use a CableCard tuner?

      Because CableCard tuners don't work with Linux, perhaps?

      --
      20 January 2017: the End of an Error.
    18. Re:That was quick by TheLinuxSRC · · Score: 0, Offtopic
    19. Re:That was quick by bucky0 · · Score: 2, Interesting

      I don't have a DVR, but a common complaint about CableCard is that a) many cable companies charge $5/mo for the card (which is as much as it costs to rent some of their DVRs), and B) CableCard is only supported using certain PVR software under windows (encrypted things have to be stored encrypted on disk). I could be wrong, but I think only MS's software supports it.

      Though, honestly, with netflix and hulu, I don't see a reason to store gigs and gigs of video like I used to.

      --

      -Bucky
    20. Re:That was quick by bufordt13 · · Score: 1

      Not really a CableCard now is it? It will not decode encrypted channels.

    21. Re:That was quick by nabsltd · · Score: 1

      HDMI takes the basic electronics of DVI, corrects all those problems, and makes the HDCP support manditory rather than an optional extension.

      People keep saying that HDMI requires HDCP, but that's obviously not true in the real world. There have been many devices (most notably video cards) that have HDMI connectors but do not support HDCP over that connector.

      I think people are getting confused because of the recent change in the HDMI spec that requires a device to fully and correctly implement HDCP if the device implements HDCP at all.

  3. No hardware? by gtvr · · Score: 3, Interesting

    So does this negate Intel's statement that you can only do this if you build a chip with the code in it?

    1. Re:No hardware? by d3ac0n · · Score: 1

      Certainly appears that way.

      Frankly, I always thought that That Intel statement was FUD anyway. Intel knew it could be software implemented. I doubt they thought it would be done this fast though. They really should know by now. NEVER underestimate a determined hacker.

      --
      Official Heretic from the "Church of Global Warming". Proven right thanks to whistle blowers. AGW = Flat Earth Theory
    2. Re:No hardware? by Mathinker · · Score: 5, Informative

      Intel's statement had to do with the security of the use case of HDCP: digital video encrypted with HDCP being transported over HDMI cables. In other words, the hardware Intel claims is required, is specialized hardware which interfaces with HDMI ports. This software implementation is not interesting for cracking encrypted video if it cannot communicate with the Blu-Ray or other media player in question in a way which tricks the media player into thinking that the computer running the software is a certified display device.

    3. Re:No hardware? by MichaelSmith · · Score: 1

      That statement seemed pretty silly given that most applications will be to transcode the encrypted stream into something more portable, and transcoding doesn't have to be in real time.

    4. Re:No hardware? by jdimpson · · Score: 1

      That statement seemed pretty silly given that most applications will be to transcode the encrypted stream into something more portable, and transcoding doesn't have to be in real time.

      Too early to tell what "most applications" will be.

    5. Re:No hardware? by ciderbrew · · Score: 1

      Well they can't do 1080p yet. So it's true for a few weeks more. Then after that some guy will write a 3D extension and soon after a 2k and 4k extension will be made - not that you can view it on a standard monitor; but that's not the point. All the videos want to be set free.

    6. Re:No hardware? by Anonymous Coward · · Score: 0

      You need to take into account when HDCP was created, not what machines we can buy today.

      This whole HDCP thing is not as big a deal as people are making it out to be. We've been able to buy HDCP strippers for years. Just because the home user is unlikely to buy one, doesn't mean content is protected. The home user can simply get the identical data online.

    7. Re:No hardware? by Thanshin · · Score: 1

      Exactly my thought. I suppose he's talking about estimations on building a dedicated hardware HDCP decrypter.

    8. Re:No hardware? by jamesh · · Score: 4, Insightful

      NEVER underestimate a determined hacker.

      Especially one who's been told it can't be done.

    9. Re:No hardware? by norpy · · Score: 5, Informative

      Errrrr the point of this software is to perform the handshake which authenticates it as a legitimate source or sink device. The master key also allows you to simply generate a NEW device key if the one you are using happens to get blacklisted by a firmware update.

      The reason this is useful is not for bluray, it is for first-run broadcast content.

    10. Re:No hardware? by icebraining · · Score: 3, Informative

      But the sink keys they used could be banned, no? Having the master key means you can't ban them, because you can generate any possible key.

    11. Re:No hardware? by alexandre_ganso · · Score: 2, Insightful

      No, they can't do 1080p IN REAL TIME.

    12. Re:No hardware? by amazeofdeath · · Score: 1

      As both cheap graphics cards and motherboards with HDMI outputs are very much mainstream nowadays, I think your use of the word "specialized" is inaccurate here.

      --
      U+F8FF
    13. Re:No hardware? by Anonymous Coward · · Score: 0

      No, they can do 1080p in real time on a high-end dual-core, or mid-range quad-core processor.

      If they implement GPU support they're set.

    14. Re:No hardware? by KiloByte · · Score: 4, Interesting

      In other words, the HDCP hardware decryptor is more powerful than the main CPU. Even with the specialized-vs-generic advantage, just think about the power wasted encrypting/decrypting it for no reason but letting the cartel control the market market and the complexity of the electronics you have to buy with your own money.

      Every HDCP device should be slapped with a huge carbon and recycling tax -- with an extra punitive rate, since the waste is introduced intentionally.

      --
      The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
    15. Re:No hardware? by Anonymous Coward · · Score: 0

      No, they can't do 1080p IN REAL TIME yet .

      ftfy

    16. Re:No hardware? by blincoln · · Score: 4, Interesting

      In other words, the HDCP hardware decryptor is more powerful than the main CPU.

      I'm pretty sure it's not, given that the $50 video card I bought last week to run a second monitor at work has an HDMI port on it. If the chip were that powerful, it would be too expensive to put on a card that cheap.

      I'm sure this is just a case where specialized hardware is able to accomplish the task a lot more quickly than the first version of some software running on a general-purpose CPU.

      --
      "...always new atoms but always doing the same dance, remembering what the dance was yesterday." -Richard Feynman
    17. Re:No hardware? by TheGratefulNet · · Score: 1

      'special' in that it RECEIVES hdmi.

      no normal pc does that. reminder: pc's SEND hdmi, not receive it.

      --

      --
      "It is now safe to switch off your computer."
    18. Re:No hardware? by Goaway · · Score: 3, Informative

      In theory they could be banned, but in practice, due to sloppy distribution of keys, they can't ban them without breaking too many innocent devices, so they haven't.

    19. Re:No hardware? by Anonymous Coward · · Score: 2, Informative

      who says the output of your card is HDCP encrypted?
      HDMI != HDCP

    20. Re:No hardware? by Andy+Dodd · · Score: 5, Insightful

      I think you greatly underestimate the advantage an ASIC has over a general purpose CPU (even the latest Intel CPUs with AES-NI) when it comes to crypto.

      How about you RTFA:
      "The HDCP cipher is designed to be efficient when implemented in hardware, but it is terribly inefficient in software, primarily because it makes extensive use of bit operations. Our implementation uses bit-slicing to achieve high speeds by exploiting bit-level parallelism. We have created a few high-level routines to make it as easy as possible to implement HDCP, as shown in the following example. "

      --
      retrorocket.o not found, launch anyway?
    21. Re:No hardware? by Anonymous Coward · · Score: 0

      Errrr - Black Magic Intensity Pro HDMI Capture Card....$189 !

      Just one example, plenty of others out there.

    22. Re:No hardware? by ciderbrew · · Score: 1

      I always thought if you added up the worlds extra CPU use just for encrypting/decrypting. The amount of power needed would cause so much CO2 that every country would ban it on the spot.
      DRM is bad for the planet!

    23. Re:No hardware? by Iphtashu+Fitz · · Score: 4, Insightful

      In other words, the HDCP hardware decryptor is more powerful than the main CPU.

      Um. No. Not at all. CPU's are highly generalized computational engines. A CPU's instruction set contains every instruction needed to perform every operation by a computer, including I/O to peripheral busses, etc. A GPU is a highly specialized processor designed to complement a CPU and offload graphics-specific computations that requires a large number of high speed mathematical computations. It's only purpose is to take data from the CPU and render it quickly for a display. The functionality of a GPU can be implemented in a CPU, although with a huge degradation in performance. The functionality of a CPU can not be implemented in a GPU.

      In summary:
      1. A CPU is the brain of the computer and the GPU is only meant to complement it.
      2. GPU's are specialized and cannot replace the function of a CPU.
      3. CPU's can perform the functions of a GPU but at a much slower speed.

      Every HDCP device should be slapped with a huge carbon and recycling tax -- with an extra punitive rate, since the waste is introduced intentionally.

      What a crock. Thanks to technologies like CUDA you can write your own programs that leverage the GPU's in your existing video cards. It's likely only a matter of time before you start to see GPU-based implementations of this code, which means the nVidia or ATI card in your existing PC could easily decrypt HDCP content in real-time. So are you willing to pay excessive taxes for the video card in your PC? When implemented in existing DVI & HDMI chipsets, HDCP really doesn't require all that much more physical overhead, certainly not enough to justify an absurd carbon tax. Highly specialized hardware like that is significantly more efficient than even the GPU in your PC.

    24. Re:No hardware? by amazeofdeath · · Score: 1

      Hmm, lost me there. Answer me this: What separates a HDCP capable computer without the software player from a HDCP capable computer with the software player? All the same parts, from Blu-Ray player to the graphics to the monitor.

      --
      U+F8FF
    25. Re:No hardware? by loki_tiwaz · · Score: 1

      yeah, the fact it takes a 2ghz cpu to decrypt standard definition fast enough should be sufficient to argue that it's not only a waste of time (keys are already cracked and now the algorithms are out in the wild) - the whole thing is defunct. it is only a matter of a very short time before they can't stop anyone plugging a computer into a hdmi output from an 'authorised' playback device and the computer pretends to be a monitor that knows the seekrits and voila, 100% pristine, unencrypted video dumped onto a hard drive (or piped into an encoder).

      if only this was enough of a point to suggest they are wasting their energy and that any law that permits such stupidity is a bad law. let's not forget the stupid dvd/bluray disc is also encrypted and before it gets re-encrypted again, it has to be decrypted. that's three totally wasteful processing loads that are so big that for the same processing cost you could be decoding the whole stream in high definition if it wasn't encrypted.

      i'll stop downloading bluray rips from the interwebs when they stop costing me twice as much electricity as is neccessary to decode their crappy movies. oh, and when they start realising that tiny little 2 metre high cinema screens, cruddy overpriced popcorn and no comfy seats and beers to drink are gonna make me think my 42 inch bravia and 8 channel surround system in my own loungeroom is much more pleasant. i'm sure i'm not alone and if the lawyers ever come to my house making overblown claims about how much i owe them i'll spend that money they are demanding on laywers to put them back in their place. not just violating the laws of cryptography but also the laws of free market economics. which on any other subject they will swear black and blue is 'The Way'.

      oh and what are they going to do when high def eyegoggles finally hit the market? they better be hoping someone makes processors that are about 10x as calculation-per-second-per-watt more efficient than any portable media playing device can handle, cos otherwise the technology would be dead in the water.

    26. Re:No hardware? by Alphathon · · Score: 1

      Actually, all HDMI ports have HDCP - it's a requirement of the spec. Of course there is nothing to stop companies or individuals from buying HDMI ports and just attaching them to DVI pins, but if they did that they wouldn't be legally allowed to advertise it or label it as HDMI (false advertising etc). Likewise, it also has to be able to output audio or it is technically not HDMI.

    27. Re:No hardware? by Amouth · · Score: 3, Informative

      even in theory they couldn't be banned because they have the master key - meaning they can create any and all keys on the fly and at will - the only way to "ban" them would be to not use HDCP and use something else..

      --
      '...if only "Jumping to a Conclusion" was an event in the Olympics.'
    28. Re:No hardware? by ledow · · Score: 2, Informative

      Has no-one here ever used a SOFTWARE renderer in their games? Software on a general CPU is atrocious at accomplishing a task optimally. Hell, it sucked years before graphics required an extra card in your machine and it sucks even more now - how many "GHz" do you think your CPU would have to run at in order to match the performance of an average GPU by using software rendering? Probably a lot more than double what the best computer processor runs at now, or we'd be throwing GPU's away and buying quad-core's instead. Software implementations on a generic processor can't even come close to competing with a hardware device designed to do just that one task. Especially not on something that uses the x86 instruction set (go look at the speed of ARM chips compared to their heat / power / price).

      Software implementations are basically emulations - take MAME or other emulators for example - you are software implementing a device that probably originally run at a handful of MHz and now requires a GHz PC to keep up with it, even if you remove quite a lot of the unnecessary interface logic. Now this is an entirely encryption affair here but even back in the days of VIA EPIA boards, VIA's on-chip encrypt/decrypt logic could outperform even the best Intel CPU.

      It's a software implementation. Expect it to suck until it's optimised, and even then expect it to be way behind what a £10 FGPA could be programmed to do with the same base code.

    29. Re:No hardware? by Anonymous Coward · · Score: 0

      Exactly my thought. I suppose he's talking about estimations on building a dedicated hardware HDCP decrypter.

      Wait a few months and there'll be probably be source for an FPGA floating around out there.

      Wait a few years and it'll probably be doable on the 2015 equivalent of an Arduino.

    30. Re:No hardware? by Anonymous Coward · · Score: 2, Insightful

      "No Linux for the desktop"

      I DARE YOU HACKERS !

    31. Re:No hardware? by KiloByte · · Score: 4, Insightful

      This is the "specialized-vs-generic advantage" I mentioned. You do waste a lot less power, but you still do waste it for no gain whatsoever.

      A parable: a crazy dictator ordered his workers to make a huge earth mound and then to level it, with nothing but shovels. Another dictator ordered his troops to make a mound of the same size and then level it, but this time he granted them heavy machinery. Which dictator uses his people better?

      --
      The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
    32. Re:No hardware? by SharpFang · · Score: 3, Informative

      This.
      Simple bit operations are vastly faster when implemented in silicon.
      Think of it. A simple "&" is 8 logic gates in silicon. In CPU it's a fetch value into register, reroute ALU to the bit-and operation, route source to source registers, target to target registers, select word sizes, perform the operation, fill the flag register in...

      Or take something else. Reverse order of bits in a word. First is last, last is first. A very common operation, and if I recall correctly, essential in FFT.

      i = (i & 0x55555555) << 1 | (i & 0xaaaaaaaa) >> 1;
        i = (i & 0x33333333) << 2 | (i & 0xcccccccc) >> 2;
        i = (i & 0x0f0f0f0f) << 4 | (i & 0xf0f0f0f0) >> 4;
        i = (i & 0x00ff00ff) << 8 | (i & 0xff00ff00) >> 8;
        i = (i & 0x0000ffff) << 16 | (i & 0xffff0000) >> 16;

      How many CPU cycles would that be...?

      Now in silicon, it takes 0 transistors. You just connect first input pin directly to last output pin, second to second-to-last and so on - "twist the ribbon 180 degrees". Zero cycles, zero transistors, speed - as long as the impulse takes to traverse a featureless path in silicon between the steps before and after this one.

      --
      45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
    33. Re:No hardware? by Anonymous Coward · · Score: 0

      Hmm, lost me there. Answer me this: What separates a HDCP capable computer without the software player from a HDCP capable computer with the software player? All the same parts, from Blu-Ray player to the graphics to the monitor.

      HDCP encryption is applied inside your computer's video card (by hardware) before the data is placed on the HDMI cable, it is then decrypted inside your monitor. HDCP encrypted content generally should never pass through the CPU.

      The data inside your computer (ie. movie on blu-ray disk) is encrypted with AACS which is something else entirely.

    34. Re:No hardware? by sootman · · Score: 1

      Underestimate? I think he is totally unaware of what dedicated hardware can do. Does he know why CD players came out in the mid-80s but TEN YEARS LATER a PC or Mac with a CD-ROM drive would often crash while playing CD audio in software? Or when DVD players came out in the mid-90s and it wasn't until the early 2000s that you could watch a software-decoded DVD on a computer without pegging the CPU? Why the iPhone can play back H.264 video for several hours on a battery charge, but can only play certain games (or hell, run the camera) for an hour or two?

      --
      Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
    35. Re:No hardware? by somersault · · Score: 3, Insightful

      The one with shovels, because it's more entertaining?

      --
      which is totally what she said
    36. Re:No hardware? by amazeofdeath · · Score: 1

      Yes, and you don't answer the question. If I have two similar computers, both HDCP capable at least on paper, what's the physical difference? HDCP is meant to be fast in the hardware, but it doesn't mean that it's not possible to decrypt it in software; and more to the point, there is no physical difference as the GGGP implies: It's just the same hardware.

      --
      U+F8FF
    37. Re:No hardware? by interval1066 · · Score: 1

      So, supposedly, implement this in Verilog on an fpga and you've got one efficient encryption scheme. Your handy video processor would still be faster without the encryption though.

      --
      Python: 'And then suddenly you have a language which says "we're all stuck with whatever the whiniest coder wants".'
    38. Re:No hardware? by hedwards · · Score: 1

      The former, as it leaves them with less time and energy to plot, duh.

    39. Re:No hardware? by hedwards · · Score: 1

      I don't fully understand it, but the point of HDCP is for the signal to not be unencrypted at any point in the journey from the disc to the viewer. That is except for the last hop from the video card to the monitor, and only if the monitor knows the secret password to identify itself as secure.

      What this would theoretically do would be allow for a software program to essentially remove that requirement and decrypt it on its way from the drive to the monitor. If I understand correctly, you'd still need to have a way of making the drive cough up the stream.

    40. Re:No hardware? by Goaway · · Score: 1

      Yes, but I was speaking only of the devices that were made before the release of the master key. I was probably a bit unclear there.

    41. Re:No hardware? by Kjella · · Score: 1

      Yes, but I doubt most equipment will let you do HDCP handshake over anything but the HDMI(/DVI) port, so you still need to hook up the HDMI-out that you want to decrypt to a HDMI-in port. Can your regular graphisc card be rewritten to use the HDMI out port as an HDMI in port? If not, then the application is limited to the few that have HDMI capture cards. And even then you have to be able to inject the HDMI handshake into the capture card's driver. The easiest would still be to make a HDCP stripper adapter that does the handshake, decrypts the content and sends it on as a plain signal.

      --
      Live today, because you never know what tomorrow brings
    42. Re:No hardware? by cynyr · · Score: 1

      but still more power than simply not needing to encrypt video signals sent to sinks...

      --
      All of the above was encrypted with a Quad ROT-13 method. Unauthorized decryption is in violation of the DMCA.
    43. Re:No hardware? by hey! · · Score: 1

      NEVER underestimate a determined hacker.

      Er...So that means we should *correctly estimate* a determined hacker, right?

      Which groups of people should we estimate incorrectly? That's probably a shorter list to remember.

      --
      Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
    44. Re:No hardware? by Xest · · Score: 1

      Yep, but I think this much was obvious anyway.

      Apparently Intel's content protection department aren't aware of what the rest of the company does- produces processing equipment precisely so stuff like this can be done with ease.

    45. Re:No hardware? by amazeofdeath · · Score: 1

      This was addressed earlier in another post. You get the GPU-monitor and probably optical drive-motherboard (or GPU, if it's "direct" lane)handshakes made, there's (basically) no need for extra hardware, you just need the processing power to get the content decrypted.

      We have seen plenty of specific HDCP breaks that can decrypt a limited set of movies; this is the general break, which does not care much about the HW and firmware (optical drive) details.

      --
      U+F8FF
    46. Re:No hardware? by phoenix321 · · Score: 1

      Then all DVI to HDMI adapters are illegal stuff?

    47. Re:No hardware? by wvmarle · · Score: 1

      This is not about video rendering, this is about decryption, where the data happens to be an uncompressed video stream. And the problem with that again is that uncompressed video is a hell of a lot of data.

    48. Re:No hardware? by Neil+Boekend · · Score: 1

      No, they contain the dedicated chip and use the line noise of the DVI connection to calculate what the sound should have been...

      --
      Well, I might have a way, but it only works on a semi spherical planet in a vacuum.
    49. Re:No hardware? by tapehands · · Score: 1

      No. That's why there's DVI-A and DVI-D. DVI-A has no support for HDCP (as it is analogue.) DVI-D does (all digital..) If you're using a DVI to HDMI adapter, you can transmit the signal as much as you want, regardless of if it has HDCP or not....but if you don't do proper HDCP handshaking at some point (especially if you're going from DVI-A to HDMI), you end up with a useless signal (which generally will result in an error message on your display.)

    50. Re:No hardware? by Fast+Thick+Pants · · Score: 1

      The shovel-ready mound will help the economy.

    51. Re:No hardware? by gnasher719 · · Score: 1

      We have seen plenty of specific HDCP breaks that can decrypt a limited set of movies; this is the general break, which does not care much about the HW and firmware (optical drive) details.

      Still people who don't understand what HDCP does. It has nothing, nothing whatsoever to do with movies. It encrypts whatever your graphics card displays, and decrypts it on the monitor. If Windows bluescreens then the blue screen will dutifully be encrypted between your PC and the monitor.

    52. Re:No hardware? by wastedlife · · Score: 1

      In order to receive HDMI through the video card, you would need specialized drivers to read input from the HDMI connection. Seeing as how difficult it is to get working open-source drivers in general for a video card, this seems extremely unlikely. Yes both input and output for HDMI are identical hardware, however the GPU is not programmed to act as input.

      --
      Said, "It's just like dice but it's got more sides And it tells me who lives and who dies"
    53. Re:No hardware? by Anonymous Coward · · Score: 3, Insightful

      That's a clever argument: these chips do the job much more efficiently than CPUs, therefore they are free.

      "I merely murdered the man; it's not as though I also raped his wife, shot his dog, poisoned his well, and burned the house down. You should let me go."

      It's waste. If it served a useful purpose, perhaps it could be justified. Life is full of tradeoffs and we all value things differently. But in this case, the user payed for two chips (to encrypt and then decrypt) and electricity to run them, and got nothing for it. We're talking absolute zero here, without the faintest iota of mitigation.

      And the user didn't get to shop in a free market where he could avoid this; a cartel made sure that he couldn't watch movies without this unmitigated waste. That is seriously fucked up and a legitimate basis for government action.

    54. Re:No hardware? by Anonymous Coward · · Score: 1, Informative

      There are DVDI-I and DVI-D. The former has analog AND digital, the latter digital only. Either can transmit HDCP encrypted video over the digital channel, and as you state, HDCP cannot be applied to the analog video in DVI-I.

      There is no analog only DVI. After all, it is the DIGITAL Video Interface.

    55. Re:No hardware? by adolf · · Score: 1

      More to the point: I bought an upscaling DVD player 5 or 6 years ago which supported HDCP over HDMI at 1080i.

      Even then, it was less than $50.

      Frankly, I'm really not surprised that cheap, dedicated silicon can do a faster job of [insert random job] than a general-purpose CPU. But I guess it must be a new concept for some folks.

      *yawn*

    56. Re:No hardware? by DrXym · · Score: 1
      The reason this is useful is not for bluray, it is for first-run broadcast content.

      I expect most modern STBs watermark the content leaving the TV in addition to HDCP protection. Therefore anyone stupid enough to release content they've captured on P2P can probably kiss their service goodbye as well as opening up the possibility of prosecution. Just saying.

    57. Re:No hardware? by Anonymous Coward · · Score: 0

      Bullshit.

    58. Re:No hardware? by Panaflex · · Score: 3, Informative

      Again, the point being that specialized, dedicated circuits can far outperform software on a predetermined algorithm. HDCP is a subset of the AES cypher, and is pretty heavy on the CPU. I've implemented AES on nVidia's CUDA and it would be difficult to get better then 50MB/sec. A 1080p30 stream should use a little less than 60 MB/sec - so it's going to be work, but considering HDCP is less complicated, it should be doable.

      --
      I said no... but I missed and it came out yes.
    59. Re:No hardware? by Alphathon · · Score: 3, Informative

      HDMI port != HDMI cable. The active hardware has to output audio and be HDCP 1.1 compliant to be HDMI. An HDMI-DVI adapter is not active hardware, but a cable (or dongle; but as far as the tech goes they are the same anyway) so is not subject to the same standards. However, I am fairly certain that such adapters cannot be HDMI certified, therefore cannot display the HDMI logo (but can be labelled as HDMI, since saying that it converts DVI->HDMI or vice versa is not false advertising).

      Now I think about it, I don't know if HDMI outputs are required to have audio, but certainly all inputs are required to accept at least stereo LPCM (which is why HDMI equipped monitors have audio-outs), so I may have got a little muddled up there.

    60. Re:No hardware? by Anonymous Coward · · Score: 1, Insightful
    61. Re:No hardware? by Score+Whore · · Score: 1

      Indeed. Even at the "free" price point, nobody seems to want information... unless it has boobies.

    62. Re:No hardware? by Anonymous Coward · · Score: 0

      This is not about video rendering, this is about decryption, where the data happens to be an uncompressed video stream. And the problem with that again is that uncompressed video is a hell of a lot of data.

      Yes, but the general principles behind what he's talking about are the same. It's not a direct one-to-one comparison, but rather an analogous one.

    63. Re:No hardware? by Anonymous Coward · · Score: 0

      According to TFA, they can't do full 1080p in real-time on a single core .

      However, they also stated that the decryption was easily parallisable (?), so it stands to reason a dual- or quad- core processor could probably handle it just fine.

      Further, from what I read, this code hasn't been thoroughly optimised (with the intention of getting something that works out into the public quickly for the community to chew on/optimise...)

      -AC

    64. Re:No hardware? by Anonymous Coward · · Score: 0

      Are you being dense on purpose? This allows you to DECRYPT hdcp on the CPU. Unless you have a way of routing hdcp-encrypted content into memory accessible from the CPU, you can't really decrypt it with the CPU....

      A "properly" functioning setup reads video content encrypted with aacs from disk. A "trusted" closed-source software running on the CPU decides to trust your video card, then DECRYPTS the aacs, and hands the plaintext video to the video card. The "trusted" video card uses an hdcp handshake to ensure it can trust your monitor, then ENCRYPTS the raw video with hdcp using a dedicated hardware chip, and sends it directly out the hdmi port (but not to system RAM, disk, or the CPU's I/O lines). Finally, the "trusted" monitor DECRYPTS the hdcp (again, in dedicated hardware) and displays the video.

      The hardware identical setup without the software player can read aacs from disk, but doesn't know to trust the graphics device, decrypt the aacs, and send the data along to the video card, so the video card never establishes the hdcp link with the monitor.

      In any case, that's like saying because a computer+printer without a
      printer driver can't print, but identical hardware with a driver can, then printing must be done in software and needs no special hardware. Or (in epic /. style) because pulling the battery out of your car makes it unable to start, your car must be electrically propelled.

    65. Re:No hardware? by wastedlife · · Score: 1

      Okay, show me a white paper or proof of concept or anything where this has been done, or even where someone with expertise on this talks about how it could be done. Hell, even an argument on why you think I am wrong would be something. A one-word AC response is, frankly, bullshit.

      --
      Said, "It's just like dice but it's got more sides And it tells me who lives and who dies"
    66. Re:No hardware? by makomk · · Score: 1

      Yes, but I doubt most equipment will let you do HDCP handshake over anything but the HDMI(/DVI) port, so you still need to hook up the HDMI-out that you want to decrypt to a HDMI-in port.

      The HDCP handshake happens over a low-speed link. If you can capture raw HDMI video at all, in theory it's not that much more work to add HDCP support on top of it.

    67. Re:No hardware? by kumanopuusan · · Score: 1

      Capture from multiple sources and check for differences. It should be easy enough to find watermarks and not terribly difficult to edit them out automatically. If there's a unique identifier, it can't be in two sources.

      Besides which, making imperceptible watermarks than can survive arbitrary lossy compression techniques is hard. If a person can't see a certain detail, a good video compression algorithm should throw it out. Just saying.

      --
      Use of the words "good", "bad" or "evil" is almost invariably the result of oversimplification.
    68. Re:No hardware? by Anonymous Coward · · Score: 0

      No one said it couldn't be done. However, software alone won't help you, because you can't get at the encrypted signal without some special hardware, because the encrypted signal only exists between the transmitter and the receiver, and the encryption and decryption is done in hardware, and in order to build functional hardware you need the top secret keys that aren't so secret anymore.

      Either you have to build a "middleman" device to tap into the signal between the transmitter and the receiver, or you have to build your own receiver. The latter solution is only now possible thanks to the leaked keys, because the transmitter won't transmit anything if the receiver isn't authenticated (the authentication is done using the now-leaked keys). Both solutions also need to be able to record the ~4gbit/s signal in real-time onto a storage device.

    69. Re:No hardware? by anUnhandledException · · Score: 1

      How long before someone created a virtual video card adapter which software based Bluray players see as a valid HDCP compliant video card.

      The virtual video card driver simply decrypts the HDCP stream and dumps it to a disk.

    70. Re:No hardware? by Amouth · · Score: 1

      no problem - i didn't realize you meant that either.

      --
      '...if only "Jumping to a Conclusion" was an event in the Olympics.'
    71. Re:No hardware? by MoonBuggy · · Score: 1

      Surely one could use this code to create a dummy display driver that dumps an unencrypted video stream?

      Computer's internal blu-ray drive happily handshakes with the virtual monitor and sends it the stream thanks to the master key, whereas before it would've just thrown an error or given a degraded stream. This stream can then be passed unencrypted through the graphics card, or saved for later viewing. Of course, it seems like a resource intensive method of ripping, and you'd need to re-encode the stream to something more manageable in size (at some loss of quality), but it seems like a technically plausible use of this software.

      I do agree, however, that a little black box with an 'encrypted in' and an 'unencrypted out' would be a whole lot more useful for most real-world applications.

    72. Re:No hardware? by Anonymous Coward · · Score: 0

      Your claim that you can just turn a HDMI transmitter into a receiver with a software upgrade is bullshit.

    73. Re:No hardware? by wastedlife · · Score: 1

      Hardware-wise, HDMI receivers and transmitters are identical. Now, for a GPU to utilize the HDMI as input, if possible, would at least require significant changes to the drivers and possibly firmware of the unit. I should have stressed that I meant that specialized drivers would be the bare-minimum of changes that would need to take place. You cannot just use a piece of software to start recording from HDMI.

      --
      Said, "It's just like dice but it's got more sides And it tells me who lives and who dies"
    74. Re:No hardware? by SuricouRaven · · Score: 1
      I'm pretty sure it's not, given that the $50 video card I bought last week to run a second monitor at work has an HDMI port on it. If the chip were that powerful, it would be too expensive to put on a card that cheap.

      Powerful, but highly specialised. Silicon designed for a single purpose will be able to do it at far lower cost than a multipurpose processor. That's the point of the video card itsself - it contains a processor that is specialised for a single task, video rendering, and can do so a hundred times faster than a general-purpose CPU that costs far more. The HDCP encryptor is an even more extreme example. It isn't even a processor, really - I doubt that part of the die is turing complete.

    75. Re:No hardware? by Anonymous Coward · · Score: 0

      "Hardware-wise, HDMI receivers and transmitters are identical."

      No, they aren't. There are HDMI sources and sinks. Sources (transmitters) drive the data and clock lines (of which there are four). Sinks (receivers) read the data off the lines.

      Sure, it's possible to create a HDMI port that can be software-swapped between a source and a sink (all you need are transmission gates), but what's the point? Look at TI's or Analog's ICs for example. There are chips that either have receivers or transmitters on them, but not both. Why would Nvidia or Ati waste silicon real-estate on their chips for receiver functionality (and not advertise the capability)?

      "You cannot just use a piece of software to start recording from HDMI."

      That's my point, but you claimed the following:

      "In order to receive HDMI through the video card, you would need specialized drivers to read input from the HDMI connection."

      You need a real, hardware receiver to capture the data. You can't just software-upgrade a hardware transmitter. Sorry about the one-liner response.

    76. Re:No hardware? by Locke2005 · · Score: 1

      Couldn't the HDCP authentication handshake already be circumvented by an HDMI Y-Cable? Connect one side to legitimate HDMI monitor, the other to your recording device, and you get a valid handshake. Seems like a huge gaping hole if you don't also encrypt all content.

      --
      I've abandoned my search for truth; now I'm just looking for some useful delusions.
    77. Re:No hardware? by Anonymous Coward · · Score: 0

      Which dictator uses his people better?

      The American one of course! Go US.

    78. Re:No hardware? by wastedlife · · Score: 1

      Thanks for clarifying, I had been told at some point that they were identical and that communication was done as equal peers, similar to Firewire. Is this at least partly true? For example, a PS3 (normally the output device), can receive commands from a Sony TV (normally the input device) over the HDMI connection. Or is this a case of Sony using chips that can switch between source and sink in both devices? Thank you again for correcting me, and I apologize that we got off on the wrong foot.

      --
      Said, "It's just like dice but it's got more sides And it tells me who lives and who dies"
    79. Re:No hardware? by amazeofdeath · · Score: 1

      Why don't you start by explaining how HDCP content over HDMI is different in Windows as compared to Linux?

      --
      U+F8FF
    80. Re:No hardware? by anUnhandledException · · Score: 1

      You are missing the much easier solution.

      The software Bluray player sends data to video card. What if it sent it to a virtual video card driver by "mistake"?

      Oh wait it can't because it attempts an HDCP handshake the video output device (normally your HDCP compliant video card). If in the past you tried it w/ a virtual video card it would fail (you get error message in your software Bluray player about playback on noncompliant device).

      How long before someone makes an HDCP compliant (w/ random valid HDCP sink key) virtual video card driver you install in windows that appears to other software as a valid HDCP compliant video device. The driver could be written to decrypt and write the stream to a disk.

    81. Re:No hardware? by Anonymous Coward · · Score: 0

      In addition to the high-capacity one-way link, which is used for transmitting the encrypted video and audio, there's also low-speed bidirectional links for CEC and DDC. DDC is used for retrieving the capabilities of the receiver (e.g., supported video modes), and CEC is used for commands like the one you mentioned.

    82. Re:No hardware? by amazeofdeath · · Score: 1

      Are you being dense on purpose? Please explain the difference the main differences in hardware in HDCP-capable hardware running Windows vs. the same hardware running Linux. It's fully a software problem, and you can do format shifting and outputting the result to a screen on the fly, too.

      The code is about breaking all handshakes in HDCP content protection, so you might there goes your argument in any case.

      --
      U+F8FF
    83. Re:No hardware? by Anonymous Coward · · Score: 0

      Using diffs to look for watermarks has already been solved. Think of something else.

    84. Re:No hardware? by Anonymous Coward · · Score: 0

      In summary:
      1. A CPU is the brain of the computer and the GPU is only meant to complement it.
      2. GPU's are specialized and cannot replace the function of a CPU.
      3. CPU's can perform the functions of a GPU but at a much slower speed...

      In summary of the summary:

      Your CPU is like your brain, and your GPU is like Rain Man (except he really loves the hell out of colors), so get him some paints and forge some Rembrandts.

    85. Re:No hardware? by DrXym · · Score: 1
      Capture from multiple sources and check for differences. It should be easy enough to find watermarks and not terribly difficult to edit them out automatically. If there's a unique identifier, it can't be in two sources.

      And who is going to have two raw streams to compare? If the sources are compressed then any differences are meaningless since there will be so many. Even if two people had exactly the same codec and exactly the same settings the files not be the same unless they started at the exact same frame.

      Besides which, making imperceptible watermarks than can survive arbitrary lossy compression techniques is hard. If a person can't see a certain detail, a good video compression algorithm should throw it out. Just saying.

      Watermarks are designed to be robust which is the point. You'd probably have to degrade the image so much that it wouldn't be worth bothering at all and even then you wouldn't know for sure unless you have a tool to detect the watermarks.

      A much more interesting class break would be if someone cracked DVB-CSA. Then people could rip content straight from the cable / satellite / receiver without any trace of where it came from.

    86. Re:No hardware? by MostAwesomeDude · · Score: 1

      Are you saying that my Core i3 is plotting against me? Well. Good thing I burdened it with continuous recompiles of OpenOffice. Let's see it rise up against me now!

      (For added fun, re-read in Adam West's voice. Hell, read all of Slashdot in Adam West's voice. It's great.)

      --
      ~ C.
    87. Re:No hardware? by Anonymous Coward · · Score: 0

      Actually, all HDMI ports have HDCP - it's a requirement of the spec. Of course there is nothing to stop companies or individuals from buying HDMI ports and just attaching them to DVI pins, but if they did that they wouldn't be legally allowed to advertise it or label it as HDMI (false advertising etc). Likewise, it also has to be able to output audio or it is technically not HDMI.

      I have a cable that converts DVI on one end to HDMI on the other. It's Phillips brand and it came from Wal-Mart. All sorts of these for sale that are labeled as HDMI. Doesn't do any encryption or decryption and does not include audio. Would be cool if it did have a box on the DVI end that allowed you to plugin an audio source though. I use the cable on a computer made into a media center machine that has a DVI port but no HDMI port. Looks wonderful. I send the sound to a receiver, anyway.

    88. Re:No hardware? by wastedlife · · Score: 1

      Bluray itself has long been cracked, it would be far simpler to just strip the DRM from the data on the disc than to try to capture the playing video in real-time. HDCP being cracked has far more implications for recording broadcast media instead of fixed media like bluray. It does reopen the "analog hole" for newer formats until they are broken though. However, there are no HDMI input devices for computers that I have seen.

      --
      Said, "It's just like dice but it's got more sides And it tells me who lives and who dies"
    89. Re:No hardware? by TheRaven64 · · Score: 1

      Intel didn't say that you could only do this with a chip, they said it was only useful to do it with a chip. Doing it in software is a vaguely interesting academic exercise, but it's not really a useful thing to do. The most useful thing you can do with this key is make a cheap HDMI to DVI or HDMI to HDMI adaptor so a paranoid source (e.g. Windows or a BluRay player) will let you view the non-degraded version of the content on a slightly older monitor.

      --
      I am TheRaven on Soylent News
    90. Re:No hardware? by wastedlife · · Score: 1

      What? My point was that at the very least, the drivers would need to be heavily altered or replaced to use the GPU to receive through HDMI instead of send. The AC later went on to explain why that is not possible or at least is incredibly unlikely that there is receive-capable HDMI hardware in the video card. None of this had anything to do with Linux vs. Windows and I have no idea what gave you that impression.

      --
      Said, "It's just like dice but it's got more sides And it tells me who lives and who dies"
    91. Re:No hardware? by wastedlife · · Score: 1

      Thanks again! Is there anywhere you would recommend reading up on so I can educate myself on this further? Wikipedia's HDMI entry lacks much information on how this all works in hardware, although it does have information on CEC which I should have read before asking about how the devices control each other bidirectionally.

      --
      Said, "It's just like dice but it's got more sides And it tells me who lives and who dies"
    92. Re:No hardware? by Anonymous Coward · · Score: 0

      I don't know, I was talking to some random dude on a forum who was trying to convince me he would figure out how to generate the keys used for a certain program so he could pirate it. The keys were SHA256 hashes based on the customer ID and some salt, I wished him good luck with that.

    93. Re:No hardware? by Mathinker · · Score: 1

      How long before someone makes an HDCP compliant (w/ random valid HDCP sink key) virtual video card driver you install in windows that appears to other software as a valid HDCP compliant video device. The driver could be written to decrypt and write the stream to a disk.

      I have to admit that I didn't think about this use case for HDCP, and you may be correct. OTOH, isn't Microsoft into only letting vendor-signed drivers run under modern versions of Windows? In that case, the Bluray player might also be able to check that the video card in question had a signed driver from a whitelist of allowed vendors.

    94. Re:No hardware? by Anonymous Coward · · Score: 0

      MAME is a poor comparison; it is emulating the low-level behavior(generally) of various chips. Software 3D rendering is "emulating" high-level algorithms, not 3D chips themselves(unless you're emulating a 3D system in MAME perhaps).

    95. Re:No hardware? by anUnhandledException · · Score: 1

      I agree Bluray is currently broken and that decrypting the source is superior but sometimes that can be problematic.

      Some BD+ titles give AnyDVD trouble (at least until AnyDVD is updated).

      Also a couple of BD (and likely more in the future) titles now use Cinavia protection. While AnyDVD will copy the disc it leaves the Cinavia timebomb inside when a Cinavia protected player (such as PS3) sees the Cinavia watermark on an unprotected (decrypted) disc it stops audio playback. Right now only some players are Cinavia protected but expect more in the future.

      So it is nice to have a backdoor. Since HDCP protects the raw bitstream once it is compromised any source level protection can simply be bypassed.

      Right now a backup of a Cinavia protected disc can't be played on a PS3 even when using AnyDVD. The same disc output and copied via HDMI can.

    96. Re:No hardware? by amazeofdeath · · Score: 1

      So, what's stopping Linux from using the HDCP-encrypted content then, if the hardware (regardless of the OS) does all the job?

      --
      U+F8FF
    97. Re:No hardware? by Alphathon · · Score: 1

      As mentioned in the other thread, I wasn't talking about the interconnects. Being an adapter, rather than an output device, it isn't quite the same thing. To say that something outputs HDMI is not the same as this connects DVI equipment to HDMI equipment.

    98. Re:No hardware? by anUnhandledException · · Score: 1

      Right now Microsoft does allow unsigned drivers however you are right it is their goal eventually for only signed drivers to be ever installed.

      Microsoft working w/ software companies could likely expose an API (I don't believe one already exists) which indicates if a driver is signed.

      Like mosts things it likely will be a back and forth war.

      However I have faith in the Chinese. They have for years made devices which are "compliant" only to be easily non-compliant. DVD players that have a DVD region code but for which an easy unlock exists to make them region free.

      HDMI capture cards exist right now but they aren't HDCP compliant. All a company has to do is produce an HDMI capture card which is no compliant but "just so happens" can be easily flashed to be HDCP compliant w/ a random valid HDCP key.

    99. Re:No hardware? by wastedlife · · Score: 1

      Good point. Just curious, is it known how the watermark is implanted into the video? Is it something that later versions of AnyDVD could detect and remove?

      --
      Said, "It's just like dice but it's got more sides And it tells me who lives and who dies"
    100. Re:No hardware? by anUnhandledException · · Score: 1

      As of yet no. It isn't a single "mark" but rather a continual non-audible pattern in the audio track.

      The one thing I just realized is it is possible than Cinavia watermark could survive decompression and recompression. After all the "watermark" is sound it just happens to be sound humans can't hear. It might even survive digital -> analog -> digital conversion.

      Doom9 forums have some information on Cinavia. Currently it is only on a few titles. "The Losers" is first mainstream Bluray to use it.

    101. Re:No hardware? by wastedlife · · Score: 1

      If part of the compression scheme trims inaudible sound ranges (I think MP3 does this), it could remove the watermark.

      --
      Said, "It's just like dice but it's got more sides And it tells me who lives and who dies"
    102. Re:No hardware? by shutdown+-p+now · · Score: 2, Insightful

      And the answer was:

      "It rans fine on my desktop. WORKSFORME/PBCAK."

    103. Re:No hardware? by wampus · · Score: 1

      Sure, just like you can share my internet connection by splicing a Y onto my network cable.

    104. Re:No hardware? by jamesh · · Score: 1

      The keys were SHA256 hashes based on the customer ID and some salt, I wished him good luck with that.

      The difference between a determined hacker and a determined idiot is sometimes difficult to determine. Fortunately, even idiots get lucky sometimes :)

    105. Re:No hardware? by Anonymous Coward · · Score: 0

      "Of course, it seems like a resource intensive method of ripping, and you'd need to re-encode the stream to something more manageable in size (at some loss of quality), "

      existing lossless x264 at -pre superfast CRF=0 should be fine on an ii7 quad after and if the ffmpeg/x264 assembly writers were motivated to optimize the code above like they did for the VP8 decoder , perhaps you can ask them what they think they might do in such a case.

    106. Re:No hardware? by thunderclap · · Score: 1

      There is no difference to the human eye between 1080p and 720p

    107. Re:No hardware? by EETech1 · · Score: 1

      There was a link to an HDMI capture card in the article about the key being published. Im reading /. on my phone, or i'd try to find it.

    108. Re:No hardware? by wastedlife · · Score: 1

      HDMI capture cards exist right now but they aren't HDCP compliant. All a company has to do is produce an HDMI capture card which is no compliant but "just so happens" can be easily flashed to be HDCP compliant w/ a random valid HDCP key.

      They could accomplish this by selling hardware-identical HDCP and non-HDCP compliant devices. That way if they are questioned on why it is able to be flashed to contain a key, they can say it is to cut costs by having only one hardware revision.

      --
      Said, "It's just like dice but it's got more sides And it tells me who lives and who dies"
    109. Re:No hardware? by Lord+of+Hyphens · · Score: 1

      I'd briefly consider crackpots and wingnuts on that list, for certain values of "estimate".

      --
      "I've spent my whole life figuring out crazy ways to do things. It'll work." -- Montgomery Scott, "Relics"
    110. Re:No hardware? by Anonymous Coward · · Score: 0

      anything is probable for a hacker =p

  4. Congrats! by amazeofdeath · · Score: 1

    Great stuff! Shows Intel's representative's earlier comments about software implementation not being feasible quite wrong.

    --
    U+F8FF
    1. Re:Congrats! by imbaczek · · Score: 1

      76fps on a 2.5GHz Core2 isn't impressive TBH, and they say decryption is 7x slower (which means ~15fps). Optimizations will help, but until they figure out how to make it at least 60fps, it's really not feasible.

    2. Re:Congrats! by amazeofdeath · · Score: 1

      Core 2 Duo P9600 has 2 cores; we have moved much past that stage with six core CPUs and advancements in CPU architecture after C2D, and like mentioned, the code presented is pretty much an early alpha.

      --
      U+F8FF
    3. Re:Congrats! by Bert64 · · Score: 4, Interesting

      It just means you can't do it in realtime on a 2.5ghz core2... Nothing to stop you dumping the encrypted data somewhere and decrypting it later.

      Also consider a 2.5GHz Core2 isn't all that modern, and it doesn't even specify wether this cpu is dual or quad core. With 6, 8 and even 12 core processors available, plus the possibility to parallelize over multiple processors 60fps is quite achievable today.

      There is also the possibility of using a GPU to do this.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    4. Re:Congrats! by Barefoot+Monkey · · Score: 0

      Core 2 Duo P9600 has 2 cores; we have moved much past that stage with six core CPUs and advancements in CPU architecture after C2D, and like mentioned, the code presented is pretty much an early alpha.

      Supporting that, the article says that the 76fps was timed while using only 1 of those 2 cores, that the process is parallelisable across multiple cores, and that they believe that they can achieve 1080p at 30fps on a high-end dual core.

    5. Re:Congrats! by norpy · · Score: 2, Informative

      Not quite.

      They said decryption of 1080p is 7x slower than 640x480, not that decryption is slower than encryption. This makes sense as 1080p is approximately 7x more pixels than 640x480!

    6. Re:Congrats! by cbope · · Score: 3, Informative

      60fps, why? That is 2x real-time, or a bit more than 2x if the source is 24fps. Once they are able to break 30fps decrypting in real-time, this is golden. It's only the first step, but it's an important milestone.

    7. Re:Congrats! by l_bratch · · Score: 1

      Running the built in single core benchmark on my Core 2 Duo E8500 running at 3.7 GHz gets 351 FPS. If 7x slower for 1080p decryption is accurate, that'll give about 50 FPS on a single core. I'm sorted.

    8. Re:Congrats! by Anonymous Coward · · Score: 0

      No, it's not golden. Not unless you like crap like doing 3-2 pull-down to actually watch the 24 fps stuff on a 30 Hz TV. That is why TVs today do 120 or 240 Hz. It is an even multiple of both video and film rates.

    9. Re:Congrats! by Gates82 · · Score: 1

      Question: 60fps, why?

      Answer: Stereoscopic or 30fps x 2 streams

      --
      So who is hotter? Ali or Ali's Sister?

    10. Re:Congrats! by Joce640k · · Score: 1

      Nothing to stop you dumping the encrypted data somewhere and decrypting it later.

      You've got a disk which can store decompressed 1080p in real time? Please let us in on the secret...!

      --
      No sig today...
    11. Re:Congrats! by Malc · · Score: 2, Informative

      Blu-ray supports 720p at 59.94 fps. That's a greater amount of data than 1080p at 24 fps. 720p59.94 is also one of the Blu-ray 3D supported resolutions (i.e. doubling the differences with 1080p24 further).

    12. Re:Congrats! by Anonymous Coward · · Score: 0

      decrypted != decompressed

    13. Re:Congrats! by cynyr · · Score: 2, Insightful

      a raid 5.1 of 10k rpm sas drives say, 12 spindles, should be enough. maybe 4 500GB SSDs would be as well.

      So no i don't have A disk that can do it, but you can do it with a few disks.

      --
      All of the above was encrypted with a Quad ROT-13 method. Unauthorized decryption is in violation of the DMCA.
    14. Re:Congrats! by cynyr · · Score: 1

      i get 129fps @640x480 on my AMD Athlon X2 BE-2400+ (2.3ghz 4gb DDR2 dualchan ram) according to the test operation suppled with the program.

      --
      All of the above was encrypted with a Quad ROT-13 method. Unauthorized decryption is in violation of the DMCA.
    15. Re:Congrats! by mad_minstrel · · Score: 1

      While that is true, the data transmitted over HDMI is indeed not compressed. You'd need a drive solution that could store data at almost 5 Gbit/s for 1080p, including sound.

      --
      May the source be with you.
    16. Re:Congrats! by cynyr · · Score: 1

      and 17fps @1920x1080 so... as it will scale to 64 cores, it should be doable on an X4, or an i7Q or even a lowend gpu.

      --
      All of the above was encrypted with a Quad ROT-13 method. Unauthorized decryption is in violation of the DMCA.
    17. Re:Congrats! by AusIV · · Score: 2, Informative

      But ripping discs isn't really the target here. There are already tools available which can rip BluRay discs in software, without having to read a disc and play them over the wire in real time. More practically, this is targeted at streaming video sources such as video from your cable company, or perhaps for ripping from your cable company's DVR. Those streams are seldom (never?) higher than 1080i or 720p at standard frame rates, so 30fps in real time gets the job done.

      I'm not saying 720p at 59.94 is worthless, but 30fps would support the majority of use cases.

    18. Re:Congrats! by Just+Some+Guy · · Score: 2, Insightful

      You've got a disk which can store decompressed 1080p in real time?You've got a disk which can store decompressed 1080p in real time?

      It's my understanding that many new-fangled media devices have "pause" buttons that would enable you to break the task into manageable chunks.

      --
      Dewey, what part of this looks like authorities should be involved?
    19. Re:Congrats! by Cajun+Hell · · Score: 1

      Until it's decrypted, it contains virtually maximum entropy. You're not going to find any way to compress it. You might get lucky and reduce it to 99.95% of its size, but you probably won't.

      --
      "Believe me!" -- Donald Trump
    20. Re:Congrats! by Score+Whore · · Score: 1

      Where you going to get the data from? Being able to implement an algorithm is a far cry from being able to sense and apply a voltage on an HDMI connector. The current HDMI capture cards do not provide access to the raw data stream.

    21. Re:Congrats! by Malc · · Score: 1

      BD+ represents moving goalposts, so on the BD front, this represents a way to rip titles sooner. For those people who want their zero day thing.

      But you're right. This basically renders any existing content protection schemes moot. It doesn't matter how the content is encrypted or protected as at some point it will go over HDMI to the display. Anything is now rippable.

    22. Re:Congrats! by anUnhandledException · · Score: 1

      Blurays are 1080p24 thus you only need 24 fps throughput.

      HDTV is 1080i60 which contains no more pixels/sec than 1080p30. Once you can get

      Currently they can process about 23 million pixels per second (640x480x76). HDMI encrypts each pixel separately.

      Once someone optimizes the code, parellelizes it to 2+ cores, or moves it to a GPU so that throughput exceeds 62 million pixels per second you can decrypt 1080i60, 1080p24, or 1080p30 in realtime.

    23. Re:Congrats! by anUnhandledException · · Score: 1

      More than enough.

      1080p contents on blurays are 24fps.
      1080i content (HDTV, cable, sat,etc) is actually 60 fields (each field is 1920 x 540 pixels) a second

      1080i60 has same number of pixels per second as 1080p30. So any system capable of more than 30fps can decrypt all known HD content.

    24. Re:Congrats! by anUnhandledException · · Score: 1

      Such a disk exists right now.

      Yeah HDMI has a theoretical MAX of 10Gbps but current content uses nowhere near the max.

      1080p24
      1920 pixels * 1080 pixels * 24bits per pixel * 24 fps / 8 bits per byte = ~150MB/sec

      1080i60 (1080i60 is 60 interlaced frames per second which is equivelent to 1080p30)
      1920 pixels * 540 pixels * 60 bits per pixel * 60 frames per second / 8 bits per byte = ~186MB/sec

      Every form of consumer content available can be capture by a drive that can sustain ~186MB/sec.

    25. Re:Congrats! by anUnhandledException · · Score: 1

      I single drive can do it.

      1080p24
      1920 pixels * 1080 pixels * 24bits per pixel * 24 fps / 8 bits per byte = ~150MB/sec

      1080i60 (1080i60 is 60 interlaced frames per second which is equivelent to 1080p30)
      1920 pixels * 540 pixels * 60 bits per pixel * 60 frames per second / 8 bits per byte = ~186MB/sec

      Technically a little more for audio but safely a drive which can sustain 200MB/sec could store all known content.

    26. Re:Congrats! by cfrankb2000 · · Score: 1

      What about a computer with 16+ GB of ram? The data could be saved in system memory and then compressed back to disk.

  5. Incoming lawsuit in... by Haedrian · · Score: 1

    3...2....1....

  6. This will revolutionize the porn industry. by elucido · · Score: 0, Offtopic

    Now porn companies can protect their intellectual property? Maybe now is the time for me to get involved in the porn business.

    1. Re:This will revolutionize the porn industry. by Anonymous Coward · · Score: 0

      WTF?

  7. GPU Implementation by Alias14 · · Score: 5, Insightful

    I guess the next logical step would be a GPU implementation....

    1. Re:GPU Implementation by Anonymous Coward · · Score: 2, Interesting

      but how are you going to get the HDMI output of your DVR into your GPU?

      without doing the handshake right, there will be no stream to decode later on.

      people will need to build an FPGA implementation of this, maybe parallel, to strip the HDCP.
      by programming the FPGA with loads of possible sink key's they can switch as soon as one is blacklisted.

      I don't know if there are any HDMI grabbers out there, but i don't think they're HDCP compliant.
      i do know there is a component one that does 1080P, so maybe a HDMI->Component converter can be built.
      (i know these exist already, but they might be blacklisted. i don't know if any device can have it's key updated, but this implementation will)

    2. Re:GPU Implementation by Bengie · · Score: 1

      Read data off a BlueRay, Decrypt it, re-encrypt it internally, send to video drivers, decrypt it, send to display port, re-encrypt it, send to another receiver, use video card to decrypt it, compress it, view it, encrypt it, send to your monitor, decrypt it, display on monitor...

      I love DRM.

    3. Re:GPU Implementation by werfu · · Score: 2, Insightful

      I was going to say this myself. This is the kind of stuff that could be done in CUDA easily. If it can be highly parallelized than its meant for the the GPU!

    4. Re:GPU Implementation by Abcd1234 · · Score: 1

      but how are you going to get the HDMI output of your DVR into your GPU?

      without doing the handshake right, there will be no stream to decode later on.

      Huh? I think you misunderstand. If you can do this handshake on the CPU, you can, in principle, accelerate it in the GPU.

      The idea isn't to use the GPU to display the video. The idea is to (mis-)use the GPU as a high-speed vector processor for doing real-time decoding.

    5. Re:GPU Implementation by mrmeval · · Score: 1

      Lattice has the Brevia dev kit for $29

      http://www.latticesemi.com/products/developmenthardware/developmentkits/xp2breviadevelopmentkit.cfm
      1 Mbit SPI Flash Memory, 1 Mbit SRAM, jtag, serial, etc

      I'm just getting started with FPGA and do not know if this has the horsepower but it's cheap.

      --
      I'd go on a Vegan diet but the delivery time from Vega is too long. --brownkitty
    6. Re:GPU Implementation by Alias14 · · Score: 1

      Mmm, I've already started looking at the OpenCL spec.

  8. Transforming the numbers (Re:Congrats!) by Eivind+Eklund · · Score: 3, Informative

    Those rates are for a single core. They say that decrypting 1080p is ~7x slower than 640x480, which correspond well to 1080p having 6.75x more pixels.

    However, there's no reason for this to be restricted to run on a single core or a single machine. If somebody were to use this for distributing a real time stream (e.g, a sports broadcast) there's no particular reason to not just have each recipient of the stream do their share of the decryption.

    Running the number, getting 60 frames of 1080p from the Core 2 requires 5.33 cores, which would correspond to three dual-core machines. This means you can't, with today's machines, just share it with your friend if you both have dual core Core2 machines - but with two friends it should work, assuming enough bandwidth available from each of the friends: 3Gbit/s for the full unencrypted stream, plus 1Gbit/s down for the stream to be decrypted, plus 1Gbit/s up for the part of the stream decrypted on that machine.

    You'll also get real time decryption on a single Gulftown CPU: E.g, a Core i7-980X runs 3200MHz and has 6 cores.

    --
    Doubting the existence of evolution is like doubting the existence of China: It just shows that you're uninformed.
    1. Re:Transforming the numbers (Re:Congrats!) by norpy · · Score: 1

      Just wait for someone to figure out how to run this code at a decent speed on some affordable FPGA dongle that can then be sold unprogrammed with a hdmi-in and hdmi-out for stripping the HDCP encryption.

      It will be welcomed by anyone with a hdtv that doesn't play well with hdcp sources, or doesn't support HDCP at all.

    2. Re:Transforming the numbers (Re:Congrats!) by Nevo · · Score: 1

      This is exactly what I thought of when the announcement of the key was first made. I imagine this could be done with ~$30 worth of commodity hardware.

    3. Re:Transforming the numbers (Re:Congrats!) by Cajun+Hell · · Score: 2, Funny

      Just wait for someone to figure out how to run this code at a decent speed on some affordable FPGA dongle that can then be sold unprogrammed with a hdmi-in and hdmi-out for stripping the HDCP encryption.

      Surely you're confused about the primary purpose of such a device. The primary purpose of such a device would be to add HDCP to your computer's video output so that terrorists can't spy on your online banking.

      Now wait a minute, before you say that is utterly 100% totally and absurdly useless bullshit application, remember that millions of media players on the market are already doing exactly that. If Intel's lawyers were to say that encryption is not a believable use (why would you want to encrypt your computer display?) then they'll be admitting HDCP does not effectively protect content.

      --
      "Believe me!" -- Donald Trump
    4. Re:Transforming the numbers (Re:Congrats!) by Cajun+Hell · · Score: 1

      You'll also get real time decryption on a single Gulftown CPU: E.g, a Core i7-980X runs 3200MHz and has 6 cores.

      Is this going to be the next decade's bragging rights? "My Tivolike's capture card continuously draws only 130 Watts whenever something is on! (not counting all the case fans)" "Oh yeah? Well mine only uses 73 Watts!!"

      (Just kidding; I get it that we're talking proof-of-concept.)

      --
      "Believe me!" -- Donald Trump
    5. Re:Transforming the numbers (Re:Congrats!) by anUnhandledException · · Score: 1

      Actually it is less.

      1080i60 is actually 60 interlaced fields. 1920 pixels x 540 pixels (even pixels) then another field 1920 pixels x 540 pixels (odd pixels).

      1080i60 has same pixels per second as 1080p30. You just need >= 30 frames per second throughput to decrypt either 1080i60 (HDTV) or 1080p24 (Bluray).

    6. Re:Transforming the numbers (Re:Congrats!) by Eivind+Eklund · · Score: 1

      I assumed 1080p60, as the highest standard that seems relevant for today, and as fitting with the descriptions that were given.

      Anyway, the main point is that decoding HDCP in real time is possible with the posted implementation today, even for high resolution streams.

      Eivind.

      --
      Doubting the existence of evolution is like doubting the existence of China: It just shows that you're uninformed.
  9. Practical use by Anonymous Coward · · Score: 0

    What could a end-user do with that?!

  10. link by Anonymous Coward · · Score: 0

    http://www.softpedia.com/

  11. What would be the issues with a hardware version? by 91degrees · · Score: 1

    If any...

    I can see how this might be very useful for someone with an older HDTV that predates HDCP. Personally though I'd prefer a small box over a big case with a multi-core CPU. I imagine the scheme was designed with efficient hardware implementations in mind.

  12. Where's the stripper? by Anonymous Coward · · Score: 0

    I guess what's in everyone mind is "where's the stripper?". For HDCP, you evil minds!

  13. Re:What would be the issues with a hardware versio by mike260 · · Score: 4, Informative

    There are already bootleg hardware HDCP strippers on the market. It used to be possible to shut down these devices by revoking their keys, but that's now gone out the window with the master-key leak. Expect the next generation of devices to let you upload new keys to them, or maybe generate new keys themselves.

    Software decryption is kinda interesting but you're right, hardware is where it's at.

  14. Re:What would be the issues with a hardware versio by AndrewNeo · · Score: 1

    Probably none, this game is just getting started. There are already HDCP strippers out there, anyway, intended for just that purpose (or HD projectors with DVI but not HDCP support) but they're super expensive (likely due to supply and demand)

  15. Re:What would be the issues with a hardware versio by Nimey · · Score: 1

    It's easier for Intel et al to go after people who are selling a product, especially a physical device. Much easier for a software author to be safely anonymous so the DMCA can't touch 'em.

    --
    Hail Eris, full of mischief...

    E pluribus sanguinem
  16. BluRay Braille Reader! by bill_mcgonigle · · Score: 2, Interesting

    Nice, a Braille reader for BluRay subtitles should now be technically possible. BluRays make decent eBooks with the right software.

    (HDMI neglects to ship closed-captioning data so you *have* to capture/diff/ocr from HDMI rasters to extract the text).

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    1. Re:BluRay Braille Reader! by Anonymous Coward · · Score: 0

      Blind folks need high def video too.

  17. dencryption consumes 1% of US power by Anonymous Coward · · Score: 3, Interesting

    When you watch a DVD or Bluray, the content is decrypted, then encrypted and decrypted again for HDCP.

    A significant amount of energy is devoted to protecting the pre-internet business model.

    This will only get worse over time, as media gets larger and media companies more aggressively cling to the old business model.

    It took more than 100 years for the world to really adjust to the printing press. I assume at least the same time period for the Internet, before we can have our enlightenment period.

    1. Re:dencryption consumes 1% of US power by Cajun+Hell · · Score: 1

      This will only get worse over time, as media gets larger and media companies more aggressively cling to the old business model.

      Don't you mean abandon the old business model? The old business model was that you sell un-DRMed content and make a billion dollars. This was deemed unacceptably profitable.

      Don't think of DRM as clinging to the past. The past already proved that DRM is undesirable from the seller's point of view. The new business model is to tell people, "No you can't do that if you buy this; if you need to timeshift your TV, play your Bluray on an unapproved display, etc. then go download the pirates' version instead."

      --
      "Believe me!" -- Donald Trump
  18. Doesn't matter if you can do it in real time ... by Joce640k · · Score: 1

    If you can't recompress it in real time then there's not much point in decrypting it in real time either. Just dump it to disk and process it later.

    --
    No sig today...
  19. Still waiting for the REAL app.. by Cajun+Hell · · Score: 0, Redundant

    ..which adds all Sony televisions to players' revocation lists. (Or is that signed with a different key?) The beauty of something like that, is that they are the ones who are distributing the malicious software. It would be hilarious if their own malware ended up biting them on their own asses, forcing the recall of millions of devices to have their keys reflashed.

    --
    "Believe me!" -- Donald Trump
  20. Re:What would be the issues with a hardware versio by hedwards · · Score: 1

    As others have said, somebody will almost certainly port the code over to CUDA or in some other fashion use the GPU to do the work. Hardware solutions probably aren't going to be around too much longer, although, as full dubbing facilities, they may have some utility.

  21. DRM is so costly, it should be forbidden. by wvmarle · · Score: 5, Interesting

    DRM must be really really costly. And the bad thing is we're all paying for it - the honest customers even more than the "pirates" against which it is supposed to protect.

    When I see how much computing resources it takes just to en/decrypt a stream - OK it's a general purpose processor, not something dedicated - I am thinking of the cost of those resources in all the devices we have. After all your BluRay player has to read the BR disk, decrypt the content, then encrypt it again to an HDCP stream, which is sent over to say a TV, which then decrypts it again to make it a watchable image.

    Now if only we wouldn't need that encryption.

    BluRay itself is (all but) cracked, that's one decryption step that can be done away with.

    HDCP transfer is now done with; that's another two steps of en- and decryption that can go.

    That is at least three pieces of beefy hardware. That's three chips that won't come for a few pennies each. That's three chips that will be wasting significant amounts of energy.

    Plus of course the huge upfront cost to develop all that: to develop the algorithms, set up the secure key supply, designing the dedicated de/encrypt chips and writing all the software around it to make it work.

    And all of us are paying for it. It makes BR players and disks and HDCP compliant hardware more expensive than necessary, it even increases our power bills unnecessary. I really wonder when this madness can come to an end.

    1. Re:DRM is so costly, it should be forbidden. by dpilot · · Score: 2, Informative

      Years back I saw a chip-level presentation on the topic. It wasn't just a matter of decrypting the Blu-ray and reencrypting HDCP. Every content signal that came to a chip I/O was encrypted. The intent was that you wouldn't be able to buy hardware, open it up, hang probes on any chip, and capture "their" content.

      Way more encryption hardware than you've suggested, but it's also specialized encryption/decryption engines, not GP processors.

      --
      The living have better things to do than to continue hating the dead.
    2. Re:DRM is so costly, it should be forbidden. by Anonymous Coward · · Score: 0

      Why doesn't someone gin up the numbers associated with this? I don't know enough about the actual values to make reasonable guesses, but I figure the engineering calculation would go something like:

      average device power * percent associated with computation * percent of computation that's (de|en)cryption = waste power

      chip cost * percent (de|en)cryption = waste production costs

      assume shipping cost of extra chippage is negligible (though perhaps not? if packaging could also be reduced with simpler components, this might matter), so

      consumer cost = (device lifetime hours * waste power * $/kW-hr + waste production cost)*number of users

      Of course, the MPAA/RIAA could add said number to supposed economic burden of piracy, though the more honest appraisal would be: do the (supposed) increase in lost sales to piracy by eliminating this technical roundabout outweigh the eliminated energy burden.

    3. Re:DRM is so costly, it should be forbidden. by Timmmm · · Score: 1

      "BluRay itself is (all but) cracked"

      Lies. AACS hasn't been cracked at all, and the last freely available processing key was found many months ago (AnyDVD has the latest one). BD+ also hasn't been circumvented (except maybe by AnyDVD - not sure about that).

    4. Re:DRM is so costly, it should be forbidden. by cdrguru · · Score: 1

      I really wonder when this madness can come to an end.

      Every journey starts with a first step. In this case, you can be the first step. Go in to your employer and tell HR that you like it there so much that you want them to stop paying you. This will enable whatever that company does to move closer and closer to being free.

      When enough people like you in the media creation business do likewise, all this stuff we are paying for today will be free and DRM will be completely unnecessary.

      Simple. You just need to take the first step. Because until that becomes popular, companies are going to need to pay employees and they are going to have to have someone pay for their products. I can assure you that without DRM making things more difficult nobody with an ounce of brains would pay for anything anymore.

      Think about it. If it wasn't for the cameras and security guards wouldn't you be stealing from stores? Well, even with this there are plenty of people that do - it works out to about 10% of the customers. So in the privacy of their homes and no cameras or guards why do you think anyone would pay if they didn't have to?

    5. Re:DRM is so costly, it should be forbidden. by andi75 · · Score: 1

      While I think most of the original post is pure trolling, this line got me thinking...

      > Think about it. If it wasn't for the cameras and security guards wouldn't you be stealing from stores?

      No, I wouldn't. First, I haven't seen any security guards in the stores in town all (and only few cameras, mostly in the big grocery stores). Also, about half the farms around here are selling stuff (milk, eggs, vegetables, jam, cheese, etc.) without any security measures at all. It works like this: You enter the store room, grab what you want, write it down on the list, and put the money in a jar.

  22. GPUs? OpenCL/CUDA? by Anonymous Coward · · Score: 0

    No, they can't do 1080p IN REAL TIME.

    .. on a traditional CPU. What about porting the code to use GPUs via OpenCL or CUDA?

  23. Re:What would be the issues with a hardware versio by LocalH · · Score: 2, Interesting

    I'd love to see a device that generates a new key every time it boots up. The ultimate unblockable device, no matter how many keys get revoked.

    --
    FC Closer
  24. Remember Macrovision scrubbers? by Stavr0 · · Score: 1

    The same thing is happening for HDCP. How long before someone codes this as FPGA logic? Then anyone will be able to pump out HDCP scrubbers for a few bucks, no need to license an decryption key.

    1. Re:Remember Macrovision scrubbers? by scourfish · · Score: 1

      I'd imagine you'd need a pretty fast FPGA, which can be fairly costly if you're just a basement dweller.

    2. Re:Remember Macrovision scrubbers? by EmagGeek · · Score: 1

      An FPGA with that kind of performance would cost quite a bit more than "a few bucks."

    3. Re:Remember Macrovision scrubbers? by weapon · · Score: 1

      Not necessarily,

      Previous posters have mentioned that a lot of the costs in the software version is bitwise operations (reversing buses and the like). These are very expensive in software, but in hardware they can be implemented very cheaply. Encryption is particularly efficient on either a dedicated chip or a FPGA because it is a reasonably straight forward (if complicated) process. There is no need for the branching and general purpose processing of a computer, on a FPGA you could set up the decryption in a pipeline so that you can be decrypting multiple words at once - basically what you are doing is reimplementating the ASIC (Application Specific Integrated Circuit) chips that are already in use on a FPGA. Granted a FPGA won't have the same performance of a ASIC, but I would imagine that the HDCP ASIC are not very big.

  25. I'm waiting... by bjwest · · Score: 3, Insightful

    China. Where's my pass-through video card I can put in my MCPC to overlay text and graphics on my TV? I want to feed my TIVO into my MCPC so I can control my own PIP and overlays. I couldn't care less about pirating the stuff myself. If I want a local copy of something, it's already out in the wild - I'll get it that way. I just want to be able to control my media and view what I want how I want.

    --

    --- Keep the choice with the user..
  26. Re:decryption consumes 1% of US power by Anonymous Coward · · Score: 0

    The old model was that the media companies control the master copies, and sell inferior copies which cannot be easily copied.
    lossy VHS was the copy protection.

    The Internet model assumes that media can and will be copied. Profit from providing convenient and cheap(perhaps free+ads) online media.

    The in-between model is the one you describe. Ignore the customers desire for the new Internet model, and push the old model (with DRM replacing lossy media), then when the customers find other ways to get unencumbered stuff, sue them and create more laws and penalties to protect the old model.

  27. I see what you did there! :) by bornagainpenguin · · Score: 1

    NEVER underestimate a determined hacker.

    Especially one who's been told it can't be done.

    No, they can't do 1080p IN REAL TIME.

    I see what you did there...and I approve ! ;)

    I just worry this is like invoking Godwin's law and could backfire on us somehow...

    --bornagainpenguin

    --
    Have a Virgin Mobile USA smartphone? Give VMRoms.com a try!
  28. Re:So I have to ask by jack2000 · · Score: 1

    We just hate the RIAA and the MPAA in our guts.
    They pump out shit day after day, for some it's just a game of one upping the other. They couldn't care less for the content that is protected. if there is encryption they view it as a challenge.
    I myself don't give a dime about all of this. The things they are trying to encrypt, I don't want.

  29. Re:So I have to ask by cheekyjohnson · · Score: 2, Insightful

    "never pays for anything"

    I pay for physical goods that aren't in infinite supply.

    "and complaining when companies try and protect their revenue."

    Sorry, but when it hurts legitimate customers in the process, it's not worth it. DRM, HDCP... it's all the same annoyance. Eventually (often extremely quickly) it will be bypassed by the pirates and it will only hurt the legitimate customers (some will either be angry and stop buying future media, and others may even turn to piracy because still want the media). In the end, their 'protection' only hurts themselves and actual customers, not pirates. So, yes, people are going to complain.

    --
    Filthy, filthy copyrapists!
  30. What about an OpenCL implmentation? by stupkid · · Score: 1

    Could this decrypting take place on the GPU making it usable on more modest hardware?

  31. Re:What would be the issues with a hardware versio by awshidahak · · Score: 3, Interesting

    Problem with this: Your other devices will eventually get restrictions on them that only allow a certain number of new devices to be connected to them before they fry. Every new key counts as a new device.

  32. so pass this codebase to some ffmpeg assembl dev's by Anonymous Coward · · Score: 0

    so get it to the ffmpeg and x264 dev's so they can make a SIMD optimized to each current and popular CPU as they do now with the codecs etc... :) ok

  33. Audio watermarking? Eh. by Mathinker · · Score: 1

    Cinavia is audio watermarking. Considering that they aren't quite as braindead as the SDMI developers so that they haven't posted a public oracle for their watermark, I would guess that Cinavia has a chance of surviving for quite a bit longer. But I wouldn't bet on it surviving a very long time if it becomes a nuisance.

    There are few details about this watermark on the net, currently, and the information which there is gives one the impression that it is currently designed to prevent movies which have been taped in a movie theater from being played at home. I don't find anywhere that it would prevent copying/backup of media designed for home use.

    Frankly, I'd be totally OK with that. That's not the kind of abusive DRM which inconveniences the paying consumer. It's also a use case which is a lot easier for protecting a watermark, because one only gets one instance of the watermark for every film which is released. My bet is that it will be cracked by someone analyzing the detection algorithm rather than by comparison of watermarked/non-watermarked audio streams. That is, assuming that someone doesn't just come up with some kind of processing paradigm which manages to remove the watermark without even figuring out how it works exactly.

    1. Re:Audio watermarking? Eh. by anUnhandledException · · Score: 1

      It INITIALLY was deployed to movie theaters but it has no been deployed to at least 4 recent Blurays. "The Losers" release just last month contains Cinavia watermark.

      A ripped copy will not play (well audio shuts off after 20 minutes) on a Cinavia compatible players (including PS3). There is currently no workaround.

      You can rip the movie just fine but the watermark survives and a compatible player when it sees watermark + lack of AACS (encryption) refuses playback after 20 minutes.

      Now the "flaw" in the system is it requires compatible players. Older players will play it just fine. However there is a push to make this or something like this part of the BD spec thus all future players would not play back watermarked content (when encryption is missing).

  34. Well by fireylord · · Score: 1

    It is possible to install unsigned drivers to Windows 7with the right settings, windows will complain very violently (with a RED dialogue box- which of course makes all the difference security wise!) however whether or not the drm in the kernel will stop these drivers from playing ball with hdcp is another matter, although that's not to say there aren't relatively easy ways around that issue too.

  35. Re:What would be the issues with a hardware versio by Anonymous Coward · · Score: 0

    That's so retarded MAFIAA will probably try it!

  36. Re:So I have to ask by f8l_0e · · Score: 1

    I purchase my music from amazon.com/mp3 (their 32 bit deb package will run on 10.04 x64 with some work). I buy my directly on my nook. I buy DVD movies. So, while I can't speak for everyone else here, I answered your question. No, not EVERY slashdotter pirates all their content. By the way you got modded though, it sure seems like a lot do.

  37. HDCP MASTER KEY (MIRROR THIS TEXT!) by Anonymous Coward · · Score: 0

    HDCP MASTER KEY (MIRROR THIS TEXT!) This is a forty times forty element matrix of fifty-six bit hexadecimal numbers. To generate a source key, take a forty-bit number that (in binary) consists of twenty ones and twenty zeroes; this is the source KSV. Add together those twenty rows of the matrix that correspond to the ones in the KSV (with the lowest bit in the KSV corresponding to the first row), taking all elements modulo two to the power of fifty-six; this is the source private key. To generate a sink key, do the same, but with the transposed matrix. 6692d179032205 b4116a96425a7f ecc2ef51af1740 959d3b6d07bce4 fa9f2af29814d9
    82592e77a204a8 146a6970e3c4a1 f43a81dc36eff7 568b44f60c79f5 bb606d7fe87dd6
    1b91b9b73c68f9 f31c6aeef81de6 9a9cc14469a037 a480bc978970a6 997f729d0a1a39
    b3b9accda43860 f9d45a5bf64a1d 180a1013ba5023 42b73df2d33112 851f2c4d21b05e
    2901308bbd685c 9fde452d3328f5 4cc518f97414a8 8fca1f7e2a0a14 dc8bdbb12e2378
    672f11cedf36c5 f45a2a00da1c1d 5a3e82c124129a 084a707eadd972 cb45c81b64808d
    07ebd2779e3e71 9663e2beeee6e5 25078568d83de8 28027d5c0c4e65 ec3f0fc32c7e63
    1d6b501ae0f003 f5a8fcecb28092 854349337aa99e 9c669367e08bf1 d9c23474e09f70

    3c901d46bada9a 40981ffcfa376f a4b686ca8fb039 63f2ce16b91863 1bade89cc52ca2
    4552921af8efd2 fe8ac96a02a6f9 9248b8894b23bd 17535dbff93d56 94bdc32a095df2
    cd247c6d30286e d2212f9d8ce80a dc55bdc2a6962c bcabf9b5fcbe6f c2cfc78f5fdafa
    80e32223b9feab f1fa23f5b0bf0d ab6bf4b5b698ae d960315753d36f 424701e5a944ed
    10f61245ebe788 f57a17fc53a314 00e22e88911d9e 76575e18c7956e c1ef4eee022e38
    f5459f177591d9 08748f861098ef 287d2c63bd809e e6a28a6f5d000c 7ae5964a663c1b
    0f15f7167f56c6 d6c05b2bbe8800 544a49be026410 d9f3f08602517f 74878dc02827f7
    d72ef3ea24b7c8 717c7afc0b55a5 0be2a582516d08 202ded173a5428 9b71e35e45943f

    9e7cd2c8789c99 1b590a91f1cffd 903dca7c36d298 52ad58ddcc1861 56dd3acba0d9c5
    c76254c1be9ed1 06ecb6ae8ff373 cfcc1afcbc80a4 30eba7ac19308c d6e20ae760c986
    c0d1e59db1075f 8933d5d8284b92 9280d9a3faa716 8386984f92bfd6 be56cd7c4bfa59
    16593d2aa598a6 d62534326a40ee 0c1f1919936667 acbaf0eefdd395 36dbfdbf9e1439
    0bd7c7e683d280 54759e16cfd9ea cac9029104bd51 436d1dca1371d3 ca2f808654cdb2
    7d6923e47f97b5 70e256b741910c 7dd466ed5fff2e 26bec4a28e8cc4 5754ea7219d4eb
    75270aa4d3cc8d e0ae1d1897b7f4 4fe5663e8cb342 05a80e4a1a950d 66b4eb6ed4c99e
    3d7e9d469c6165 81677af04a2e15 ada4be60bc348d dfdfbbad739248 98ad5986f3ca1f

    971d02ada31b46 2adab96f7b15da 9855f01b9b7b94 6cef0f65663fbf eb328e8a3c6c5d
    e29f0f0b1ef2bf e4a30b29047d31 52250e7ae3a4ac fe3efc3b8c2df1 8c997d15d6078b
    49da8b4611ff9f b1e061bc9be995 31fd68c4ad6dc6 fd8974f0c506dd 90421c1cd2b26c
    53eec84c91ed17 5159ba3711173b 25e318ddceea6a 98a14125755955 2bb97fd341cea2
    3f8404769a0a8e bce5c7a45fb5d4 9608307b43f785 2a98e5856afe75 b4dbead4815cac
    d1118af62c964a 3142667a5b0d14 6c6f90933acd3d 6b14a0052e2be4 1b1811fda0f554
    12300aa7f10405 1919ca0bff56ea d3e2f3aad5250c 4aeeea5101d2ec 377fc499c07057
    6cb1a90cdb7b11 3c839d47a4b814 25c5ac14b5ec28 4ef18646d5b9c2 95a98cc51ebd3b

    310e98028e24de 092ffc76b79f44 0740a1ca2d4737 b9f38966257c99 a75afc7454abe4
    a6dd815be8ccbf ec2cac2df0c675 41f7636aa4080f 30e87b712520fd d5dfdc6d3266ac
    ee28f5479f836f 0bf8ee2112173f 43ae802fa8d52d 4e0dffd36c1eac 3cbda974bb7585
    fb60a4700470e3 d9f6b6083ef13d 4a5840f02d0130 6c20ef5e35e2bf dad2f85c745b5b
    61c5ddc65d3fc9 7f6ec395d4ae22 2b8906fb3996e2 e4110f59eb92ac 1cb212b44128bb
    545afda80a4fd1 b1ffea547eab6b fac3d9166afce8 3fe35fe17586f2 9d082667026a4c
    17ffaf1cb50145 24f27b316acfff b6bb758ec4ad60 995e8726359ef7 c44952cb424035
    5ec53461dbd248 40a1586f04aee7 49ea3fa4474e52 c13e8f52c51562 30a1a70162cfb8

    ccbada27b91c33 33661064d05759 3388bb6315b036 0380a6b43851fb 0228dadb44ad3d
    b732565bc37841 993c0d383cfaae 0bea49476758ac accc69dbfcde8b f416ab0474f022
    2b7dbcc3002502 20dc4e67289e50 0068424fde9515 64806d59eb0c18 9cf08fb2abc362
    8d0ee78a6cace9 b6781bd504d105 af65fab8ee6252 64a8f8dd8e2d14 cb9d3354e06b5b
    53082840d3c011 8e080bedab3c4c