Home
last modified time | relevance | path

Searched refs:rotl32 (Results 1 - 4 of 4) sorted by relevance

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
H A Dhmac_wapi_sms4.h39 #define l1(_b) ((_b) ^ rotl32(_b, 2) ^ rotl32(_b, 10) ^ rotl32(_b, 18) ^ rotl32(_b, 24))
40 #define l2(_b) ((_b) ^ rotl32(_b, 13) ^ rotl32(_b, 23))
H A Dhmac_wapi_sms4.c96 x[0] = rotl32(x[0], 16); /* 0:下标,16:位移位数 */ in hmac_sms4_crypt()
98 x[1] = rotl32(x[1], 16); /* 1:下标,16:位移位数 */ in hmac_sms4_crypt()
100 x[2] = rotl32(x[2], 16); /* 2:下标,16:位移位数 */ in hmac_sms4_crypt()
102 x[3] = rotl32(x[3], 16); /* 3:下标,16:位移位数 */ in hmac_sms4_crypt()
121 x[0] = rotl32(x[0], 16); /* 0:下标,16:位移位数 */ in hmac_sms4_crypt()
123 x[1] = rotl32(x[1], 16); /* 1:下标,16:位移位数 */ in hmac_sms4_crypt()
125 x[2] = rotl32(x[2], 16); /* 2:下标,16:位移位数 */ in hmac_sms4_crypt()
127 x[3] = rotl32(x[3], 16); /* 3:下标,16:位移位数 */ in hmac_sms4_crypt()
159 x[0] = rotl32(x[0], 16); /* 0:下标,16:位移位数 */ in hmac_sms4_keyext()
161 x[1] = rotl32( in hmac_sms4_keyext()
[all...]
H A Dhmac_crypto_tkip.h38 r ^= rotl32(l, 17); \
42 r ^= rotl32(l, 3); \
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_util.h126 #define rotl32(val, bits) rotl_w(val, bits, 32) /* 32 bits word */ macro

Completed in 3 milliseconds