Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joshua Root
libaacs
Commits
b05cab58
Commit
b05cab58
authored
Feb 05, 2016
by
npzacs
Browse files
Add aacs_decrypt_bus()
Required for BD+ when bus encryption is used.
parent
d0aaed0a
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
b05cab58
- Add aacs_decrypt_bus().
- Add aacs_get_bdj_root_cert_hash().
- Add aacs_get_content_cert_id().
- Verify content certificate signature.
...
...
src/libaacs/aacs.c
View file @
b05cab58
...
...
@@ -1228,6 +1228,15 @@ static void _decrypt_unit_bus(AACS *aacs, uint8_t *buf)
}
}
int
aacs_decrypt_bus
(
AACS
*
aacs
,
uint8_t
*
buf
)
{
if
(
buf
[
0
]
&
0xc0
)
{
_decrypt_unit_bus
(
aacs
,
buf
);
}
return
1
;
}
int
aacs_decrypt_unit
(
AACS
*
aacs
,
uint8_t
*
buf
)
{
unsigned
int
i
;
...
...
src/libaacs/aacs.h
View file @
b05cab58
...
...
@@ -51,6 +51,7 @@ AACS_PUBLIC AACS *aacs_open2(const char *path, const char *keyfile_path, int *er
AACS_PUBLIC
void
aacs_close
(
AACS
*
aacs
);
AACS_PUBLIC
void
aacs_select_title
(
AACS
*
aacs
,
uint32_t
title
);
/* 0 - top menu, 0xffff - first play */
AACS_PUBLIC
int
aacs_decrypt_unit
(
AACS
*
aacs
,
uint8_t
*
buf
);
AACS_PUBLIC
int
aacs_decrypt_bus
(
AACS
*
aacs
,
uint8_t
*
buf
);
/* Disc information */
AACS_PUBLIC
int
aacs_get_mkb_version
(
AACS
*
aacs
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment