Commit e7c4c54
committed
core: rpmb: select the provisioning target by CID
When several RPMB-capable devices are present, key provisioning must not
land on an arbitrary one: writing the key to the wrong device is hard to
undo and leaves the intended device unprovisioned. CFG_RPMB_WRITE_KEY_CID
lets a controlled (factory) setup pin provisioning to a known device so
the outcome is deterministic.
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez@oss.qualcomm.com>1 parent f6cae9a commit e7c4c54
2 files changed
Lines changed: 35 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1186 | 1186 | | |
1187 | 1187 | | |
1188 | 1188 | | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
1189 | 1211 | | |
1190 | 1212 | | |
1191 | 1213 | | |
| |||
1240 | 1262 | | |
1241 | 1263 | | |
1242 | 1264 | | |
1243 | | - | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
1244 | 1269 | | |
1245 | 1270 | | |
1246 | 1271 | | |
| |||
1257 | 1282 | | |
1258 | 1283 | | |
1259 | 1284 | | |
1260 | | - | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
1261 | 1289 | | |
| 1290 | + | |
1262 | 1291 | | |
1263 | 1292 | | |
1264 | 1293 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
234 | 238 | | |
235 | 239 | | |
236 | 240 | | |
| |||
0 commit comments