Home
last modified time | relevance | path

Searched refs:new_keys (Results 1 – 1 of 1) sorted by relevance

/optee_os-3.20.0/core/drivers/crypto/se050/adaptors/apis/
A Dsss.c57 struct se050_scp_key new_keys = { }; in se050_rotate_scp03_keys() local
66 status = se050_scp03_get_keys(&new_keys, SCP03_OFID); in se050_rotate_scp03_keys()
71 status = se050_scp03_subkey_derive(&new_keys); in se050_rotate_scp03_keys()
90 new_keys.dek, SE050_SCP03_KEY_SZ); in se050_rotate_scp03_keys()
92 new_keys.mac, SE050_SCP03_KEY_SZ); in se050_rotate_scp03_keys()
94 new_keys.enc, SE050_SCP03_KEY_SZ); in se050_rotate_scp03_keys()
97 if (!memcmp(new_keys.enc, cur_keys.enc, SE050_SCP03_KEY_SZ) && in se050_rotate_scp03_keys()
98 !memcmp(new_keys.mac, cur_keys.mac, SE050_SCP03_KEY_SZ) && in se050_rotate_scp03_keys()
99 !memcmp(new_keys.dek, cur_keys.dek, SE050_SCP03_KEY_SZ)) in se050_rotate_scp03_keys()
105 status = se050_scp03_prepare_rotate_cmd(ctx, &cmd, &new_keys); in se050_rotate_scp03_keys()
[all …]

Completed in 2 milliseconds