forked from linux4sam/at91bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Config.in.secure
117 lines (90 loc) · 2.51 KB
/
Config.in.secure
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
config CONFIG_SECURE
bool "Secure Mode support"
default n
depends on CPU_HAS_AES && !CONFIG_LOAD_LINUX && !CONFIG_LOAD_ANDROID
select CONFIG_AES
help
Decrypt and check the signature of the application file
menu "Secure Mode Options"
depends on CONFIG_SECURE
choice
prompt "Key Size"
default CONFIG_AES_KEY_SIZE_256
help
Select the length of the cipher and CMAC keys
config CONFIG_AES_KEY_SIZE_128
bool "AES-128"
config CONFIG_AES_KEY_SIZE_192
bool "AES-192"
config CONFIG_AES_KEY_SIZE_256
bool "AES-256"
endchoice
config CONFIG_AES_CIPHER_KEY_WORD0
hex "Cipher Key Word0"
default "0x00000000"
config CONFIG_AES_CIPHER_KEY_WORD1
hex "Cipher Key Word1"
default "0x00000000"
config CONFIG_AES_CIPHER_KEY_WORD2
hex "Cipher Key Word2"
default "0x00000000"
config CONFIG_AES_CIPHER_KEY_WORD3
hex "Cipher Key Word3"
default "0x00000000"
config CONFIG_AES_CIPHER_KEY_WORD4
hex "Cipher Key Word4"
default "0x00000000"
depends on (CONFIG_AES_KEY_SIZE_192 || CONFIG_AES_KEY_SIZE_256)
config CONFIG_AES_CIPHER_KEY_WORD5
hex "Cipher Key Word5"
default "0x00000000"
depends on (CONFIG_AES_KEY_SIZE_192 || CONFIG_AES_KEY_SIZE_256)
config CONFIG_AES_CIPHER_KEY_WORD6
hex "Cipher Key Word6"
default "0x00000000"
depends on CONFIG_AES_KEY_SIZE_256
config CONFIG_AES_CIPHER_KEY_WORD7
hex "Cipher Key Word7"
default "0x00000000"
depends on CONFIG_AES_KEY_SIZE_256
config CONFIG_AES_IV_WORD0
hex "Initialization Vector Word0"
default "0x00000000"
config CONFIG_AES_IV_WORD1
hex "Initialization Vector Word1"
default "0x00000000"
config CONFIG_AES_IV_WORD2
hex "Initialization Vector Word2"
default "0x00000000"
config CONFIG_AES_IV_WORD3
hex "Initialization Vector Word3"
default "0x00000000"
config CONFIG_AES_CMAC_KEY_WORD0
hex "CMAC Key Word0"
default "0x00000000"
config CONFIG_AES_CMAC_KEY_WORD1
hex "CMAC Key Word1"
default "0x00000000"
config CONFIG_AES_CMAC_KEY_WORD2
hex "CMAC Key Word2"
default "0x00000000"
config CONFIG_AES_CMAC_KEY_WORD3
hex "CMAC Key Word3"
default "0x00000000"
config CONFIG_AES_CMAC_KEY_WORD4
hex "CMAC Key Word4"
default "0x00000000"
depends on (CONFIG_AES_KEY_SIZE_192 || CONFIG_AES_KEY_SIZE_256)
config CONFIG_AES_CMAC_KEY_WORD5
hex "CMAC Key Word5"
default "0x00000000"
depends on (CONFIG_AES_KEY_SIZE_192 || CONFIG_AES_KEY_SIZE_256)
config CONFIG_AES_CMAC_KEY_WORD6
hex "CMAC Key Word6"
default "0x00000000"
depends on CONFIG_AES_KEY_SIZE_256
config CONFIG_AES_CMAC_KEY_WORD7
hex "CMAC Key Word7"
default "0x00000000"
depends on CONFIG_AES_KEY_SIZE_256
endmenu