{"action":"created","comment":{"url":"https://api.github.com/repos/OP-TEE/optee_test/pulls/comments/79125412","id":79125412,"diff_hunk":"@@ -0,0 +1,474 @@\n+/*\n+ * Copyright (c) 2015, Linaro Limited\n+ * All rights reserved.\n+ *\n+ * Redistribution and use in source and binary forms, with or without\n+ * modification, are permitted provided that the following conditions are met:\n+ *\n+ * 1. Redistributions of source code must retain the above copyright notice,\n+ * this list of conditions and the following disclaimer.\n+ *\n+ * 2. Redistributions in binary form must reproduce the above copyright notice,\n+ * this list of conditions and the following disclaimer in the documentation\n+ * and/or other materials provided with the distribution.\n+ *\n+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n+ * POSSIBILITY OF SUCH DAMAGE.\n+ */\n+\n+#include <sys/types.h>\n+#include <sys/stat.h>\n+#include <fcntl.h>\n+#include <math.h>\n+#include <stdint.h>\n+#include <stdio.h>\n+#include <stdlib.h>\n+#include <string.h>\n+#include <strings.h>\n+#include <time.h>\n+#include <unistd.h>\n+\n+#include <tee_client_api.h>\n+#include \"ta_aes_perf.h\"\n+#include \"aes_perf.h\"\n+\n+#define _verbose(lvl, ...)\t\t\t\\","path":"host/xtest/aes_perf.c","position":44,"original_position":44,"commit_id":"b66ce2f53c26beee1eafd1e5a26f61cb38217345","original_commit_id":"fe40244946817236a1f29e6037923d1ce73b715c","user":{"login":"jbech-linaro","id":6168937,"avatar_url":"https://avatars.githubusercontent.com/u/6168937?v=3","gravatar_id":"","url":"https://api.github.com/users/jbech-linaro","html_url":"https://github.com/jbech-linaro","followers_url":"https://api.github.com/users/jbech-linaro/followers","following_url":"https://api.github.com/users/jbech-linaro/following{/other_user}","gists_url":"https://api.github.com/users/jbech-linaro/gists{/gist_id}","starred_url":"https://api.github.com/users/jbech-linaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbech-linaro/subscriptions","organizations_url":"https://api.github.com/users/jbech-linaro/orgs","repos_url":"https://api.github.com/users/jbech-linaro/repos","events_url":"https://api.github.com/users/jbech-linaro/events{/privacy}","received_events_url":"https://api.github.com/users/jbech-linaro/received_events","type":"User","site_admin":false},"body":"This is also in sha_perf.c, could we move things common to both to a single file?","created_at":"2016-09-16T08:25:29Z","updated_at":"2016-09-16T08:48:52Z","html_url":"https://github.com/OP-TEE/optee_test/pull/129#discussion_r79125412","pull_request_url":"https://api.github.com/repos/OP-TEE/optee_test/pulls/129","_links":{"self":{"href":"https://api.github.com/repos/OP-TEE/optee_test/pulls/comments/79125412"},"html":{"href":"https://github.com/OP-TEE/optee_test/pull/129#discussion_r79125412"},"pull_request":{"href":"https://api.github.com/repos/OP-TEE/optee_test/pulls/129"}}},"pull_request":{"url":"https://api.github.com/repos/OP-TEE/optee_test/pulls/129","id":85528736,"html_url":"https://github.com/OP-TEE/optee_test/pull/129","diff_url":"https://github.com/OP-TEE/optee_test/pull/129.diff","patch_url":"https://github.com/OP-TEE/optee_test/pull/129.patch","issue_url":"https://api.github.com/repos/OP-TEE/optee_test/issues/129","number":129,"state":"open","locked":false,"title":"Inclusion of aes-perf benchmark tool into xtest (SWG-185)","user":{"login":"igoropaniuk","id":22025908,"avatar_url":"https://avatars.githubusercontent.com/u/22025908?v=3","gravatar_id":"","url":"https://api.github.com/users/igoropaniuk","html_url":"https://github.com/igoropaniuk","followers_url":"https://api.github.com/users/igoropaniuk/followers","following_url":"https://api.github.com/users/igoropaniuk/following{/other_user}","gists_url":"https://api.github.com/users/igoropaniuk/gists{/gist_id}","starred_url":"https://api.github.com/users/igoropaniuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igoropaniuk/subscriptions","organizations_url":"https://api.github.com/users/igoropaniuk/orgs","repos_url":"https://api.github.com/users/igoropaniuk/repos","events_url":"https://api.github.com/users/igoropaniuk/events{/privacy}","received_events_url":"https://api.github.com/users/igoropaniuk/received_events","type":"User","site_admin":false},"body":"1. The way of invoking aes-perf tool is just the same as sha-perf \r\n$ xtest --aes-perf\r\n2. Fixed issues with only-whitespace-lines and >80character-lines\r\n3. Added two examples of test cases for aes-perf","created_at":"2016-09-16T07:20:38Z","updated_at":"2016-09-16T08:48:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d12a1ac2219a87be6f9e3b653066f137db50dc11","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/OP-TEE/optee_test/pulls/129/commits","review_comments_url":"https://api.github.com/repos/OP-TEE/optee_test/pulls/129/comments","review_comment_url":"https://api.github.com/repos/OP-TEE/optee_test/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OP-TEE/optee_test/issues/129/comments","statuses_url":"https://api.github.com/repos/OP-TEE/optee_test/statuses/b66ce2f53c26beee1eafd1e5a26f61cb38217345","head":{"label":"igoropaniuk:aesperfinc","ref":"aesperfinc","sha":"b66ce2f53c26beee1eafd1e5a26f61cb38217345","user":{"login":"igoropaniuk","id":22025908,"avatar_url":"https://avatars.githubusercontent.com/u/22025908?v=3","gravatar_id":"","url":"https://api.github.com/users/igoropaniuk","html_url":"https://github.com/igoropaniuk","followers_url":"https://api.github.com/users/igoropaniuk/followers","following_url":"https://api.github.com/users/igoropaniuk/following{/other_user}","gists_url":"https://api.github.com/users/igoropaniuk/gists{/gist_id}","starred_url":"https://api.github.com/users/igoropaniuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igoropaniuk/subscriptions","organizations_url":"https://api.github.com/users/igoropaniuk/orgs","repos_url":"https://api.github.com/users/igoropaniuk/repos","events_url":"https://api.github.com/users/igoropaniuk/events{/privacy}","received_events_url":"https://api.github.com/users/igoropaniuk/received_events","type":"User","site_admin":false},"repo":{"id":67713434,"name":"optee_test","full_name":"igoropaniuk/optee_test","owner":{"login":"igoropaniuk","id":22025908,"avatar_url":"https://avatars.githubusercontent.com/u/22025908?v=3","gravatar_id":"","url":"https://api.github.com/users/igoropaniuk","html_url":"https://github.com/igoropaniuk","followers_url":"https://api.github.com/users/igoropaniuk/followers","following_url":"https://api.github.com/users/igoropaniuk/following{/other_user}","gists_url":"https://api.github.com/users/igoropaniuk/gists{/gist_id}","starred_url":"https://api.github.com/users/igoropaniuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igoropaniuk/subscriptions","organizations_url":"https://api.github.com/users/igoropaniuk/orgs","repos_url":"https://api.github.com/users/igoropaniuk/repos","events_url":"https://api.github.com/users/igoropaniuk/events{/privacy}","received_events_url":"https://api.github.com/users/igoropaniuk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/igoropaniuk/optee_test","description":"Test suite","fork":true,"url":"https://api.github.com/repos/igoropaniuk/optee_test","forks_url":"https://api.github.com/repos/igoropaniuk/optee_test/forks","keys_url":"https://api.github.com/repos/igoropaniuk/optee_test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/igoropaniuk/optee_test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/igoropaniuk/optee_test/teams","hooks_url":"https://api.github.com/repos/igoropaniuk/optee_test/hooks","issue_events_url":"https://api.github.com/repos/igoropaniuk/optee_test/issues/events{/number}","events_url":"https://api.github.com/repos/igoropaniuk/optee_test/events","assignees_url":"https://api.github.com/repos/igoropaniuk/optee_test/assignees{/user}","branches_url":"https://api.github.com/repos/igoropaniuk/optee_test/branches{/branch}","tags_url":"https://api.github.com/repos/igoropaniuk/optee_test/tags","blobs_url":"https://api.github.com/repos/igoropaniuk/optee_test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/igoropaniuk/optee_test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/igoropaniuk/optee_test/git/refs{/sha}","trees_url":"https://api.github.com/repos/igoropaniuk/optee_test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/igoropaniuk/optee_test/statuses/{sha}","languages_url":"https://api.github.com/repos/igoropaniuk/optee_test/languages","stargazers_url":"https://api.github.com/repos/igoropaniuk/optee_test/stargazers","contributors_url":"https://api.github.com/repos/igoropaniuk/optee_test/contributors","subscribers_url":"https://api.github.com/repos/igoropaniuk/optee_test/subscribers","subscription_url":"https://api.github.com/repos/igoropaniuk/optee_test/subscription","commits_url":"https://api.github.com/repos/igoropaniuk/optee_test/commits{/sha}","git_commits_url":"https://api.github.com/repos/igoropaniuk/optee_test/git/commits{/sha}","comments_url":"https://api.github.com/repos/igoropaniuk/optee_test/comments{/number}","issue_comment_url":"https://api.github.com/repos/igoropaniuk/optee_test/issues/comments{/number}","contents_url":"https://api.github.com/repos/igoropaniuk/optee_test/contents/{+path}","compare_url":"https://api.github.com/repos/igoropaniuk/optee_test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/igoropaniuk/optee_test/merges","archive_url":"https://api.github.com/repos/igoropaniuk/optee_test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/igoropaniuk/optee_test/downloads","issues_url":"https://api.github.com/repos/igoropaniuk/optee_test/issues{/number}","pulls_url":"https://api.github.com/repos/igoropaniuk/optee_test/pulls{/number}","milestones_url":"https://api.github.com/repos/igoropaniuk/optee_test/milestones{/number}","notifications_url":"https://api.github.com/repos/igoropaniuk/optee_test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/igoropaniuk/optee_test/labels{/name}","releases_url":"https://api.github.com/repos/igoropaniuk/optee_test/releases{/id}","deployments_url":"https://api.github.com/repos/igoropaniuk/optee_test/deployments","created_at":"2016-09-08T15:03:05Z","updated_at":"2016-09-08T15:03:07Z","pushed_at":"2016-09-16T08:43:09Z","git_url":"git://github.com/igoropaniuk/optee_test.git","ssh_url":"git@github.com:igoropaniuk/optee_test.git","clone_url":"https://github.com/igoropaniuk/optee_test.git","svn_url":"https://github.com/igoropaniuk/optee_test","homepage":null,"size":3193,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OP-TEE:master","ref":"master","sha":"efd71d33825f5642910742f49dfa999f23e552f6","user":{"login":"OP-TEE","id":7488961,"avatar_url":"https://avatars.githubusercontent.com/u/7488961?v=3","gravatar_id":"","url":"https://api.github.com/users/OP-TEE","html_url":"https://github.com/OP-TEE","followers_url":"https://api.github.com/users/OP-TEE/followers","following_url":"https://api.github.com/users/OP-TEE/following{/other_user}","gists_url":"https://api.github.com/users/OP-TEE/gists{/gist_id}","starred_url":"https://api.github.com/users/OP-TEE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OP-TEE/subscriptions","organizations_url":"https://api.github.com/users/OP-TEE/orgs","repos_url":"https://api.github.com/users/OP-TEE/repos","events_url":"https://api.github.com/users/OP-TEE/events{/privacy}","received_events_url":"https://api.github.com/users/OP-TEE/received_events","type":"Organization","site_admin":false},"repo":{"id":38317938,"name":"optee_test","full_name":"OP-TEE/optee_test","owner":{"login":"OP-TEE","id":7488961,"avatar_url":"https://avatars.githubusercontent.com/u/7488961?v=3","gravatar_id":"","url":"https://api.github.com/users/OP-TEE","html_url":"https://github.com/OP-TEE","followers_url":"https://api.github.com/users/OP-TEE/followers","following_url":"https://api.github.com/users/OP-TEE/following{/other_user}","gists_url":"https://api.github.com/users/OP-TEE/gists{/gist_id}","starred_url":"https://api.github.com/users/OP-TEE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OP-TEE/subscriptions","organizations_url":"https://api.github.com/users/OP-TEE/orgs","repos_url":"https://api.github.com/users/OP-TEE/repos","events_url":"https://api.github.com/users/OP-TEE/events{/privacy}","received_events_url":"https://api.github.com/users/OP-TEE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OP-TEE/optee_test","description":"Test suite","fork":false,"url":"https://api.github.com/repos/OP-TEE/optee_test","forks_url":"https://api.github.com/repos/OP-TEE/optee_test/forks","keys_url":"https://api.github.com/repos/OP-TEE/optee_test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OP-TEE/optee_test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OP-TEE/optee_test/teams","hooks_url":"https://api.github.com/repos/OP-TEE/optee_test/hooks","issue_events_url":"https://api.github.com/repos/OP-TEE/optee_test/issues/events{/number}","events_url":"https://api.github.com/repos/OP-TEE/optee_test/events","assignees_url":"https://api.github.com/repos/OP-TEE/optee_test/assignees{/user}","branches_url":"https://api.github.com/repos/OP-TEE/optee_test/branches{/branch}","tags_url":"https://api.github.com/repos/OP-TEE/optee_test/tags","blobs_url":"https://api.github.com/repos/OP-TEE/optee_test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OP-TEE/optee_test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OP-TEE/optee_test/git/refs{/sha}","trees_url":"https://api.github.com/repos/OP-TEE/optee_test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OP-TEE/optee_test/statuses/{sha}","languages_url":"https://api.github.com/repos/OP-TEE/optee_test/languages","stargazers_url":"https://api.github.com/repos/OP-TEE/optee_test/stargazers","contributors_url":"https://api.github.com/repos/OP-TEE/optee_test/contributors","subscribers_url":"https://api.github.com/repos/OP-TEE/optee_test/subscribers","subscription_url":"https://api.github.com/repos/OP-TEE/optee_test/subscription","commits_url":"https://api.github.com/repos/OP-TEE/optee_test/commits{/sha}","git_commits_url":"https://api.github.com/repos/OP-TEE/optee_test/git/commits{/sha}","comments_url":"https://api.github.com/repos/OP-TEE/optee_test/comments{/number}","issue_comment_url":"https://api.github.com/repos/OP-TEE/optee_test/issues/comments{/number}","contents_url":"https://api.github.com/repos/OP-TEE/optee_test/contents/{+path}","compare_url":"https://api.github.com/repos/OP-TEE/optee_test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OP-TEE/optee_test/merges","archive_url":"https://api.github.com/repos/OP-TEE/optee_test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OP-TEE/optee_test/downloads","issues_url":"https://api.github.com/repos/OP-TEE/optee_test/issues{/number}","pulls_url":"https://api.github.com/repos/OP-TEE/optee_test/pulls{/number}","milestones_url":"https://api.github.com/repos/OP-TEE/optee_test/milestones{/number}","notifications_url":"https://api.github.com/repos/OP-TEE/optee_test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OP-TEE/optee_test/labels{/name}","releases_url":"https://api.github.com/repos/OP-TEE/optee_test/releases{/id}","deployments_url":"https://api.github.com/repos/OP-TEE/optee_test/deployments","created_at":"2015-06-30T15:40:48Z","updated_at":"2016-08-05T22:05:16Z","pushed_at":"2016-09-16T08:43:09Z","git_url":"git://github.com/OP-TEE/optee_test.git","ssh_url":"git@github.com:OP-TEE/optee_test.git","clone_url":"https://github.com/OP-TEE/optee_test.git","svn_url":"https://github.com/OP-TEE/optee_test","homepage":null,"size":3275,"stargazers_count":17,"watchers_count":17,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":6,"forks":32,"open_issues":6,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OP-TEE/optee_test/pulls/129"},"html":{"href":"https://github.com/OP-TEE/optee_test/pull/129"},"issue":{"href":"https://api.github.com/repos/OP-TEE/optee_test/issues/129"},"comments":{"href":"https://api.github.com/repos/OP-TEE/optee_test/issues/129/comments"},"review_comments":{"href":"https://api.github.com/repos/OP-TEE/optee_test/pulls/129/comments"},"review_comment":{"href":"https://api.github.com/repos/OP-TEE/optee_test/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OP-TEE/optee_test/pulls/129/commits"},"statuses":{"href":"https://api.github.com/repos/OP-TEE/optee_test/statuses/b66ce2f53c26beee1eafd1e5a26f61cb38217345"}}}}
{"actor":{"display_login":"jbech-linaro"}}