Searched refs:ka (Results 1 – 2 of 2) sorted by relevance
107 unsigned char ka[LTC_SAFER_BLOCK_LEN + 1]; in s_safer_expand_userkey() local114 ka[LTC_SAFER_BLOCK_LEN] = (unsigned char)0; in s_safer_expand_userkey()118 ka[j] = ROL8(userkey_1[j], 5); in s_safer_expand_userkey()119 ka[LTC_SAFER_BLOCK_LEN] ^= ka[j]; in s_safer_expand_userkey()125 ka[j] = ROL8(ka[j], 6); in s_safer_expand_userkey()134 *key++ = (ka[k] in s_safer_expand_userkey()138 *key++ = (ka[j] + safer_ebox[(int)safer_ebox[(int)((18 * i + j + 1)&0xFF)]]) & 0xFF; in s_safer_expand_userkey()157 zeromem(ka, sizeof(ka)); in s_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 4 milliseconds