Search:

Type: Posts; User: oogabooga

Search: Search took 0.01 seconds.

  1. Actually, I've made the above code too...

    Actually, I've made the above code too complicated. You want something more like this:


    void hexStringToUIntArray(char *str, unsigned *a) {
    int i;
    for (i = 0; i < 8; i++)
    ...
  2. Here's an extension of the original program I...

    Here's an extension of the original program I gave. Choose an "endianness" and copy the key.ints into the rd_key of your struct.


    #include <stdio.h>

    //#define METHOD_ONE

    int main() {
    ...
  3. @iMalc: Flight of the Conchords! @pkumarn: You...

    @iMalc: Flight of the Conchords!

    @pkumarn: You take the bytes that I showed you how to get and put them into the first 8 entries of rd_key.
  4. Given: unsigned long rd_key[4 *(AES_MAXNR + 1)]...

    Given:
    unsigned long rd_key[4 *(AES_MAXNR + 1)]
    with AES_MAXNR equal to 14 and assuming unsigned long is 32 bits, that's 32 * 4 * (14 + 1) = 1920 bits.
    But the fact is that you're looking for a...
  5. We can't do the math because you haven't told us...

    We can't do the math because you haven't told us what AES_MAXNR is.

    At any rate, your key is 64 chars, each two of which represent the hex value of a byte; so it is 32 bytes or 256 bits. Your...
Results 1 to 5 of 5