Searched refs:s_enc (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.7.0/subsys/mgmt/osdp/src/ |
D | osdp_sc.c | 62 memset(pd->sc.s_enc, 0, 16); in osdp_compute_session_keys() 66 pd->sc.s_enc[0] = 0x01; in osdp_compute_session_keys() 67 pd->sc.s_enc[1] = 0x82; in osdp_compute_session_keys() 74 pd->sc.s_enc[i] = pd->sc.cp_random[i - 2]; in osdp_compute_session_keys() 79 osdp_encrypt(scbk, NULL, pd->sc.s_enc, 16); in osdp_compute_session_keys() 89 osdp_encrypt(pd->sc.s_enc, NULL, pd->sc.cp_cryptogram, 16); in osdp_compute_cp_cryptogram() 117 osdp_encrypt(pd->sc.s_enc, NULL, cp_crypto, 16); in osdp_verify_cp_cryptogram() 130 osdp_encrypt(pd->sc.s_enc, NULL, pd->sc.pd_cryptogram, 16); in osdp_compute_pd_cryptogram() 140 osdp_encrypt(pd->sc.s_enc, NULL, pd_crypto, 16); in osdp_verify_pd_cryptogram() 170 osdp_decrypt(pd->sc.s_enc, iv, data, length); in osdp_decrypt_data() [all …]
|
D | osdp_common.h | 431 uint8_t s_enc[16]; member
|