Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/subsys/mgmt/osdp/src/
Dosdp_sc.c115 memcpy(pd->sc.pd_cryptogram + 0, pd->sc.cp_random, 8); in osdp_compute_pd_cryptogram()
116 memcpy(pd->sc.pd_cryptogram + 8, pd->sc.pd_random, 8); in osdp_compute_pd_cryptogram()
117 osdp_encrypt(pd->sc.s_enc, NULL, pd->sc.pd_cryptogram, 16); in osdp_compute_pd_cryptogram()
129 if (osdp_ct_compare(pd->sc.pd_cryptogram, pd_crypto, 16) != 0) { in osdp_verify_pd_cryptogram()
Dosdp_common.h412 uint8_t pd_cryptogram[16]; member
Dosdp_pd.c540 buf[len++] = pd->sc.pd_cryptogram[i]; in pd_build_reply()
Dosdp_cp.c465 pd->sc.pd_cryptogram[i] = buf[pos++]; in cp_decode_response()