mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 02:44:41 +03:00
codebase style improvements for OpenZFS 6459 port
This commit is contained in:
committed by
Brian Behlendorf
parent
ec441a9c53
commit
4ea3f86426
@@ -988,7 +988,8 @@ aes_setupkeys(aes_key_t *key, const uint32_t *keyarr32, int keybits)
|
||||
*/
|
||||
static void
|
||||
rijndael_encrypt(const uint32_t rk[], int Nr, const uint32_t pt[4],
|
||||
uint32_t ct[4], int flags) {
|
||||
uint32_t ct[4], int flags)
|
||||
{
|
||||
if (flags & INTEL_AES_NI_CAPABLE) {
|
||||
KPREEMPT_DISABLE;
|
||||
aes_encrypt_intel(rk, Nr, pt, ct);
|
||||
@@ -1015,7 +1016,8 @@ rijndael_encrypt(const uint32_t rk[], int Nr, const uint32_t pt[4],
|
||||
*/
|
||||
static void
|
||||
rijndael_decrypt(const uint32_t rk[], int Nr, const uint32_t ct[4],
|
||||
uint32_t pt[4], int flags) {
|
||||
uint32_t pt[4], int flags)
|
||||
{
|
||||
if (flags & INTEL_AES_NI_CAPABLE) {
|
||||
KPREEMPT_DISABLE;
|
||||
aes_decrypt_intel(rk, Nr, ct, pt);
|
||||
|
||||
Reference in New Issue
Block a user