commit | 2b3ff6319e2312656fbefe0209bef02d58b6836a | [log] [tgz] |
---|---|---|
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | Tue Sep 20 11:23:55 2011 -0400 |
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | Tue Sep 20 23:26:44 2011 -0400 |
tree | 43041b8a5e6fe31dadf2ad682d73fa873476b952 | |
parent | 2684bf7f29cfb13ef2c60f3b3a53ee47d0db7022 [diff] |
encrypted-keys: check hex2bin result For each hex2bin call in encrypted keys, check that the ascii hex string is valid. On failure, return -EINVAL. Changelog v1: - hex2bin now returns an int Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com> Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>