Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/mgmt/osdp/src/
Dosdp_sc.c87 memcpy(pd->sc.cp_cryptogram + 0, pd->sc.pd_random, 8); in osdp_compute_cp_cryptogram()
88 memcpy(pd->sc.cp_cryptogram + 8, pd->sc.cp_random, 8); in osdp_compute_cp_cryptogram()
89 osdp_encrypt(pd->sc.s_enc, NULL, pd->sc.cp_cryptogram, 16); in osdp_compute_cp_cryptogram()
119 if (osdp_ct_compare(pd->sc.cp_cryptogram, cp_crypto, 16) != 0) { in osdp_verify_cp_cryptogram()
151 memcpy(pd->sc.r_mac, pd->sc.cp_cryptogram, 16); in osdp_compute_rmac_i()
Dosdp_common.h439 uint8_t cp_cryptogram[16]; member
Dosdp_pd.c532 memcpy(pd->sc.cp_cryptogram, buf + pos, CMD_SCRYPT_DATA_LEN); in pd_decode_command()
Dosdp_cp.c321 memcpy(buf + len, pd->sc.cp_cryptogram, 16); in cp_build_command()