Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c5465a3 authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

crypto_toolbox

This is copy of the crypto_toolbox for GD usage.
Only necessary changes were made:
* removed dependency on bt_types.h
* removed dependency on libbase
* reformatted code
* added namespace

Further improvements will be stacked on top of this patch.

Test: CryptoToolboxTest
Bug: 132863815
Change-Id: I639ba42705b23218a14085abcf431d744f87b913
parent 9d19ea64
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -104,6 +104,7 @@ cc_library {
        "stack_manager.cc",
        "module.cc",
        ":BluetoothCommonSources",
        ":BluetoothCryptoToolboxSources",
        ":BluetoothHalSources",
        ":BluetoothHciSources",
        ":BluetoothPacketSources",
@@ -232,6 +233,7 @@ cc_test {
    srcs: [
        "module_unittest.cc",
        ":BluetoothCommonTestSources",
        ":BluetoothCryptoToolboxTestSources",
        ":BluetoothHciTestSources",
        ":BluetoothL2capTestSources",
        ":BluetoothPacketTestSources",
+15 −0
Original line number Diff line number Diff line
filegroup {
    name: "BluetoothCryptoToolboxSources",
    srcs: [
        "aes.cc",
        "aes_cmac.cc",
        "crypto_toolbox.cc",
    ]
}

filegroup {
    name: "BluetoothCryptoToolboxTestSources",
    srcs: [
        "crypto_toolbox_test.cc",
    ]
}
 No newline at end of file
Loading