{"action":"created","comment":{"url":"https://api.github.com/repos/wolfSSL/wolfssl/pulls/comments/244245333","pull_request_review_id":188199442,"id":244245333,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDI0NTMzMw==","diff_hunk":"@@ -0,0 +1,437 @@\n+/* esp32_sha.c\n+ *\n+ * Copyright (C) 2006-2018 wolfSSL Inc.\n+ *\n+ * This file is part of wolfSSL.\n+ *\n+ * wolfSSL is free software; you can redistribute it and/or modify\n+ * it under the terms of the GNU General Public License as published by\n+ * the Free Software Foundation; either version 2 of the License, or\n+ * (at your option) any later version.\n+ *\n+ * wolfSSL is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+ * GNU General Public License for more details.\n+ *\n+ * You should have received a copy of the GNU General Public License\n+ * along with this program; if not, write to the Free Software\n+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA\n+ */\n+#include <string.h>\n+#include <stdio.h>\n+\n+#ifdef HAVE_CONFIG_H\n+    #include <config.h>\n+#endif\n+#include <wolfssl/wolfcrypt/settings.h>\n+\n+#if !defined(NO_SHA) || !defined(NO_SHA256) || defined(WC_SHA384) || \\\n+     defined(WC_SHA512)\n+\n+#include \"wolfssl/wolfcrypt/logging.h\"\n+\n+\n+#if defined(WOLFSSL_ESP32WROOM32_CRYPT) && \\\n+   !defined(NO_WOLFSSL_ESP32WROOM32_CRYPT_HASH)\n+\n+#include <wolfssl/wolfcrypt/sha.h>\n+#include <wolfssl/wolfcrypt/sha256.h>\n+#include <wolfssl/wolfcrypt/sha512.h>\n+\n+#include \"wolfssl/wolfcrypt/port/Espressif/esp32-crypt.h\"\n+#include \"wolfssl/wolfcrypt/error-crypt.h\"\n+\n+#ifdef NO_INLINE\n+    #include <wolfssl/wolfcrypt/misc.h>\n+#else\n+    #define WOLFSSL_MISC_INCLUDED\n+    #include <wolfcrypt/src/misc.c>\n+#endif\n+\n+static const char* TAG = \"wolf_hw_sha\";\n+\n+/* mutex */\n+#if defined(SINGLE_THREADED)\n+static int InUse = 0;\n+#else\n+static wolfSSL_Mutex sha_mutex;\n+static int espsha_CryptHwMutexInit = 0;\n+#endif\n+/*\n+    enum SHA_TYPE {\n+        SHA1 = 0,\n+        SHA2_256,\n+        SHA2_384,\n+        SHA2_512,\n+        SHA_INVALID = -1,\n+    };\n+*/\n+static word32 esp_sha_digest_size(enum SHA_TYPE type)\n+{\n+    ESP_LOGV(TAG, \"enter esp_sha_digest_size\");\n+\n+    switch(type){\n+#ifndef NO_SHA\n+        case SHA1:\n+            return WC_SHA_DIGEST_SIZE;\n+#endif\n+#ifndef NO_SHA256\n+        case SHA2_256:\n+            return WC_SHA256_DIGEST_SIZE;\n+#endif\n+#ifdef WOLFSSL_SHA384\n+        case SHA2_384:\n+            return WC_SHA384_DIGEST_SIZE;\n+#endif\n+#ifdef WOLFSSL_SHA512\n+        case SHA2_512:\n+            return WC_SHA512_DIGEST_SIZE;\n+#endif\n+#ifndef NO_SHA\n+        default:return WC_SHA_DIGEST_SIZE;\n+#elif !defined(NO_SHA256)\n+        default:return WC_SHA256_DIGEST_SIZE;\n+#elif defined(WOLFSSL_SHA384)\n+        default:return WC_SHA384_DIGEST_SIZE;\n+#elif defined(WOLFSSL_SHA512)\n+        default:return WC_SHA512_DIGEST_SIZE;\n+#else\n+        default:return 20;/* WC_SHA_DIGEST_SIZE */\n+#endif\n+    }\n+    ESP_LOGV(TAG, \"leave esp_sha_digest_size\");\n+}\n+/*\n+* wait until engines becomes idle\n+*/\n+void esp_wait_until_idle()\n+{\n+    while((DPORT_REG_READ(SHA_1_BUSY_REG)  !=0) ||\n+          (DPORT_REG_READ(SHA_256_BUSY_REG)!=0) ||\n+          (DPORT_REG_READ(SHA_384_BUSY_REG)!=0) ||\n+          (DPORT_REG_READ(SHA_512_BUSY_REG)!=0)){ }\n+}\n+/*\n+* lock hw engine.\n+* this should be called before using engine.\n+*/\n+int esp_sha_try_hw_lock(WC_ESP32SHA* ctx)\n+{\n+    int ret = 0;\n+\n+    ESP_LOGV(TAG, \"enter esp_sha_hw_lock\");\n+    \n+    /* Init mutex */\n+#if defined(SINGLE_THREADED)\n+    if(ctx->mode == ESP32_SHA_INIT) {\n+        if(!InUse) {\n+            ctx->mode = ESP32_SHA_HW;\n+            InUse = 1;\n+        } else {\n+            ctx->mode = ESP32_SHA_SW;\n+        }\n+    } else {\n+         /* this should not happens */\n+        ESP_LOGE(TAG, \"unexpected error in esp_sha_try_hw_lock.\");\n+        return -1;\n+    }\n+#else\n+    if(espsha_CryptHwMutexInit == 0){\n+        ret = esp_CryptHwMutexInit(&sha_mutex);\n+        if(ret == 0) {\n+            espsha_CryptHwMutexInit = 1;\n+        } else {\n+            ESP_LOGE(TAG, \" mutex initialization failed.\");\n+            ctx->mode = ESP32_SHA_SW;\n+            return 0;\n+        }\n+    }\n+    /* check if this sha has been operated as sw or hw, or not yet init */\n+    if(ctx->mode == ESP32_SHA_INIT){\n+        /* try to lock the hw engine */\n+        if(esp_CryptHwMutexLock(&sha_mutex, (TickType_t)0) == 0) {\n+            ctx->mode = ESP32_SHA_HW;\n+        } else {\n+            ESP_LOGI(TAG, \"someone used. hw is locked.....\");\n+            ESP_LOGI(TAG, \"the rest of operaion will use sw implementation for this sha\");\n+            ctx->mode = ESP32_SHA_SW;\n+            return 0;\n+        }\n+    } else {\n+        /* this should not happens */\n+        ESP_LOGE(TAG, \"unexpected error in esp_sha_try_hw_lock.\");\n+        return -1;\n+    }\n+#endif\n+   /* Enable SHA hardware */\n+    periph_module_enable(PERIPH_SHA_MODULE);\n+\n+    ESP_LOGV(TAG, \"leave esp_sha_hw_lock\");\n+    return ret;\n+}\n+/*\n+* release hw engine\n+*/\n+void esp_sha_hw_Release( void )\n+{\n+    ESP_LOGV(TAG, \"enter esp_sha_hw_Release\");\n+\n+    /* Disable AES hardware */\n+    periph_module_disable(PERIPH_SHA_MODULE);\n+#if defined(SINGLE_THREADED)\n+    InUse = 0;\n+#else\n+    /* unlock hw engine for next use */\n+    esp_CryptHwMutexUnLock(&sha_mutex);\n+#endif\n+    ESP_LOGV(TAG, \"leave esp_sha_hw_Release\");\n+}\n+/*\n+* start sha process by using hw engine\n+*/\n+void esp_sha_start_process(WC_ESP32SHA* sha, word32 address)\n+{\n+    ESP_LOGV(TAG, \"enter esp_sha_start_process\");\n+\n+    if(sha->isfirstblock){\n+        /* start first message block */\n+        DPORT_REG_WRITE(address, 1);\n+        sha->isfirstblock = 0;\n+    } else {\n+        /* CONTINU_REG */\n+        DPORT_REG_WRITE(address + 0x04, 1);\n+   }\n+\n+   ESP_LOGV(TAG, \"leave esp_sha_start_process\");\n+}\n+/*\n+* process message block\n+*/\n+void esp_process_block(WC_ESP32SHA* ctx,  word32 address,\n+                                         const word32* data, word32 len)\n+{\n+    ESP_LOGV(TAG, \"enter esp_process_block\");\n+\n+    int i;\n+\n+    /* check if there are any busy engine */\n+    esp_wait_until_idle();\n+    /* load message data into hw */\n+    for(i=0;i<((len)/(sizeof(word32)));++i){\n+        DPORT_REG_WRITE(SHA_TEXT_BASE+(i*4),*(data+i));\n+    }\n+    /* notify hw to start process */\n+    esp_sha_start_process(ctx, address);\n+\n+    ESP_LOGV(TAG, \"leave esp_process_block\");\n+}\n+/*\n+* retreive sha digest from memory\n+*/\n+void esp_digest_state(WC_ESP32SHA* ctx, byte* hash, enum SHA_TYPE sha_type)\n+{\n+    /* registers */\n+    word32 SHA_LOAD_REG = SHA_1_LOAD_REG;\n+    word32 SHA_BUSY_REG = SHA_1_BUSY_REG;\n+\n+    ESP_LOGV(TAG, \"enter esp_digest_state\");\n+\n+    /* sanity check */\n+    if(sha_type == SHA_INVALID) {\n+        ESP_LOGE(TAG, \"unexpected error. sha_type is invalid.\");\n+        return;\n+    }\n+    \n+    SHA_LOAD_REG += (sha_type << 4);\n+    SHA_BUSY_REG += (sha_type << 4);\n+\n+    if(ctx->isfirstblock == 1){\n+        /* no hardware use yet. Nothing to do yet */\n+        return ;\n+    }\n+\n+    {\n+        /* wait until idle */\n+        esp_wait_until_idle();\n+\n+        /* LOAD final digest */\n+        DPORT_REG_WRITE(SHA_LOAD_REG, 1);\n+        /* wait until done */\n+        while(DPORT_REG_READ(SHA_BUSY_REG) == 1){ }\n+\n+        esp_dport_access_read_buffer((word32*)(hash), SHA_TEXT_BASE,\n+                                 esp_sha_digest_size(sha_type)/sizeof(word32));\n+\n+#if defined(WOLFSSL_SHA512) || defined(WOLFSSL_SHA384)\n+        if(sha_type==SHA2_384||sha_type==SHA2_512) {\n+            word32  i;\n+            word32* pwrd1 = (word32*)(hash);\n+            /* swap value */\n+            for(i = 0; i <WC_SHA512_DIGEST_SIZE/4; i+=2 ) {\n+                pwrd1[i]  ^= pwrd1[i+1];\n+                pwrd1[i+1]^= pwrd1[i];\n+                pwrd1[i]  ^= pwrd1[i+1];\n+            }\n+        }\n+#endif\n+    }\n+\n+    ESP_LOGV(TAG, \"leave esp_digest_state\");\n+}\n+\n+#ifndef NO_SHA\n+/*\n+* sha1 process\n+*/\n+int esp_sha_process(struct wc_Sha* sha)\n+{\n+    int ret = 0;\n+\n+    ESP_LOGV(TAG, \"enter esp_sha_process\");\n+    \n+    word32 SHA_START_REG = SHA_1_START_REG;\n+    \n+    esp_process_block(&sha->ctx, SHA_START_REG, sha->buffer,\n+                                        WC_SHA_BLOCK_SIZE);\n+\n+    ESP_LOGV(TAG, \"leave esp_sha_process\");\n+    return ret;\n+}\n+/*\n+* retrieve sha1 digest\n+*/\n+int esp_sha_digest_process(struct wc_Sha* sha, byte blockproc)\n+{\n+    int ret = 0;\n+    \n+    ESP_LOGV(TAG, \"enter esp_sha_digest_process\");\n+\n+    if(blockproc) {\n+        word32 SHA_START_REG = SHA_1_START_REG;\n+\n+        esp_process_block(&sha->ctx, SHA_START_REG, sha->buffer,\n+                                            WC_SHA_BLOCK_SIZE);\n+    }\n+\n+    esp_digest_state(&sha->ctx, (byte*)sha->digest, SHA1);\n+\n+    ESP_LOGV(TAG, \"leave esp_sha_digest_process\");\n+\n+    return ret;\n+}\n+#endif /* NO_SHA */\n+\n+\n+#ifndef NO_WOLFSSL_SHA256","path":"wolfcrypt/src/port/Espressif/esp32_sha.c","position":326,"original_position":326,"commit_id":"a1383d1fd2a183e8e4ab652ac309eeb477d7541f","original_commit_id":"a1383d1fd2a183e8e4ab652ac309eeb477d7541f","user":{"login":"miyazakh","id":29424455,"node_id":"MDQ6VXNlcjI5NDI0NDU1","avatar_url":"https://avatars0.githubusercontent.com/u/29424455?v=4","gravatar_id":"","url":"https://api.github.com/users/miyazakh","html_url":"https://github.com/miyazakh","followers_url":"https://api.github.com/users/miyazakh/followers","following_url":"https://api.github.com/users/miyazakh/following{/other_user}","gists_url":"https://api.github.com/users/miyazakh/gists{/gist_id}","starred_url":"https://api.github.com/users/miyazakh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miyazakh/subscriptions","organizations_url":"https://api.github.com/users/miyazakh/orgs","repos_url":"https://api.github.com/users/miyazakh/repos","events_url":"https://api.github.com/users/miyazakh/events{/privacy}","received_events_url":"https://api.github.com/users/miyazakh/received_events","type":"User","site_admin":false},"body":"Changed it to NO_SHA256. ","created_at":"2018-12-28T00:39:03Z","updated_at":"2018-12-28T00:39:04Z","html_url":"https://github.com/wolfSSL/wolfssl/pull/1984#discussion_r244245333","pull_request_url":"https://api.github.com/repos/wolfSSL/wolfssl/pulls/1984","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/wolfSSL/wolfssl/pulls/comments/244245333"},"html":{"href":"https://github.com/wolfSSL/wolfssl/pull/1984#discussion_r244245333"},"pull_request":{"href":"https://api.github.com/repos/wolfSSL/wolfssl/pulls/1984"}},"in_reply_to_id":244183438},"pull_request":{"url":"https://api.github.com/repos/wolfSSL/wolfssl/pulls/1984","id":239033551,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5MDMzNTUx","html_url":"https://github.com/wolfSSL/wolfssl/pull/1984","diff_url":"https://github.com/wolfSSL/wolfssl/pull/1984.diff","patch_url":"https://github.com/wolfSSL/wolfssl/pull/1984.patch","issue_url":"https://api.github.com/repos/wolfSSL/wolfssl/issues/1984","number":1984,"state":"open","locked":false,"title":"Support AES and SHA hw acceleration on esp32-wroom-32","user":{"login":"miyazakh","id":29424455,"node_id":"MDQ6VXNlcjI5NDI0NDU1","avatar_url":"https://avatars0.githubusercontent.com/u/29424455?v=4","gravatar_id":"","url":"https://api.github.com/users/miyazakh","html_url":"https://github.com/miyazakh","followers_url":"https://api.github.com/users/miyazakh/followers","following_url":"https://api.github.com/users/miyazakh/following{/other_user}","gists_url":"https://api.github.com/users/miyazakh/gists{/gist_id}","starred_url":"https://api.github.com/users/miyazakh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miyazakh/subscriptions","organizations_url":"https://api.github.com/users/miyazakh/orgs","repos_url":"https://api.github.com/users/miyazakh/repos","events_url":"https://api.github.com/users/miyazakh/events{/privacy}","received_events_url":"https://api.github.com/users/miyazakh/received_events","type":"User","site_admin":false},"body":"AES and SHA hw acceleration support on esp32-wroom-32","created_at":"2018-12-17T05:50:21Z","updated_at":"2018-12-28T00:39:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5a94bd8eb4412d75f5c4dc2ec20501d3c9709621","assignee":{"login":"miyazakh","id":29424455,"node_id":"MDQ6VXNlcjI5NDI0NDU1","avatar_url":"https://avatars0.githubusercontent.com/u/29424455?v=4","gravatar_id":"","url":"https://api.github.com/users/miyazakh","html_url":"https://github.com/miyazakh","followers_url":"https://api.github.com/users/miyazakh/followers","following_url":"https://api.github.com/users/miyazakh/following{/other_user}","gists_url":"https://api.github.com/users/miyazakh/gists{/gist_id}","starred_url":"https://api.github.com/users/miyazakh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miyazakh/subscriptions","organizations_url":"https://api.github.com/users/miyazakh/orgs","repos_url":"https://api.github.com/users/miyazakh/repos","events_url":"https://api.github.com/users/miyazakh/events{/privacy}","received_events_url":"https://api.github.com/users/miyazakh/received_events","type":"User","site_admin":false},"assignees":[{"login":"miyazakh","id":29424455,"node_id":"MDQ6VXNlcjI5NDI0NDU1","avatar_url":"https://avatars0.githubusercontent.com/u/29424455?v=4","gravatar_id":"","url":"https://api.github.com/users/miyazakh","html_url":"https://github.com/miyazakh","followers_url":"https://api.github.com/users/miyazakh/followers","following_url":"https://api.github.com/users/miyazakh/following{/other_user}","gists_url":"https://api.github.com/users/miyazakh/gists{/gist_id}","starred_url":"https://api.github.com/users/miyazakh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miyazakh/subscriptions","organizations_url":"https://api.github.com/users/miyazakh/orgs","repos_url":"https://api.github.com/users/miyazakh/repos","events_url":"https://api.github.com/users/miyazakh/events{/privacy}","received_events_url":"https://api.github.com/users/miyazakh/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wolfSSL/wolfssl/pulls/1984/commits","review_comments_url":"https://api.github.com/repos/wolfSSL/wolfssl/pulls/1984/comments","review_comment_url":"https://api.github.com/repos/wolfSSL/wolfssl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wolfSSL/wolfssl/issues/1984/comments","statuses_url":"https://api.github.com/repos/wolfSSL/wolfssl/statuses/a1383d1fd2a183e8e4ab652ac309eeb477d7541f","head":{"label":"miyazakh:Espressif_port_Phase2A","ref":"Espressif_port_Phase2A","sha":"a1383d1fd2a183e8e4ab652ac309eeb477d7541f","user":{"login":"miyazakh","id":29424455,"node_id":"MDQ6VXNlcjI5NDI0NDU1","avatar_url":"https://avatars0.githubusercontent.com/u/29424455?v=4","gravatar_id":"","url":"https://api.github.com/users/miyazakh","html_url":"https://github.com/miyazakh","followers_url":"https://api.github.com/users/miyazakh/followers","following_url":"https://api.github.com/users/miyazakh/following{/other_user}","gists_url":"https://api.github.com/users/miyazakh/gists{/gist_id}","starred_url":"https://api.github.com/users/miyazakh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miyazakh/subscriptions","organizations_url":"https://api.github.com/users/miyazakh/orgs","repos_url":"https://api.github.com/users/miyazakh/repos","events_url":"https://api.github.com/users/miyazakh/events{/privacy}","received_events_url":"https://api.github.com/users/miyazakh/received_events","type":"User","site_admin":false},"repo":{"id":153867372,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM4NjczNzI=","name":"wolfssl","full_name":"miyazakh/wolfssl","private":false,"owner":{"login":"miyazakh","id":29424455,"node_id":"MDQ6VXNlcjI5NDI0NDU1","avatar_url":"https://avatars0.githubusercontent.com/u/29424455?v=4","gravatar_id":"","url":"https://api.github.com/users/miyazakh","html_url":"https://github.com/miyazakh","followers_url":"https://api.github.com/users/miyazakh/followers","following_url":"https://api.github.com/users/miyazakh/following{/other_user}","gists_url":"https://api.github.com/users/miyazakh/gists{/gist_id}","starred_url":"https://api.github.com/users/miyazakh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miyazakh/subscriptions","organizations_url":"https://api.github.com/users/miyazakh/orgs","repos_url":"https://api.github.com/users/miyazakh/repos","events_url":"https://api.github.com/users/miyazakh/events{/privacy}","received_events_url":"https://api.github.com/users/miyazakh/received_events","type":"User","site_admin":false},"html_url":"https://github.com/miyazakh/wolfssl","description":"wolfSSL (formerly CyaSSL) is a small, fast, portable implementation of TLS/SSL for embedded devices to the cloud.  wolfSSL supports up to TLS 1.3!","fork":true,"url":"https://api.github.com/repos/miyazakh/wolfssl","forks_url":"https://api.github.com/repos/miyazakh/wolfssl/forks","keys_url":"https://api.github.com/repos/miyazakh/wolfssl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/miyazakh/wolfssl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/miyazakh/wolfssl/teams","hooks_url":"https://api.github.com/repos/miyazakh/wolfssl/hooks","issue_events_url":"https://api.github.com/repos/miyazakh/wolfssl/issues/events{/number}","events_url":"https://api.github.com/repos/miyazakh/wolfssl/events","assignees_url":"https://api.github.com/repos/miyazakh/wolfssl/assignees{/user}","branches_url":"https://api.github.com/repos/miyazakh/wolfssl/branches{/branch}","tags_url":"https://api.github.com/repos/miyazakh/wolfssl/tags","blobs_url":"https://api.github.com/repos/miyazakh/wolfssl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/miyazakh/wolfssl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/miyazakh/wolfssl/git/refs{/sha}","trees_url":"https://api.github.com/repos/miyazakh/wolfssl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/miyazakh/wolfssl/statuses/{sha}","languages_url":"https://api.github.com/repos/miyazakh/wolfssl/languages","stargazers_url":"https://api.github.com/repos/miyazakh/wolfssl/stargazers","contributors_url":"https://api.github.com/repos/miyazakh/wolfssl/contributors","subscribers_url":"https://api.github.com/repos/miyazakh/wolfssl/subscribers","subscription_url":"https://api.github.com/repos/miyazakh/wolfssl/subscription","commits_url":"https://api.github.com/repos/miyazakh/wolfssl/commits{/sha}","git_commits_url":"https://api.github.com/repos/miyazakh/wolfssl/git/commits{/sha}","comments_url":"https://api.github.com/repos/miyazakh/wolfssl/comments{/number}","issue_comment_url":"https://api.github.com/repos/miyazakh/wolfssl/issues/comments{/number}","contents_url":"https://api.github.com/repos/miyazakh/wolfssl/contents/{+path}","compare_url":"https://api.github.com/repos/miyazakh/wolfssl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/miyazakh/wolfssl/merges","archive_url":"https://api.github.com/repos/miyazakh/wolfssl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/miyazakh/wolfssl/downloads","issues_url":"https://api.github.com/repos/miyazakh/wolfssl/issues{/number}","pulls_url":"https://api.github.com/repos/miyazakh/wolfssl/pulls{/number}","milestones_url":"https://api.github.com/repos/miyazakh/wolfssl/milestones{/number}","notifications_url":"https://api.github.com/repos/miyazakh/wolfssl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/miyazakh/wolfssl/labels{/name}","releases_url":"https://api.github.com/repos/miyazakh/wolfssl/releases{/id}","deployments_url":"https://api.github.com/repos/miyazakh/wolfssl/deployments","created_at":"2018-10-20T03:51:01Z","updated_at":"2018-12-27T23:38:44Z","pushed_at":"2018-12-27T23:38:42Z","git_url":"git://github.com/miyazakh/wolfssl.git","ssh_url":"git@github.com:miyazakh/wolfssl.git","clone_url":"https://github.com/miyazakh/wolfssl.git","svn_url":"https://github.com/miyazakh/wolfssl","homepage":"https://www.wolfssl.com","size":66096,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wolfSSL:master","ref":"master","sha":"697c99a9ec123a4da47b0b5653c08bae37180aec","user":{"login":"wolfSSL","id":5891092,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU4OTEwOTI=","avatar_url":"https://avatars0.githubusercontent.com/u/5891092?v=4","gravatar_id":"","url":"https://api.github.com/users/wolfSSL","html_url":"https://github.com/wolfSSL","followers_url":"https://api.github.com/users/wolfSSL/followers","following_url":"https://api.github.com/users/wolfSSL/following{/other_user}","gists_url":"https://api.github.com/users/wolfSSL/gists{/gist_id}","starred_url":"https://api.github.com/users/wolfSSL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolfSSL/subscriptions","organizations_url":"https://api.github.com/users/wolfSSL/orgs","repos_url":"https://api.github.com/users/wolfSSL/repos","events_url":"https://api.github.com/users/wolfSSL/events{/privacy}","received_events_url":"https://api.github.com/users/wolfSSL/received_events","type":"Organization","site_admin":false},"repo":{"id":28928522,"node_id":"MDEwOlJlcG9zaXRvcnkyODkyODUyMg==","name":"wolfssl","full_name":"wolfSSL/wolfssl","private":false,"owner":{"login":"wolfSSL","id":5891092,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU4OTEwOTI=","avatar_url":"https://avatars0.githubusercontent.com/u/5891092?v=4","gravatar_id":"","url":"https://api.github.com/users/wolfSSL","html_url":"https://github.com/wolfSSL","followers_url":"https://api.github.com/users/wolfSSL/followers","following_url":"https://api.github.com/users/wolfSSL/following{/other_user}","gists_url":"https://api.github.com/users/wolfSSL/gists{/gist_id}","starred_url":"https://api.github.com/users/wolfSSL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolfSSL/subscriptions","organizations_url":"https://api.github.com/users/wolfSSL/orgs","repos_url":"https://api.github.com/users/wolfSSL/repos","events_url":"https://api.github.com/users/wolfSSL/events{/privacy}","received_events_url":"https://api.github.com/users/wolfSSL/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/wolfSSL/wolfssl","description":"wolfSSL (formerly CyaSSL) is a small, fast, portable implementation of TLS/SSL for embedded devices to the cloud.  wolfSSL supports up to TLS 1.3!","fork":false,"url":"https://api.github.com/repos/wolfSSL/wolfssl","forks_url":"https://api.github.com/repos/wolfSSL/wolfssl/forks","keys_url":"https://api.github.com/repos/wolfSSL/wolfssl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wolfSSL/wolfssl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wolfSSL/wolfssl/teams","hooks_url":"https://api.github.com/repos/wolfSSL/wolfssl/hooks","issue_events_url":"https://api.github.com/repos/wolfSSL/wolfssl/issues/events{/number}","events_url":"https://api.github.com/repos/wolfSSL/wolfssl/events","assignees_url":"https://api.github.com/repos/wolfSSL/wolfssl/assignees{/user}","branches_url":"https://api.github.com/repos/wolfSSL/wolfssl/branches{/branch}","tags_url":"https://api.github.com/repos/wolfSSL/wolfssl/tags","blobs_url":"https://api.github.com/repos/wolfSSL/wolfssl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wolfSSL/wolfssl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wolfSSL/wolfssl/git/refs{/sha}","trees_url":"https://api.github.com/repos/wolfSSL/wolfssl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wolfSSL/wolfssl/statuses/{sha}","languages_url":"https://api.github.com/repos/wolfSSL/wolfssl/languages","stargazers_url":"https://api.github.com/repos/wolfSSL/wolfssl/stargazers","contributors_url":"https://api.github.com/repos/wolfSSL/wolfssl/contributors","subscribers_url":"https://api.github.com/repos/wolfSSL/wolfssl/subscribers","subscription_url":"https://api.github.com/repos/wolfSSL/wolfssl/subscription","commits_url":"https://api.github.com/repos/wolfSSL/wolfssl/commits{/sha}","git_commits_url":"https://api.github.com/repos/wolfSSL/wolfssl/git/commits{/sha}","comments_url":"https://api.github.com/repos/wolfSSL/wolfssl/comments{/number}","issue_comment_url":"https://api.github.com/repos/wolfSSL/wolfssl/issues/comments{/number}","contents_url":"https://api.github.com/repos/wolfSSL/wolfssl/contents/{+path}","compare_url":"https://api.github.com/repos/wolfSSL/wolfssl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wolfSSL/wolfssl/merges","archive_url":"https://api.github.com/repos/wolfSSL/wolfssl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wolfSSL/wolfssl/downloads","issues_url":"https://api.github.com/repos/wolfSSL/wolfssl/issues{/number}","pulls_url":"https://api.github.com/repos/wolfSSL/wolfssl/pulls{/number}","milestones_url":"https://api.github.com/repos/wolfSSL/wolfssl/milestones{/number}","notifications_url":"https://api.github.com/repos/wolfSSL/wolfssl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wolfSSL/wolfssl/labels{/name}","releases_url":"https://api.github.com/repos/wolfSSL/wolfssl/releases{/id}","deployments_url":"https://api.github.com/repos/wolfSSL/wolfssl/deployments","created_at":"2015-01-07T18:50:58Z","updated_at":"2018-12-27T21:55:17Z","pushed_at":"2018-12-28T00:13:39Z","git_url":"git://github.com/wolfSSL/wolfssl.git","ssh_url":"git@github.com:wolfSSL/wolfssl.git","clone_url":"https://github.com/wolfSSL/wolfssl.git","svn_url":"https://github.com/wolfSSL/wolfssl","homepage":"https://www.wolfssl.com","size":66174,"stargazers_count":516,"watchers_count":516,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":235,"mirror_url":null,"archived":false,"open_issues_count":38,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":235,"open_issues":38,"watchers":516,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wolfSSL/wolfssl/pulls/1984"},"html":{"href":"https://github.com/wolfSSL/wolfssl/pull/1984"},"issue":{"href":"https://api.github.com/repos/wolfSSL/wolfssl/issues/1984"},"comments":{"href":"https://api.github.com/repos/wolfSSL/wolfssl/issues/1984/comments"},"review_comments":{"href":"https://api.github.com/repos/wolfSSL/wolfssl/pulls/1984/comments"},"review_comment":{"href":"https://api.github.com/repos/wolfSSL/wolfssl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wolfSSL/wolfssl/pulls/1984/commits"},"statuses":{"href":"https://api.github.com/repos/wolfSSL/wolfssl/statuses/a1383d1fd2a183e8e4ab652ac309eeb477d7541f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"miyazakh"}}