Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99414ad0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "keymaster: Remove usage of PAGE_SIZE" into main

parents c519d1dd bbc4bc54
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -22,9 +22,9 @@


__BEGIN_DECLS
__BEGIN_DECLS


const uint32_t TRUSTY_KEYMASTER_RECV_BUF_SIZE = 2 * PAGE_SIZE;
const uint32_t TRUSTY_KEYMASTER_RECV_BUF_SIZE = 2 * 4096;
const uint32_t TRUSTY_KEYMASTER_SEND_BUF_SIZE =
const uint32_t TRUSTY_KEYMASTER_SEND_BUF_SIZE =
        (PAGE_SIZE - sizeof(struct keymaster_message) - 16 /* tipc header */);
        (4096 - sizeof(struct keymaster_message) - 16 /* tipc header */);


int trusty_keymaster_connect(void);
int trusty_keymaster_connect(void);
int trusty_keymaster_call(uint32_t cmd, void* in, uint32_t in_size, uint8_t* out,
int trusty_keymaster_call(uint32_t cmd, void* in, uint32_t in_size, uint8_t* out,