-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #428 from LedgerHQ/abo_format_API_LEVEL_5
Format API_LEVEL_5
- Loading branch information
Showing
278 changed files
with
39,203 additions
and
35,408 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
Language: Cpp | ||
BasedOnStyle: Chromium | ||
IndentWidth: 4 | ||
ColumnLimit: 100 | ||
UseTab: Never | ||
IndentCaseLabels: true | ||
# do not allow ifs or loops without braces | ||
InsertBraces: true | ||
PointerAlignment: Right | ||
|
||
BreakBeforeBraces: Stroustrup | ||
BreakBeforeBinaryOperators: true | ||
|
||
BinPackArguments: false | ||
BinPackParameters: false | ||
|
||
AlignConsecutiveMacros: | ||
Enabled: true | ||
AcrossComments: true | ||
AcrossEmptyLines: false | ||
|
||
AlignConsecutiveDeclarations: | ||
Enabled: true | ||
AcrossComments: false | ||
AcrossEmptyLines: false | ||
|
||
AlignConsecutiveAssignments: | ||
Enabled: true | ||
AcrossComments: false | ||
AcrossEmptyLines: false | ||
|
||
AlignArrayOfStructures: Left | ||
SortIncludes: Never | ||
SpaceAfterCStyleCast: True | ||
AllowShortEnumsOnASingleLine: false | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Run this command to always ignore formatting commits in `git blame` | ||
# git config blame.ignoreRevsFile .git-blame-ignore-revs | ||
|
||
# Formatting commit | ||
59a948f2838ec0ced714c81c8e268d6016b84057 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
|
||
/******************************************************************************* | ||
* Ledger Nano S - Secure firmware | ||
* (c) 2022 Ledger | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
********************************************************************************/ | ||
* Ledger Nano S - Secure firmware | ||
* (c) 2022 Ledger | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
********************************************************************************/ | ||
|
||
#if !defined(CHECKS_H) | ||
#define CHECKS_H | ||
|
||
#if !defined(HAVE_BOLOS) && defined(HAVE_PENDING_REVIEW_SCREEN) | ||
|
||
#define CHECK_NOT_AUDITED_TLV_TAG 0x9F | ||
#define CHECK_NOT_AUDITED_TLV_VAL 0x01 | ||
#define CHECK_NOT_AUDITED_MAX_LEN 0x40 | ||
#define CHECK_NOT_AUDITED_TLV_TAG 0x9F | ||
#define CHECK_NOT_AUDITED_TLV_VAL 0x01 | ||
#define CHECK_NOT_AUDITED_MAX_LEN 0x40 | ||
|
||
void check_audited_app(void); | ||
#endif // !defined(HAVE_BOLOS) && defined(HAVE_PENDING_REVIEW_SCREEN) | ||
#endif // !defined(HAVE_BOLOS) && defined(HAVE_PENDING_REVIEW_SCREEN) | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.