Home
last modified time | relevance | path

Searched refs:mlen (Results 1 – 3 of 3) sorted by relevance

/nrf_hw_models-latest/src/HW_models/
DBLECrypt_if.c58 int mlen,
70 int mlen,
335 int mlen, // Unencrypted packet payload length (i.e. *not* including header and MAC/MIC) in BLECrypt_if_encrypt_packet_v3() argument
351 mlen, in BLECrypt_if_encrypt_packet_v3()
361 mlen, in BLECrypt_if_encrypt_packet_v3()
368 …memcpy(encrypted_packet_payload_and_mac, mdata, BS_MAX(mlen, 0) /*payload excluding possible mic*/… in BLECrypt_if_encrypt_packet_v3()
370 encrypted_packet_payload_and_mac[mlen] = 'M'; in BLECrypt_if_encrypt_packet_v3()
373 encrypted_packet_payload_and_mac[mlen+1] = 'I'; in BLECrypt_if_encrypt_packet_v3()
376 encrypted_packet_payload_and_mac[mlen+2] = 'C'; in BLECrypt_if_encrypt_packet_v3()
379 encrypted_packet_payload_and_mac[mlen+i] = 0; in BLECrypt_if_encrypt_packet_v3()
[all …]
DBLECrypt_if.h65 int mlen,
75 int mlen,
/nrf_hw_models-latest/tests/zephyr_apps/54_aar_ccm_ecb/src/
Dtest_ccm.c94 …d build_ccm_test_case_and_run(uint8_t K[], uint8_t N[], uint8_t *P, uint16_t P_size, uint16_t mlen, in build_ccm_test_case_and_run() argument
108 {(uint8_t *)&mlen, sizeof(mlen), CCM_DMA_ATTR_MLEN}, in build_ccm_test_case_and_run()