compilation fix

pull/8804/head
Netanel Gonen 2018-11-26 13:13:17 +02:00 committed by mohammad1603
parent a4c498e02a
commit bab6116f31
1 changed files with 4 additions and 7 deletions

View File

@ -1384,13 +1384,10 @@ void psa_crypto_generator_operations( void )
SPM_PANIC("SPM read length mismatch"); SPM_PANIC("SPM read length mismatch");
} }
status = check_spm_key_acl(msg.handle, psa_crypto_ipc.key); status = psa_key_agreement( msg.rhandle, psa_crypto_ipc.key,
if (status == PSA_SUCCESS) { private_key,
status = psa_key_agreement( msg.rhandle, psa_crypto_ipc.key, msg.in_size[1],//private_key length
private_key, psa_crypto_ipc.alg );
msg.in_size[1],//private_key length
psa_crypto_ipc.alg );
}
break; break;
} }