Searched refs:wrapped_keybox_len (Results 1 – 6 of 6) sorted by relevance
40 size_t wrapped_keybox_len, in keybox_unwrap() argument44 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()
78 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()
210 size_t* wrapped_keybox_len) { in keybox_wrap_for_test() argument222 *wrapped_keybox_len = keybox_plaintext_len + 1; in keybox_wrap_for_test()270 size_t wrapped_keybox_len; in TEST_F() local273 &wrapped_keybox_len); in TEST_F()274 wrapped_keybox.resize(wrapped_keybox_len); in TEST_F()
85 uint64_t wrapped_keybox_len; member
78 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()
52 req.unwrap_header.wrapped_keybox_len = wrapped_keybox_size; in keybox_unwrap()