Loading system/gd/Android.bp +2 −2 Original line number Diff line number Diff line Loading @@ -310,12 +310,12 @@ genrule { srcs: [ "hci/hci_packets.pdl", "l2cap/l2cap_packets.pdl", "smp/smp_packets.pdl", "security/smp_packets.pdl", ], out: [ "hci/hci_packets.h", "l2cap/l2cap_packets.h", "smp/smp_packets.h", "security/smp_packets.h", ], } Loading system/gd/smp/Android.bp→system/gd/security/Android.bp +0 −0 File moved. View file system/gd/smp/ecc/multipoint_test.cc→system/gd/security/ecc/multipoint_test.cc +3 −3 Original line number Diff line number Diff line Loading @@ -18,10 +18,10 @@ #include <gtest/gtest.h> #include "smp/ecc/p_256_ecc_pp.h" #include "security/ecc/p_256_ecc_pp.h" namespace bluetooth { namespace smp { namespace security { namespace ecc { // Test ECC point validation Loading Loading @@ -108,5 +108,5 @@ TEST(SmpEccValidationTest, test_invalid_points) { } } // namespace ecc } // namespace smp } // namespace security } // namespace bluetooth system/gd/smp/ecc/multprecision.cc→system/gd/security/ecc/multprecision.cc +3 −3 Original line number Diff line number Diff line Loading @@ -22,11 +22,11 @@ * ******************************************************************************/ #include "smp/ecc/multprecision.h" #include "security/ecc/multprecision.h" #include <string.h> namespace bluetooth { namespace smp { namespace security { namespace ecc { #define DWORD_BITS 32 Loading Loading @@ -500,5 +500,5 @@ void multiprecision_inv_mod(uint32_t* aminus, uint32_t* u, const uint32_t* modp) } } // namespace ecc } // namespace smp } // namespace security } // namespace bluetooth No newline at end of file system/gd/smp/ecc/multprecision.h→system/gd/security/ecc/multprecision.h +2 −2 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ #include <cstdint> namespace bluetooth { namespace smp { namespace security { namespace ecc { #define KEY_LENGTH_DWORDS_P256 8 Loading @@ -52,5 +52,5 @@ void multiprecision_mersenns_squa_mod(uint32_t* c, const uint32_t* a, const uint void multiprecision_fast_mod_P256(uint32_t* c, const uint32_t* a, const uint32_t* modp); } // namespace ecc } // namespace smp } // namespace security } // namespace bluetooth No newline at end of file Loading
system/gd/Android.bp +2 −2 Original line number Diff line number Diff line Loading @@ -310,12 +310,12 @@ genrule { srcs: [ "hci/hci_packets.pdl", "l2cap/l2cap_packets.pdl", "smp/smp_packets.pdl", "security/smp_packets.pdl", ], out: [ "hci/hci_packets.h", "l2cap/l2cap_packets.h", "smp/smp_packets.h", "security/smp_packets.h", ], } Loading
system/gd/smp/ecc/multipoint_test.cc→system/gd/security/ecc/multipoint_test.cc +3 −3 Original line number Diff line number Diff line Loading @@ -18,10 +18,10 @@ #include <gtest/gtest.h> #include "smp/ecc/p_256_ecc_pp.h" #include "security/ecc/p_256_ecc_pp.h" namespace bluetooth { namespace smp { namespace security { namespace ecc { // Test ECC point validation Loading Loading @@ -108,5 +108,5 @@ TEST(SmpEccValidationTest, test_invalid_points) { } } // namespace ecc } // namespace smp } // namespace security } // namespace bluetooth
system/gd/smp/ecc/multprecision.cc→system/gd/security/ecc/multprecision.cc +3 −3 Original line number Diff line number Diff line Loading @@ -22,11 +22,11 @@ * ******************************************************************************/ #include "smp/ecc/multprecision.h" #include "security/ecc/multprecision.h" #include <string.h> namespace bluetooth { namespace smp { namespace security { namespace ecc { #define DWORD_BITS 32 Loading Loading @@ -500,5 +500,5 @@ void multiprecision_inv_mod(uint32_t* aminus, uint32_t* u, const uint32_t* modp) } } // namespace ecc } // namespace smp } // namespace security } // namespace bluetooth No newline at end of file
system/gd/smp/ecc/multprecision.h→system/gd/security/ecc/multprecision.h +2 −2 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ #include <cstdint> namespace bluetooth { namespace smp { namespace security { namespace ecc { #define KEY_LENGTH_DWORDS_P256 8 Loading @@ -52,5 +52,5 @@ void multiprecision_mersenns_squa_mod(uint32_t* c, const uint32_t* a, const uint void multiprecision_fast_mod_P256(uint32_t* c, const uint32_t* a, const uint32_t* modp); } // namespace ecc } // namespace smp } // namespace security } // namespace bluetooth No newline at end of file