Lines Matching defs:key
14 /* Map from blk-crypto modes to CQHCI crypto algorithm IDs and key sizes */
47 /* Write the key */
62 const struct blk_crypto_key *key,
70 &cqhci_crypto_algs[key->crypto_cfg.crypto_mode];
71 u8 data_unit_mask = key->crypto_cfg.data_unit_size / 512;
95 memcpy(cfg.crypto_key, key->raw, key->size/2);
97 key->raw + key->size/2, key->size/2);
99 memcpy(cfg.crypto_key, key->raw, key->size);
120 const struct blk_crypto_key *key,