Register FIPS 202 SHA-3 hashes in hash info for IMA and other users. Sizes 256 and up, as 224 is too weak for any practical purposes.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -35,6 +35,9 @@ enum hash_algo { · 34 unmodified lines | |||
| 35 | HASH_ALGO_SM3_256, | 35 | HASH_ALGO_SM3_256, |
| 36 | HASH_ALGO_STREEBOG_256, | 36 | HASH_ALGO_STREEBOG_256, |
| 37 | HASH_ALGO_STREEBOG_512, | 37 | HASH_ALGO_STREEBOG_512, |
| 38 | HASH_ALGO_SHA3_256, | ||
| 39 | HASH_ALGO_SHA3_384, | ||
| 40 | HASH_ALGO_SHA3_512, | ||
| 38 | HASH_ALGO__LAST | 41 | HASH_ALGO__LAST |
| 39 | }; | 42 | }; |
| 40 | 43 | ||