Searched refs:len (Results 1 – 6 of 6) sorted by relevance
/optee_client/tee-supplicant/src/ |
A D | sha2.c | 175 sha256_update(&ctx, message, len); in sha256() 187 ctx->len = 0; in sha256_init() 192 unsigned int len) in sha256_update() argument 200 tmp_len = SHA256_BLOCK_SIZE - ctx->len; in sha256_update() 201 rem_len = len < tmp_len ? len : tmp_len; in sha256_update() 205 if (ctx->len + len < SHA256_BLOCK_SIZE) { in sha256_update() 206 ctx->len += len; in sha256_update() 210 new_len = len - rem_len; in sha256_update() 223 ctx->len = rem_len; in sha256_update() 240 memset(ctx->block + ctx->len, 0, pm_len - ctx->len); in sha256_final() [all …]
|
A D | sha2.h | 56 unsigned int len; member 65 unsigned int len); 67 void sha256(const unsigned char *message, unsigned int len,
|
A D | tee_supp_fs.c | 285 size_t len = 0; in ree_fs_new_read() local 308 while (r && len) { in ree_fs_new_read() 315 assert((size_t)r <= len); in ree_fs_new_read() 317 len -= r; in ree_fs_new_read() 330 size_t len = 0; in ree_fs_new_write() local 350 while (len) { in ree_fs_new_write() 359 len -= r; in ree_fs_new_write() 369 size_t len = 0; in ree_fs_new_truncate() local 378 len = params[0].c; in ree_fs_new_truncate() 569 size_t len = 0; in ree_fs_new_readdir() local [all …]
|
A D | tee_socket.c | 496 static ssize_t recv_with_out_flags(int fd, void *buf, size_t len, int inflags, in recv_with_out_flags() argument 502 struct iovec iov = { .iov_base = buf, .iov_len = len, }; in recv_with_out_flags() 746 socklen_t len = sizeof(sass); in tee_socket_ioctl_udp() local 750 if (getpeername(fd, sa, &len)) in tee_socket_ioctl_udp() 755 res = sa_get_port(sa, len, &port); in tee_socket_ioctl_udp() 767 res = sa_set_port(sa, len, port); in tee_socket_ioctl_udp() 770 if (connect(fd, sa, len)) in tee_socket_ioctl_udp()
|
/optee_client/libckteec/src/ |
A D | serializer.c | 45 static CK_RV serialize(char **bstart, size_t *blen, void *data, size_t len) in serialize() argument 47 size_t nlen = *blen + len; in serialize() 53 memcpy(buf + *blen, data, len); in serialize()
|
A D | serialize_ck.c | 56 CK_ULONG len; member 343 size_t len = 0; in deserialize_ck_attributes() local 347 for (n = count; n > 0; n--, cur_attr++, curr_head += len) { in deserialize_ck_attributes() 358 len = sizeof(cli_head); in deserialize_ck_attributes() 363 len += sizeof(uint32_t); in deserialize_ck_attributes() 365 len += cur_attr->ulValueLen; in deserialize_ck_attributes()
|
Completed in 10 milliseconds