Lines Matching defs:crypto
320 struct rt2x00lib_crypto *crypto,
327 if (crypto->cmd == SET_KEY) {
331 * SW crypto will be used in that case.
359 * first one and fall back to SW crypto if not the same.
361 if (key->hw_key_idx > 0 && crypto->cipher != curr_cipher)
365 crypto->key, sizeof(crypto->key));
385 rt2x00_set_field16(®, TXRX_CSR0_ALGORITHM, crypto->cipher);
389 if (crypto->cmd == SET_KEY)
391 else if (crypto->cmd == DISABLE_KEY)