Skip to content

Commit 37d82a8

Browse files
Netanel Gonenmohammad1603
authored andcommitted
compilation fix
1 parent 0c055f6 commit 37d82a8

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

components/TARGET_PSA/services/crypto/COMPONENT_SPE/psa_crypto_partition.c

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,13 +1384,10 @@ void psa_crypto_generator_operations( void )
13841384
SPM_PANIC("SPM read length mismatch");
13851385
}
13861386

1387-
status = check_spm_key_acl(msg.handle, psa_crypto_ipc.key);
1388-
if (status == PSA_SUCCESS) {
1389-
status = psa_key_agreement( msg.rhandle, psa_crypto_ipc.key,
1390-
private_key,
1391-
msg.in_size[1],//private_key length
1392-
psa_crypto_ipc.alg );
1393-
}
1387+
status = psa_key_agreement( msg.rhandle, psa_crypto_ipc.key,
1388+
private_key,
1389+
msg.in_size[1],//private_key length
1390+
psa_crypto_ipc.alg );
13941391

13951392
break;
13961393
}

0 commit comments

Comments
 (0)