Home
last modified time | relevance | path

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

/linux/security/integrity/evm/
H A Devm_crypto.c429 struct encrypted_key_payload *ekp; in evm_init_key() local
437 ekp = evm_key->payload.data[0]; in evm_init_key()
439 rc = evm_set_key(ekp->decrypted_data, ekp->decrypted_datalen); in evm_init_key()
442 memset(ekp->decrypted_data, 0, ekp->decrypted_datalen); in evm_init_key()
/linux/crypto/
H A Daf_alg.c250 const struct encrypted_key_payload *ekp; in key_data_ptr_encrypted() local
252 ekp = dereference_key_locked(key); in key_data_ptr_encrypted()
253 if (IS_ERR_OR_NULL(ekp)) in key_data_ptr_encrypted()
256 *datalen = ekp->decrypted_datalen; in key_data_ptr_encrypted()
258 return ekp->decrypted_data; in key_data_ptr_encrypted()
/linux/drivers/md/
H A Ddm-crypt.c2541 const struct encrypted_key_payload *ekp; in set_key_encrypted() local
2543 ekp = key->payload.data[0]; in set_key_encrypted()
2544 if (!ekp) in set_key_encrypted()
2547 if (cc->key_size != ekp->decrypted_datalen) in set_key_encrypted()
2550 memcpy(cc->key, ekp->decrypted_data, cc->key_size); in set_key_encrypted()