Home
last modified time | relevance | path

Searched refs:ekp (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/security/integrity/evm/
Devm_crypto.c411 struct encrypted_key_payload *ekp; in evm_init_key() local
419 ekp = evm_key->payload.data[0]; in evm_init_key()
421 rc = evm_set_key(ekp->decrypted_data, ekp->decrypted_datalen); in evm_init_key()
424 memset(ekp->decrypted_data, 0, ekp->decrypted_datalen); in evm_init_key()
/linux-5.19.10/drivers/md/
Ddm-crypt.c2442 const struct encrypted_key_payload *ekp; in set_key_encrypted() local
2444 ekp = key->payload.data[0]; in set_key_encrypted()
2445 if (!ekp) in set_key_encrypted()
2448 if (cc->key_size != ekp->decrypted_datalen) in set_key_encrypted()
2451 memcpy(cc->key, ekp->decrypted_data, cc->key_size); in set_key_encrypted()