Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/drivers/crypto/se050/adaptors/apis/
A Dsss.c56 struct se050_scp_key cur_keys = { }; in se050_rotate_scp03_keys() local
76 status = se050_scp03_get_current_keys(&cur_keys); in se050_rotate_scp03_keys()
83 cur_keys.dek, SE050_SCP03_KEY_SZ); in se050_rotate_scp03_keys()
85 cur_keys.mac, SE050_SCP03_KEY_SZ); in se050_rotate_scp03_keys()
87 cur_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()

Completed in 2 milliseconds