Home
last modified time | relevance | path

Searched refs:sz (Results 1 – 2 of 2) sorted by relevance

/crypto/
Decdh_helper.c15 static inline u8 *ecdh_pack_data(void *dst, const void *src, size_t sz) in ecdh_pack_data() argument
17 memcpy(dst, src, sz); in ecdh_pack_data()
18 return dst + sz; in ecdh_pack_data()
21 static inline const u8 *ecdh_unpack_data(void *dst, const void *src, size_t sz) in ecdh_unpack_data() argument
23 memcpy(dst, src, sz); in ecdh_unpack_data()
24 return src + sz; in ecdh_unpack_data()
/crypto/asymmetric_keys/
Dasym_tpm.c818 uint32_t sz; in extract_key_parameters() local
847 sz = get_unaligned_be32(cur + 8); in extract_key_parameters()
848 if (len < sz + 12) in extract_key_parameters()
869 cur += sz; in extract_key_parameters()
870 len -= sz; in extract_key_parameters()
875 sz = get_unaligned_be32(cur); in extract_key_parameters()
876 if (len < 4 + sz) in extract_key_parameters()
880 cur += 4 + sz; in extract_key_parameters()
881 len -= 4 + sz; in extract_key_parameters()
884 sz = get_unaligned_be32(cur); in extract_key_parameters()
[all …]