Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/mgmt/osdp/src/
Dosdp_sc.c135 uint8_t pd_crypto[16]; in osdp_verify_pd_cryptogram() local
138 memcpy(pd_crypto + 0, pd->sc.cp_random, 8); in osdp_verify_pd_cryptogram()
139 memcpy(pd_crypto + 8, pd->sc.pd_random, 8); in osdp_verify_pd_cryptogram()
140 osdp_encrypt(pd->sc.s_enc, NULL, pd_crypto, 16); in osdp_verify_pd_cryptogram()
142 if (osdp_ct_compare(pd->sc.pd_cryptogram, pd_crypto, 16) != 0) { in osdp_verify_pd_cryptogram()