Searched refs:pd_cryptogram (Results 1 – 4 of 4) sorted by relevance
115 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()
412 uint8_t pd_cryptogram[16]; member
540 buf[len++] = pd->sc.pd_cryptogram[i]; in pd_build_reply()
465 pd->sc.pd_cryptogram[i] = buf[pos++]; in cp_decode_response()