Home
last modified time | relevance | path

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

/trusty/user/app/sample/hwcrypto/keybox/
Dkeybox_fake_provider.c40 size_t wrapped_keybox_len, in keybox_unwrap() argument
44 if (wrapped_keybox_len < 1) { in keybox_unwrap()
45 TLOGE("Wrapped keybox too short: %zu\n", wrapped_keybox_len); in keybox_unwrap()
49 if (keybox_plaintext_buf_len < wrapped_keybox_len - 1) { in keybox_unwrap()
57 for (size_t i = 0; i < wrapped_keybox_len - 1; i++) { in keybox_unwrap()
61 if (checksum != wrapped_keybox[wrapped_keybox_len - 1]) { in keybox_unwrap()
67 for (size_t i = 0; i < wrapped_keybox_len - 1; i++) { in keybox_unwrap()
71 *keybox_plaintext_len = wrapped_keybox_len - 1; in keybox_unwrap()
Dsrv.c78 if (__builtin_add_overflow(req->unwrap_header.wrapped_keybox_len, in keybox_handle_unwrap()
89 req->wrapped_keybox, req->unwrap_header.wrapped_keybox_len, output, in keybox_handle_unwrap()
/trusty/user/app/cast-auth/app/test-app/
Dmain.cc210 size_t* wrapped_keybox_len) { in keybox_wrap_for_test() argument
222 *wrapped_keybox_len = keybox_plaintext_len + 1; in keybox_wrap_for_test()
270 size_t wrapped_keybox_len; in TEST_F() local
273 &wrapped_keybox_len); in TEST_F()
274 wrapped_keybox.resize(wrapped_keybox_len); in TEST_F()
/trusty/user/base/interface/keybox/include/interface/keybox/
Dkeybox.h85 uint64_t wrapped_keybox_len; member
/trusty/user/app/keymint/
Dffi_bindings.rs78 KeyboxUnwrapReqPayloadHdr { wrapped_keybox_len: wrapped_keybox.len() as u64 }; in new()
94 serializer.serialize_as_bytes(&self.unwrap_req_header.wrapped_keybox_len)?; in serialize()
/trusty/user/base/lib/keybox/client/
Dclient.c52 req.unwrap_header.wrapped_keybox_len = wrapped_keybox_size; in keybox_unwrap()