diff options
author | Joerie de Gram <j.de.gram@gmail.com> | 2011-08-03 23:00:41 +0200 |
---|---|---|
committer | Joerie de Gram <j.de.gram@gmail.com> | 2011-08-16 22:08:09 +0200 |
commit | 29e532d6a58a31f57755494d3ca213cdd9a04701 (patch) | |
tree | e95ce27f3ec8c1f7c499911ce84c0a027dd55373 /include/sec.h | |
parent | d7b2d815afb0febb7b59223e7ecdb19fb9bfccb6 (diff) | |
download | external_libsamsung-ipc-29e532d6a58a31f57755494d3ca213cdd9a04701.zip external_libsamsung-ipc-29e532d6a58a31f57755494d3ca213cdd9a04701.tar.gz external_libsamsung-ipc-29e532d6a58a31f57755494d3ca213cdd9a04701.tar.bz2 |
sec: add RSIM_ACCESS support
Diffstat (limited to 'include/sec.h')
-rw-r--r-- | include/sec.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/sec.h b/include/sec.h index 187bf21..3ec961a 100644 --- a/include/sec.h +++ b/include/sec.h @@ -59,5 +59,20 @@ struct msm_sec_pin_status { unsigned char key; } __attribute__((__packed__)); +struct msm_sec_rsim_access_request { + unsigned char command; + unsigned short fileid; + unsigned char p1, p2, p3; +} __attribute__((__packed__)); + +struct msm_sec_rsim_access_response { + unsigned char sw1, sw2; + unsigned char len; +} __attribute__((__packed__)); + +void msm_sec_rsim_access(unsigned char command, unsigned short file_id, + unsigned char p1, unsigned char p2, unsigned char p3, + unsigned char *rdata, unsigned int length, int request_id); + #endif |