Home
last modified time | relevance | path

Searched refs:HWKEY_MAX_MSG_SIZE (Results 1 – 6 of 6) sorted by relevance

/trusty/user/base/interface/hwkey/include/interface/hwkey/
Dhwkey.h35 #define HWKEY_MAX_MSG_SIZE 2048 macro
/trusty/user/base/lib/hwkey/rust/src/
Dlib.rs136 let buf = &mut [0; HWKEY_MAX_MSG_SIZE as usize]; in get_keyslot_data()
186 const MAX_PAYLOAD_LEN: usize = HWKEY_MAX_MSG_SIZE as usize - HEADER_SIZE; in derive()
226 let buf = &mut [0; HWKEY_MAX_MSG_SIZE as usize]; in derive()
585 const MAX_SERIALIZED_SIZE: usize = HWKEY_MAX_MSG_SIZE as usize;
621 const MAX_SERIALIZED_SIZE: usize = HWKEY_MAX_MSG_SIZE as usize;
Dtest.rs419 const MAX_PAYLOAD_LEN: usize = HWKEY_MAX_MSG_SIZE as usize - HEADER_SIZE; in test_hwkey_derive_large_payload()
/trusty/user/app/sample/hwcrypto/
Dhwkey_srv.c75 static uint8_t req_data[HWKEY_MAX_MSG_SIZE + 1];
76 static __attribute__((aligned(4))) uint8_t key_data[HWKEY_MAX_MSG_SIZE];
371 if (key_len > HWKEY_MAX_MSG_SIZE - sizeof(*hdr)) { in hwkey_handle_derive_key_cmd()
425 if (key_len > HWKEY_MAX_MSG_SIZE - sizeof(*msg)) { in hwkey_handle_derive_versioned_key_cmd()
778 rc = port_create(HWKEY_PORT, 1, HWKEY_MAX_MSG_SIZE, in hwkey_start_service()
/trusty/user/base/lib/hwkey/
Dhwkey.c247 HWKEY_MAX_MSG_SIZE - sizeof(struct hwkey_derive_versioned_msg); in hwkey_derive_versioned()
/trusty/user/app/sample/hwcrypto-unittest/
Dmain.c772 HWKEY_MAX_MSG_SIZE - sizeof(struct hwkey_derive_versioned_msg); in TEST_F()
773 uint8_t context[HWKEY_MAX_MSG_SIZE]; in TEST_F()
774 uint8_t key[HWKEY_MAX_MSG_SIZE]; in TEST_F()