Searched refs:cp_crypto (Results 1 – 1 of 1) sorted by relevance
112 uint8_t cp_crypto[16]; in osdp_verify_cp_cryptogram() local115 memcpy(cp_crypto + 0, pd->sc.pd_random, 8); in osdp_verify_cp_cryptogram()116 memcpy(cp_crypto + 8, pd->sc.cp_random, 8); in osdp_verify_cp_cryptogram()117 osdp_encrypt(pd->sc.s_enc, NULL, cp_crypto, 16); in osdp_verify_cp_cryptogram()119 if (osdp_ct_compare(pd->sc.cp_cryptogram, cp_crypto, 16) != 0) { in osdp_verify_cp_cryptogram()