Searched refs:ekp (Results 1 – 3 of 3) sorted by relevance
429 struct encrypted_key_payload *ekp; in evm_init_key() local437 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()
250 const struct encrypted_key_payload *ekp; in key_data_ptr_encrypted() local252 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()
2541 const struct encrypted_key_payload *ekp; in set_key_encrypted() local2543 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()