Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - stiefel40k

Pages: [1]
Hi g3gg0,

what were the exact settings you used?

The easiest way to show the exact options, we made a video about it: (you might have to wait, depending on when you check it out, because I just uploaded it, and it might take some time for youtube to process it).

i found the patch i used to add ChaCha20 support.
the file is a .patch, just renamed to .txt as the forum didnt allow this extension.

Thanks for it! It is very nice of you!

So we tried to get up and running the io_crypt module, but we encountered some problems with the decryption.

(Our "specs":
Camera: 600D
Platform build:
io_crypt build:

The encryption seems to be working, however we have some difficulties with the decryption. The camera itself can't decrypt the images in preview mode either. Regardless of what mode (RSA or PWD) we use. We have the same issue on a PC. Either we get a CR2 file which is just green or we get a JPG with various errors. One example: I also included the Private key, for testing purposes.

Can somebody give us a hint what we are doing wrong? I also include the decrypt-executable which we use. (It was built by ourselves. See the drive link.)

Thanks in advance!

with ChaCha20 i get ~4.5 - 4.8 MiB/s
with XTEA its ~0.8 MiB/s
with LFSR it was ~20MiB/s (iirc)

Could you somewhere share your code with ChaCha20? I would like to check it out, because we (my friend and I) are doing a project where we would like to implement exactly this feature for magic lantern (with Poly1305).

Thanks in advance!

Modules Development / Re: DotTune AFMA (
« on: March 12, 2017, 05:47:55 PM »
That's how the build process checks the compatibility between some module and the camera model. In particular, this module requires the camera to be able to change AFMA.

Those models that don't have this functionality won't have symbols such as get/set_afma_mode, so they won't be able to load this module. The message also tells what functions you need to implement for your module to load on a particular camera model.

You may cross-check your compilation log with the one from nightly builds (see Build log).

Thank you very much alex for you quick answer!

Modules Development / Re: DotTune AFMA (
« on: March 11, 2017, 06:13:22 PM »

I'm very new here, so I don't know if I post this in the right place. So I was trying to build ML for 600D because I intend to write an encrypion module with chacha, however as I was trying to build the project, to see if everything is fine I encountered numerous errors with the compiler and co. After fixing everything only one error resides and it is that I can't build the dot_tune module. The compiler error looks like this:
Code: [Select]
Building module dot_tune...
[ README   ]   module_strings.h
[ CC       ]   dot_tune.o
[ HGDIFF   ]   hgdiff.tmp
[ MODULE   ]
[ STRIP    ]
[ RM       ]   hgdiff.tmp
[ EXPORTS  ]   dot_tune.sym
[ DEPENDS  ]   dot_tune.dep
Will NOT load on:
    600D (get_config_afma_wide_tele, get_afma_mode, set_afma_mode, and 3 others)
Not checked (compile ML for these cameras first):
    1100D, 500D, 50D, 550D, 5D2, 5D3.113, 5D3.123, 60D, 650D, 6D, 700D, 7D, EOSM
make[4]: *** [../../modules/Makefile.modules:79: dot_tune.dep] Error 1

WARNING: module dot_tune failed to build, deleting

I tried to build ML e.g for 500D as the output suggests, but no help. I tried to understand what is happening in the Makefile.modules, but I had no luck :(
Regarding this I would have two questions:
  • Concidering everything else is fine, and no clusterfuck happens, will my camera break if I use a build where the dot_tune module is not there? Because I don't really need dot_tune during the implementation of the encryption.
  • Does anybody have an idea where the problem might be or what I could check?

Thanks for the help in advance!

Pages: [1]