{"shas":[["53978150312c7ee6b8e3c6c7b781ac57d3927736","f02992f7c171053741caa6b515d9896745b37477@linux.vnet.ibm.com","lib: add unpack_hex_byte()\n\nSince converting 2 ascii hex digits into a byte with error checks\nis commonly used, we can replace multiple hex_to_bin() calls with\na single call to unpack_hex_byte().\n\nChangelog:\n- Error checking added based on Tetsuo Handa's patch.\n- Moved the hex2bin code here, making it into a static inline function.\n  (Andy Shevchenko's request.)\n\nSigned-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>","Mimi Zohar"],["4031b6098d8b0745ec0eebf918a91cca86ba6bf2","f02992f7c171053741caa6b515d9896745b37477@linux.vnet.ibm.com","lib: add error checking to hex2bin\n\nhex2bin converts a hexadecimal string to its binary representation.\nThe original version of hex2bin did not do any error checking.  This\npatch adds error checking and returns the result.\n\nChangelog:\n- use the new unpack_hex_byte()\n- add __must_check compiler option (Andy Shevchenko's suggestion)\n- change function API to return error checking result\n  (based on Tetsuo Handa's initial patch)\n\nSigned-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>","Mimi Zohar"],["5168fb0f6e65691c58e13188cece98f9a1636fcb","3d00b54ad717112934d0b63b7ac2975b44022a61@I-love.SAKURA.ne.jp","trusted-keys: check hex2bin result\n\nFor each hex2bin call in trusted keys, check that the ascii hex string is\nvalid.  On failure, return -EINVAL.\n\nSigned-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>\nSigned-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>","Tetsuo Handa"],["c609551f8723a577c58bdd59845f745158d87b0f","3d00b54ad717112934d0b63b7ac2975b44022a61@I-love.SAKURA.ne.jp","encrypted-keys: check hex2bin result\n\nFor each hex2bin call in encrypted keys, check that the ascii hex string\nis valid.  On failure, return -EINVAL.\n\nSigned-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>\nSigned-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>","Tetsuo Handa"],["95a2cae5a42b3c19c1e38bb6afb5658d5119897b","f02992f7c171053741caa6b515d9896745b37477@linux.vnet.ibm.com","target: check hex2bin result\n\nNow that hex2bin does error checking, on error add debugging error msg.\n\nSigned-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>","Mimi Zohar"]],"ref":"refs/heads/next-hex2bin","size":5,"head":"95a2cae5a42b3c19c1e38bb6afb5658d5119897b","push_id":42964453}