Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Update ChangeLog
· f263376b
npzacs
authored
Aug 16, 2018
f263376b
Improve logging of revoked certificates
· a31f1755
npzacs
authored
Nov 27, 2018
a31f1755
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
a31f1755
- Add aacs_set_key_caching()
- Add support for AACS2 content certificate.
- Add aacs_set_key_caching().
- Issue a warning when using AACS2 capable drive.
- Fix data corruption when structs are not packed.
2017-05-04: Version 0.9.0
- Add aacs_decrypt_bus().
- Add aacs_get_bdj_root_cert_hash().
...
...
src/libaacs/mmc.c
View file @
a31f1755
...
...
@@ -449,11 +449,13 @@ static int _mmc_aacs_auth(MMC *mmc, uint8_t agid, const uint8_t *host_priv_key,
// send host cert + nonce
if
(
!
_mmc_send_host_cert
(
mmc
,
agid
,
mmc
->
host_nonce
,
host_cert
))
{
str_print_hex
(
str
,
host_cert
+
4
,
6
);
if
((
mmc
->
drive_cert
[
1
]
&
0x01
)
&&
!
(
host_cert
[
1
]
&
0x01
))
{
BD_DEBUG
(
DBG_MMC
|
DBG_CRIT
,
"Certificate (id 0x%s) can not be used with bus encryption capable drive
\n
"
,
str
_print_hex
(
str
,
host_cert
+
4
,
6
)
);
str
);
}
else
{
BD_DEBUG
(
DBG_MMC
|
DBG_CRIT
,
"Host key / Certificate has been revoked by your drive ?
\n
"
);
BD_DEBUG
(
DBG_MMC
|
DBG_CRIT
,
"Host key / Certificate (id 0x%s) has been revoked by your drive ?
\n
"
,
str
);
}
return
MMC_ERROR_CERT_REVOKED
;
}
...
...