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
add2ac38
Commit
add2ac38
authored
Jun 26, 2010
by
npzacs
Browse files
Hide implementation details
parent
7480f16e
Changes
2
Hide whitespace changes
Inline
Side-by-side
libaacs/src/libaacs/mmc.c
View file @
add2ac38
...
...
@@ -41,6 +41,13 @@
#define PATCHED_DRIVE 0
#endif
struct
mmc
{
int
fd
;
uint8_t
sk
,
asc
,
ascq
;
uint8_t
host_priv_key
[
20
],
host_cert
[
92
],
host_nonce
[
20
];
uint8_t
host_key_point
[
40
];
};
static
int
_mmc_send_cmd
(
MMC
*
mmc
,
const
uint8_t
*
cmd
,
uint8_t
*
buf
,
size_t
tx
,
size_t
rx
)
{
...
...
libaacs/src/libaacs/mmc.h
View file @
add2ac38
...
...
@@ -23,12 +23,6 @@
#include <stdint.h>
typedef
struct
mmc
MMC
;
struct
mmc
{
int
fd
;
uint8_t
sk
,
asc
,
ascq
;
uint8_t
host_priv_key
[
20
],
host_cert
[
92
],
host_nonce
[
20
];
uint8_t
host_key_point
[
40
];
};
MMC
*
mmc_open
(
const
char
*
path
,
const
uint8_t
*
host_priv_key
,
const
uint8_t
*
host_cert
,
const
uint8_t
*
host_nonce
,
...
...
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