Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/subsys/mgmt/osdp/src/
Dosdp_sc.c74 memcpy(pd->sc.cp_cryptogram + 0, pd->sc.pd_random, 8); in osdp_compute_cp_cryptogram()
75 memcpy(pd->sc.cp_cryptogram + 8, pd->sc.cp_random, 8); in osdp_compute_cp_cryptogram()
76 osdp_encrypt(pd->sc.s_enc, NULL, pd->sc.cp_cryptogram, 16); in osdp_compute_cp_cryptogram()
106 if (osdp_ct_compare(pd->sc.cp_cryptogram, cp_crypto, 16) != 0) { in osdp_verify_cp_cryptogram()
138 memcpy(pd->sc.r_mac, pd->sc.cp_cryptogram, 16); in osdp_compute_rmac_i()
Dosdp_common.h411 uint8_t cp_cryptogram[16]; member
Dosdp_pd.c358 pd->sc.cp_cryptogram[i] = buf[pos++]; in pd_decode_command()
Dosdp_cp.c257 buf[len++] = pd->sc.cp_cryptogram[i]; in cp_build_command()