-
Notifications
You must be signed in to change notification settings - Fork 688
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ieee802154] CCM* implementation and new symmetric encryption HIL #684
Commits on Oct 7, 2017
-
AES: mods as necessary for 802.15.4 work
- hil::symmetric_encryption - provide distinct traits for Ctr/CBC modes so we can be sure these hardware features exist at compile time - allow distinct src/dst encryption or in-place operation - fix up sam4l::aes to match the new interface, and track input/output with the hardware properly - add TakeCell.map_or_else() - tests are in boards/imix/src/aes_test.rs, and may be run by adding this just before the call to `kernel::main()`: aes_test::run(); NOTE: this commit removes capsules::symmetric_encryption, the userspace interface to AES. Future work will have to patch that back onto the modified HIL, and perhaps also provide a mux for userspace+kernel users.
Configuration menu - View commit details
-
Copy full SHA for 5b0fd38 - Browse repository at this point
Copy the full SHA 5b0fd38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22fe7f1 - Browse repository at this point
Copy the full SHA 22fe7f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85b28bc - Browse repository at this point
Copy the full SHA 85b28bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c183a9b - Browse repository at this point
Copy the full SHA c183a9bView commit details
Commits on Oct 12, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 19d7972 - Browse repository at this point
Copy the full SHA 19d7972View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a55872 - Browse repository at this point
Copy the full SHA 6a55872View commit details
Commits on Oct 29, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 841610f - Browse repository at this point
Copy the full SHA 841610fView commit details
Commits on Nov 7, 2017
-
Configuration menu - View commit details
-
Copy full SHA for dc70c7a - Browse repository at this point
Copy the full SHA dc70c7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b7bce5 - Browse repository at this point
Copy the full SHA 6b7bce5View commit details
Commits on Nov 8, 2017
-
AES: fix put/take methods for source/dest buffers
These methods now have the same semantics as put/take for a TakeCell, except that when the hardware is busy (between a call to crypt() and the following invocation of crypt_done()), they have degenerate behavior: put has no effect, and take returns None.
Configuration menu - View commit details
-
Copy full SHA for c24cb70 - Browse repository at this point
Copy the full SHA c24cb70View commit details -
Configuration menu - View commit details
-
Copy full SHA for f250449 - Browse repository at this point
Copy the full SHA f250449View commit details -
AES: pass bufs to crypt(), return at crypt_done()
This changes the interface once more so that there is no opportunity for confusion over the state of buffer ownership.
Configuration menu - View commit details
-
Copy full SHA for 08d63b5 - Browse repository at this point
Copy the full SHA 08d63b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4596980 - Browse repository at this point
Copy the full SHA 4596980View commit details -
Configuration menu - View commit details
-
Copy full SHA for 478f054 - Browse repository at this point
Copy the full SHA 478f054View commit details
Commits on Nov 14, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 168c7bc - Browse repository at this point
Copy the full SHA 168c7bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0602b2f - Browse repository at this point
Copy the full SHA 0602b2fView commit details
Commits on Jan 25, 2018
-
AES: mods as necessary for 802.15.4 work
- hil::symmetric_encryption - provide distinct traits for Ctr/CBC modes so we can be sure these hardware features exist at compile time - allow distinct src/dst encryption or in-place operation - fix up sam4l::aes to match the new interface, and track input/output with the hardware properly - add TakeCell.map_or_else() - tests are in boards/imix/src/aes_test.rs, and may be run by adding this just before the call to `kernel::main()`: aes_test::run(); NOTE: this commit removes capsules::symmetric_encryption, the userspace interface to AES. Future work will have to patch that back onto the modified HIL, and perhaps also provide a mux for userspace+kernel users.
Configuration menu - View commit details
-
Copy full SHA for 91515ed - Browse repository at this point
Copy the full SHA 91515edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f78da7 - Browse repository at this point
Copy the full SHA 6f78da7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c549ff5 - Browse repository at this point
Copy the full SHA c549ff5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f02461 - Browse repository at this point
Copy the full SHA 8f02461View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff93875 - Browse repository at this point
Copy the full SHA ff93875View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5483abf - Browse repository at this point
Copy the full SHA 5483abfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2482003 - Browse repository at this point
Copy the full SHA 2482003View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26d7c6b - Browse repository at this point
Copy the full SHA 26d7c6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e3f7ec - Browse repository at this point
Copy the full SHA 1e3f7ecView commit details -
AES: fix put/take methods for source/dest buffers
These methods now have the same semantics as put/take for a TakeCell, except that when the hardware is busy (between a call to crypt() and the following invocation of crypt_done()), they have degenerate behavior: put has no effect, and take returns None.
Configuration menu - View commit details
-
Copy full SHA for cc0d022 - Browse repository at this point
Copy the full SHA cc0d022View commit details -
AES: pass bufs to crypt(), return at crypt_done()
This changes the interface once more so that there is no opportunity for confusion over the state of buffer ownership.
Configuration menu - View commit details
-
Copy full SHA for 424181f - Browse repository at this point
Copy the full SHA 424181fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c805e7e - Browse repository at this point
Copy the full SHA c805e7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8db7555 - Browse repository at this point
Copy the full SHA 8db7555View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24cd1f7 - Browse repository at this point
Copy the full SHA 24cd1f7View commit details -
NRF5x port to new symmetric_encryption HIL
* The CBC-test fails because it is not supported. I suggest to change the test structure and the trait bounds accordingly
Configuration menu - View commit details
-
Copy full SHA for a2807b7 - Browse repository at this point
Copy the full SHA a2807b7View commit details -
Modified tests and other boards accordingly
* Because the AES tests depended on trait bounds on both AES128Cbc and AES128Ctr => both the traits needed to implemented * Since NRF5x only support CTR ended up in test failed * That's why I splitted up them (I have not verified that tests are correct though) * The test passed on NRF5x
Configuration menu - View commit details
-
Copy full SHA for f51fdf5 - Browse repository at this point
Copy the full SHA f51fdf5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a7af3e - Browse repository at this point
Copy the full SHA 1a7af3eView commit details
Commits on Jan 29, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 9ff0ec5 - Browse repository at this point
Copy the full SHA 9ff0ec5View commit details -
Merge pull request #1 from niklasad1/ccm
Add nik's changes to ccm branch so that we can make sure everything works
Configuration menu - View commit details
-
Copy full SHA for 616225e - Browse repository at this point
Copy the full SHA 616225eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98066ac - Browse repository at this point
Copy the full SHA 98066acView commit details
Commits on Jan 30, 2018
-
Configuration menu - View commit details
-
Copy full SHA for e5309a6 - Browse repository at this point
Copy the full SHA e5309a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4db174e - Browse repository at this point
Copy the full SHA 4db174eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 37f948f - Browse repository at this point
Copy the full SHA 37f948fView commit details
Commits on Feb 3, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 0122f40 - Browse repository at this point
Copy the full SHA 0122f40View commit details
Commits on Feb 7, 2018
-
Configuration menu - View commit details
-
Copy full SHA for b6c0c9b - Browse repository at this point
Copy the full SHA b6c0c9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a664a97 - Browse repository at this point
Copy the full SHA a664a97View commit details