diff options
author | Jeffrey Walton <noloader@gmail.com> | 2021-04-25 10:51:17 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2021-04-25 10:51:17 -0400 |
commit | 597c81e14e4d0c756680b0c827b2f1b9cd6e2010 (patch) | |
tree | 350e01faa553116fcd1445ffd3cbb3ed5f6d2c6a | |
parent | 90abede814606d24ee5a0b8df9978b7bf7c96155 (diff) | |
download | cryptopp-git-597c81e14e4d0c756680b0c827b2f1b9cd6e2010.tar.gz |
Update comments
-rw-r--r-- | cpu.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1355,7 +1355,8 @@ inline bool CPU_QuerySHA512() // Power9 random number generator
inline bool CPU_QueryDARN()
{
- // Power9 and ISA 3.0 provide DARN.
+ // Power9 and ISA 3.0 provide DARN. It looks like
+ // Glibc offers PPC_FEATURE2_DARN.
#if defined(__linux__) && defined(PPC_FEATURE2_ARCH_3_00)
if ((getauxval(AT_HWCAP2) & PPC_FEATURE2_ARCH_3_00) != 0)
return true;
|