Searched refs:ka (Results 1 – 2 of 2) sorted by relevance
114 unsigned char ka[LTC_SAFER_BLOCK_LEN + 1]; in _Safer_Expand_Userkey() local121 ka[LTC_SAFER_BLOCK_LEN] = (unsigned char)0; in _Safer_Expand_Userkey()125 ka[j] = ROL8(userkey_1[j], 5); in _Safer_Expand_Userkey()126 ka[LTC_SAFER_BLOCK_LEN] ^= ka[j]; in _Safer_Expand_Userkey()132 ka[j] = ROL8(ka[j], 6); in _Safer_Expand_Userkey()141 *key++ = (ka[k] in _Safer_Expand_Userkey()145 *key++ = (ka[j] + safer_ebox[(int)safer_ebox[(int)((18 * i + j + 1)&0xFF)]]) & 0xFF; in _Safer_Expand_Userkey()164 zeromem(ka, sizeof(ka)); in _Safer_Expand_Userkey()
102 static uint32_t sm4Lt(uint32_t ka) in sm4Lt() argument108 PUT_UINT32_BE(ka, a, 0); in sm4Lt()124 static uint32_t sm4CalciRK(uint32_t ka) in sm4CalciRK() argument130 PUT_UINT32_BE(ka, a, 0); in sm4CalciRK()
Completed in 3 milliseconds