Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/subsys/mgmt/osdp/src/
Dosdp_sc.c128 memcpy(pd->sc.pd_cryptogram + 0, pd->sc.cp_random, 8); in osdp_compute_pd_cryptogram()
129 memcpy(pd->sc.pd_cryptogram + 8, pd->sc.pd_random, 8); in osdp_compute_pd_cryptogram()
130 osdp_encrypt(pd->sc.s_enc, NULL, pd->sc.pd_cryptogram, 16); in osdp_compute_pd_cryptogram()
142 if (osdp_ct_compare(pd->sc.pd_cryptogram, pd_crypto, 16) != 0) { in osdp_verify_pd_cryptogram()
Dosdp_common.h440 uint8_t pd_cryptogram[16]; member
Dosdp_pd.c747 memcpy(buf + len + 16, pd->sc.pd_cryptogram, 16); in pd_build_reply()
Dosdp_cp.c523 memcpy(pd->sc.pd_cryptogram, buf + pos + 16, 16); in cp_decode_response()