Searched refs:ps_crypto_iv_buf (Results 1 – 1 of 1) sorted by relevance
/trusted-firmware-m-3.4.0/secure_fw/partitions/protected_storage/crypto/ |
D | ps_crypto_interface.c | 39 static uint8_t ps_crypto_iv_buf[PS_IV_LEN_BYTES]; variable 130 (void)memcpy(ps_crypto_iv_buf, crypto->ref.iv, PS_IV_LEN_BYTES); in ps_crypto_set_iv() 160 (void)memcpy(&iv_l, ps_crypto_iv_buf, sizeof(iv_l)); in ps_crypto_get_iv() 161 (void)memcpy(&iv_h, (ps_crypto_iv_buf+sizeof(iv_l)), sizeof(iv_h)); in ps_crypto_get_iv() 179 (void)memcpy(ps_crypto_iv_buf, &iv_l, sizeof(iv_l)); in ps_crypto_get_iv() 180 (void)memcpy((ps_crypto_iv_buf + sizeof(iv_l)), &iv_h, sizeof(iv_h)); in ps_crypto_get_iv() 182 (void)memcpy(crypto->ref.iv, ps_crypto_iv_buf, PS_IV_LEN_BYTES); in ps_crypto_get_iv()
|