Searched refs:ekp (Results 1 – 2 of 2) sorted by relevance
411 struct encrypted_key_payload *ekp; in evm_init_key() local419 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()
2442 const struct encrypted_key_payload *ekp; in set_key_encrypted() local2444 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()