Skip to content

Commit 3313c25

Browse files
committed
[RISCV] Fix a couple copy/paste mistakes in riscv_crypto.h. NFC
1 parent b2f42f5 commit 3313c25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Headers/riscv_crypto.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ __riscv_aes64esm(uint64_t __x, uint64_t __y) {
5757
return __builtin_riscv_aes64esm(__x, __y);
5858
}
5959
#endif
60-
#endif // defined(__riscv_zknd)
60+
#endif // defined(__riscv_zkne)
6161

6262
#if defined(__riscv_zknd) || defined(__riscv_zkne)
6363
#if __riscv_xlen == 64
@@ -161,7 +161,7 @@ __riscv_sm3p1(uint32_t __x) {
161161
#if defined(__riscv_zksed)
162162
#define __riscv_sm4ed(x, y, bs) __builtin_riscv_sm4ed(x, y, bs);
163163
#define __riscv_sm4ks(x, y, bs) __builtin_riscv_sm4ks(x, y, bs);
164-
#endif // defined(__riscv_zksh)
164+
#endif // defined(__riscv_zksed)
165165

166166
#if defined(__cplusplus)
167167
}

0 commit comments

Comments
 (0)