# linux2021: borting ## 測驗 $\beta - 1$ * sz = S * alignment + M, M > = 0, M < alignment, 若 M = 0, 則 sz 為我們要的結果, 否則 (S + 1) * alignment 為我們要的結果 * (sz + mask) & ~mask, 因為 alighment 為 power of 2, AND mask 的 complement 可以視為除以 alighment ## 測驗 α - 1 * 許多密碼演算法都會使用到 rotation functions, 比方說 SHA-1 演算法, 或是 TKIP 裡的 Michael MIC 計算 * https://elixir.bootlin.com/linux/v5.13/source/net/mac80211/michael.c#L13 *
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up