Home
last modified time | relevance | path

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

/trusted-firmware-m-latest/platform/ext/accelerator/cc312/cc312-rom/
Dcc3xx_hmac.c30 const uint8_t *p_key = key; in cc3xx_lowlevel_hmac_compute() local
51 p_key = (const uint8_t *)hash_key_output; in cc3xx_lowlevel_hmac_compute()
59 block[idx] ^= p_key[idx]; in cc3xx_lowlevel_hmac_compute()
128 const uint8_t *p_key = key; in cc3xx_lowlevel_hmac_set_key() local
142 p_key = (const uint8_t *)hash_key_output; in cc3xx_lowlevel_hmac_set_key()
150 state->key[idx] = p_key[idx] ^ ipad; in cc3xx_lowlevel_hmac_set_key()
/trusted-firmware-m-latest/platform/ext/accelerator/cc312/cc312-rom/psa_driver_api/src/
Dcc3xx_psa_asymmetric_signature.c165 const uint8_t *p_key; in ecdsa_verify() local
168 p_key = &((uint8_t *)pubkey)[3]; in ecdsa_verify()
172 (uint8_t *)p_key, sizeof(pubkey) - 3, &key_length_public); in ecdsa_verify()
178 p_key = key; in ecdsa_verify()
182 memcpy(key_x, &p_key[1], (key_length_public - 1) / 2); in ecdsa_verify()
183 memcpy(key_y, &p_key[1 + (key_length_public - 1) / 2], (key_length_public - 1) / 2); in ecdsa_verify()