Searched refs:new_keys (Results 1 – 1 of 1) sorted by relevance
/optee_os/core/drivers/crypto/se050/adaptors/apis/ |
A D | sss.c | 55 struct se050_scp_key new_keys = { }; in se050_rotate_scp03_keys() local 62 status = se050_scp03_subkey_derive(&new_keys); in se050_rotate_scp03_keys() 80 new_keys.dek, SE050_SCP03_KEY_SZ); in se050_rotate_scp03_keys() 82 new_keys.mac, SE050_SCP03_KEY_SZ); in se050_rotate_scp03_keys() 84 new_keys.enc, SE050_SCP03_KEY_SZ); in se050_rotate_scp03_keys() 87 if (!memcmp(new_keys.enc, cur_keys.enc, SE050_SCP03_KEY_SZ) && in se050_rotate_scp03_keys() 88 !memcmp(new_keys.mac, cur_keys.mac, SE050_SCP03_KEY_SZ) && in se050_rotate_scp03_keys() 89 !memcmp(new_keys.dek, cur_keys.dek, SE050_SCP03_KEY_SZ)) in se050_rotate_scp03_keys() 95 status = se050_scp03_prepare_rotate_cmd(ctx, &cmd, &new_keys); in se050_rotate_scp03_keys() 125 if (se050_core_early_init(&new_keys)) { in se050_rotate_scp03_keys()
|
Completed in 2 milliseconds