Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tinydtls-dev] Current version of TinyDTLS (Eclipse)

Dear all,

I asked micro-ecc maintainer, and he would agree to add a 16bit support even if it would be slow without hardware optimization:

https://github.com/kmackay/micro-ecc/issues/96

Some work has been done by a previous fork which could be used as a starting point.
So the 16bit compatibility is "just" a "need implementation" issue.

I will see if i can look at it.

Regards,
Gaëtan

On 03/30/2017 04:58 PM, Raul Fuentes wrote:
Oh nice!

Then I must be quick in sending a PR with the support for RIOT OS before that the 0.9.0 is released :)



2017-03-30 15:11 GMT+02:00 Francesco Marino <fr.marino@xxxxxxxxxxxxxxx <mailto:fr.marino@xxxxxxxxxxxxxxx>>:

    tinydtls with micro-ecc in now on Gerrit

    On Thu, 30 Mar 2017 10:00:14 +0200

     Priyanka <priyanka206@xxxxxxxxx <mailto:priyanka206@xxxxxxxxx>>
    wrote:

        Hello Francesco Marino,

        As suggested by Olaf Bergmann and Gaëtan Harter you may
        contribute it to
        the tinydtls eclipse project.
        If you have a git repo already or sourceforge link, you may
        share that with
        us.
        In fact, we are on 32-bit processor.

        Best,
        Priyanka

        On Tue, Mar 28, 2017 at 12:30 PM, Francesco Marino <
        fr.marino@xxxxxxxxxxxxxxx <mailto:fr.marino@xxxxxxxxxxxxxxx>>
        wrote:

            I tested it with contiki on a cc2538-based board.
            I have the code on my private repository, how can I share
            it with you?


            On Mon, 27 Mar 2017 20:03:11 +0200
             Priyanka <priyanka206@xxxxxxxxx
            <mailto:priyanka206@xxxxxxxxx>> wrote:

                Hello Francesco Marino,

                We have started looking at micro-ecc and tinydtls
                integration. If you have
                done it already, it would be interesting for us to
                test it on our board.

                Best,
                Priyanka
                On Mar 27, 2017 6:47 PM, "Francesco Marino"
                <fr.marino@xxxxxxxxxxxxxxx
                <mailto:fr.marino@xxxxxxxxxxxxxxx>>
                wrote:

                I already integrated micro-ecc in tinydtls, if someone
                is interested, and

                    it works pretty well


                    On Mon, 27 Mar 2017 15:40:24 +0200
                     Olaf Bergmann <bergmann@xxxxxxx
                    <mailto:bergmann@xxxxxxx>> wrote:

                    Gaëtan Harter <gaetan.harter@xxxxxxxx
                    <mailto:gaetan.harter@xxxxxxxx>> writes:


                        Maybe in 16bit there is a compat "using the
                        8bit mode but it is slow

                            and not optimized".


                        I would guess that this was acceptable and
                        could be optimized if really
                        needed.

                        To be sure, at the end would you like to get
                        rid of the current ecc

                            implementation ?


                        Yes, absolutely.

                        Either there could be a backward compat code
                        for 16bit using the old

                            version


                        I suppose that micro-ecc in 8bit mode (if such
                        a thing exists) will
                        still be faster than the old implementation in
                        16 bit mode, no? (I may
                        have a 16 bit MCU here so I could check if
                        need be.)

                        Grüße
                        Olaf
                        _______________________________________________
                        tinydtls-dev mailing list
                        tinydtls-dev@xxxxxxxxxxx
                        <mailto:tinydtls-dev@xxxxxxxxxxx>
                        To change your delivery options, retrieve your
                        password, or unsubscribe
                        from this list, visit
                        https://dev.eclipse.org/mailman/listinfo/tinydtls-dev
                        <https://dev.eclipse.org/mailman/listinfo/tinydtls-dev>


                    _______________________________________________
                    tinydtls-dev mailing list
                    tinydtls-dev@xxxxxxxxxxx
                    <mailto:tinydtls-dev@xxxxxxxxxxx>
                    To change your delivery options, retrieve your
                    password, or unsubscribe
                    from this list, visit
                    https://dev.eclipse.org/mailman/listinfo/tinydtls-dev
                    <https://dev.eclipse.org/mailman/listinfo/tinydtls-dev>


            _______________________________________________
            tinydtls-dev mailing list
            tinydtls-dev@xxxxxxxxxxx <mailto:tinydtls-dev@xxxxxxxxxxx>
            To change your delivery options, retrieve your password,
            or unsubscribe
            from this list, visit
            https://dev.eclipse.org/mailman/listinfo/tinydtls-dev
            <https://dev.eclipse.org/mailman/listinfo/tinydtls-dev>


    _______________________________________________
    tinydtls-dev mailing list
    tinydtls-dev@xxxxxxxxxxx <mailto:tinydtls-dev@xxxxxxxxxxx>
    To change your delivery options, retrieve your password, or
    unsubscribe from this list, visit
    https://dev.eclipse.org/mailman/listinfo/tinydtls-dev
    <https://dev.eclipse.org/mailman/listinfo/tinydtls-dev>




_______________________________________________
tinydtls-dev mailing list
tinydtls-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tinydtls-dev




Back to the top