Home
last modified time | relevance | path

Searched refs:length (Results 1 – 10 of 10) sorted by relevance

/trusty/user/app/cast-auth/app/
Dcast_auth_impl.h36 int SaveKey(const uint8_t* key, size_t length);
37 int LoadKey(uint8_t* key, size_t* length);
Dcast_auth_impl.cc149 int CastAuthImpl::SaveKey(const uint8_t* key, size_t length) { in SaveKey() argument
150 if (key == NULL || !length) { in SaveKey()
167 rc = storage_write(handle, 0, key, length, STORAGE_OP_COMPLETE); in SaveKey()
176 int CastAuthImpl::LoadKey(uint8_t* key, size_t* length) { in LoadKey() argument
177 if (key == NULL || length == NULL) { in LoadKey()
201 if (*length < keysize) { in LoadKey()
206 *length = keysize; in LoadKey()
222 *length = keysize; in LoadKey()
/trusty/user/app/gatekeeper/
Dtrusty_gatekeeper.h52 uint32_t* length) const;
54 virtual void GetPasswordKey(const uint8_t** password_key, uint32_t* length);
70 const uint32_t length) const;
Dtrusty_gatekeeper.cpp124 uint32_t* length) const { in GetAuthTokenKey()
125 *length = 0; in GetAuthTokenKey()
151 *length = cached_auth_token_key_len_; in GetAuthTokenKey()
157 uint32_t* length) { in GetPasswordKey() argument
159 *length = HMAC_SHA_256_KEY_SIZE; in GetPasswordKey()
188 const uint32_t length) const { in ComputeSignature()
192 HMAC(EVP_sha256(), key, key_length, message, length, buf, &buf_len); in ComputeSignature()
/trusty/user/app/sample/rust-hello-world/
Dlib.rs44 length: u8, field
76 length: bytes[1], in deserialize()
99 serializer.serialize_as_bytes(&self.length)?; in serialize()
147 length: outputmsg.len().try_into().map_err(|e| { in on_message()
223 length: inputstring.len().try_into().unwrap(), in hello_world_test()
/trusty/kernel/lib/syscall/
DREADME31 DEF_SYSCALL(0xc0, mmap2, long, 4, addr_t addr, uint32_t length, uint32_t prot, uint32_t flags)
/trusty/user/app/keymaster/
Dtrusty_keymaster_context.h95 size_t length) const override;
Dtrusty_keymaster_context.cpp756 size_t length) const { in AddRngEntropy()
757 if (trusty_rng_add_entropy(buf, length) != 0) in AddRngEntropy()
/trusty/kernel/lib/trusty/
Dtrusty_app.c742 size_t length) { in load_app_elf_gnu_property_array() argument
746 if (!address_range_within_img(elf_start + offset, length, in load_app_elf_gnu_property_array()
752 while (length >= sizeof(ELF_GnuProp)) { in load_app_elf_gnu_property_array()
789 if (length <= gp_size) { in load_app_elf_gnu_property_array()
790 length = 0; in load_app_elf_gnu_property_array()
792 length -= gp_size; in load_app_elf_gnu_property_array()
/trusty/vendor/google/aosp/
Dpylintrc207 max-line-length=80
288 # Minimum line length for functions/classes that require docstrings, shorter
290 docstring-min-length=10