Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Use AES engine outside of uSSL

    Scheduled Pinned Locked Moved Discussion
    3 Posts 3 Posters 1.2k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F Offline
      flemlion
      last edited by

      I'm looking for a way to use the AES engine directly to encrypt my own data.
      I know it's probably in use within the SSL library and maybe also for LoRa, but I have not yet found in what way I can use it for my own purposes.

      1 Reply Last reply Reply Quote 1
      • L Offline
        LoneTech
        last edited by

        As of 0.9.0.b2, the LoPy doesn't seem to even have the SSL module (I expect it will come). Additionally, the AES accelerator doesn't seem to be accessible (I tried using the uctypes module), possibly it's restricted to the protocol CPU, not matching the documentation, or even absent. I certainly would appreciate if they were made available, ideally in a manner compatible with the cryptography package. Not exactly top priority though.

        1 Reply Last reply Reply Quote 0
        • D Offline
          daniel
          last edited by

          Hello,

          Yes the AES functionality is going to be available, with an API similar to this one:
          https://pypi.python.org/pypi/pycrypto

          SSL/TLS is also coming soon.

          1 Reply Last reply Reply Quote 1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post

          Pycom on Twitter

          Pycom