Searched refs:length (Results 1 – 7 of 7) sorted by relevance
/nrf_hw_models-latest/tests/zephyr_apps/54_aar_ccm_ecb/src/ |
D | test_ecb.c | 165 printf("\nLength of scattered outputs in job 1: %u %u\n", encrypt_outjob1[0].length, in ZTEST() 166 encrypt_outjob1[1].length); in ZTEST() 168 for (int i = 0; i < encrypt_outjob1[0].length; i++) { in ZTEST() 171 for (int i = 0; i < encrypt_outjob1[1].length; i++) { in ZTEST() 178 for (int i = 0; i < encrypt_outjob1[0].length; i++) { in ZTEST() 185 for (int i = 0; i < encrypt_outjob1[1].length; i++) { in ZTEST() 186 if (encrypt_outjob1[1].job_ptr[i] != CIPTXT_SAMPLE_1[i + encrypt_outjob1[0].length]) { in ZTEST() 194 printf("\n\nLength of single output in job 2: %u", encrypt_outjob2[0].length); in ZTEST() 196 for (int i = 0; i < encrypt_outjob2[0].length; i++) { in ZTEST() 203 for (int i = 0; i < encrypt_outjob2[0].length; i++) { in ZTEST() [all …]
|
D | common.h | 23 uint32_t length : 24; 54 #define PRINT_JOB printk("job_ptr=0x%p\tlength= %i\t attr=%i\n", job->job_ptr, job->length, job->at… in print_job() 59 print_byte_array(job->job_ptr, job->length); in print_job()
|
/nrf_hw_models-latest/src/HW_models/ |
D | NHW_AES_CCM.c | 130 int length; in nrf_ccm_encrypt_tx() local 142 length = inptr[1]; in nrf_ccm_encrypt_tx() 143 if (length > 0) { in nrf_ccm_encrypt_tx() 144 length +=4; in nrf_ccm_encrypt_tx() 147 outptr[1] = length; in nrf_ccm_encrypt_tx() 158 …length, //including MIC length if ( generate_mic == 1 ) ; [ just the length in the output pa… in nrf_ccm_encrypt_tx() 175 int length; in nrf_ccm_decrypt_rx() local 195 length = inptr[1]; in nrf_ccm_decrypt_rx() 196 if (length > 4) { in nrf_ccm_decrypt_rx() 197 length -=4; in nrf_ccm_decrypt_rx() [all …]
|
D | BLECrypt_if.c | 195 …int length, //including MIC length if ( generate_mic == 1 ) ; [ just the length in the pack… in BLECrypt_if_encrypt_packet() argument 201 if ( length > 0 ) { //otherwise there is nothing to encrypt and for sure no MIC to add in BLECrypt_if_encrypt_packet() 202 uint8_t packet_payload_len = length - generate_mic*4; in BLECrypt_if_encrypt_packet() 226 encrypted_payload[length - 4 ] = 0; in BLECrypt_if_encrypt_packet() 227 encrypted_payload[length - 3 ] = 'M'; in BLECrypt_if_encrypt_packet() 228 encrypted_payload[length - 2 ] = 'I'; in BLECrypt_if_encrypt_packet() 229 encrypted_payload[length - 1 ] = 'C'; in BLECrypt_if_encrypt_packet() 238 …int length, //including MIC lenght if (has_mic == 1) ; [ just the length in the packet head… in BLECrypt_if_decrypt_packet() argument 245 if ( length == 0 ){ //otherwise there is nothing to decrypt and no MIC to check in BLECrypt_if_decrypt_packet() 250 if ( has_mic && ( length < 5 ) ){ in BLECrypt_if_decrypt_packet() [all …]
|
D | BLECrypt_if.h | 32 …int length, //including MIC length if ( generate_mic == 1 ) ; [ just the length in the pac… 41 …int length, //including MIC lenght if (has_mic == 1) ; [ just the length in the packet head…
|
D | NHW_RADIO.c | 1064 uint length = nhwra_get_payload_length(rx_buf); in Rx_handle_address_end_response() local 1067 if (length > max_length) { in Rx_handle_address_end_response() 1069 …received a packet longer than the configured MAXLEN (%i>%i). Truncating it\n", length, max_length); in Rx_handle_address_end_response() 1070 length = max_length; in Rx_handle_address_end_response() 1086 payload_end = rx_status.rx_resp.rx_time_stamp + (bs_time_t)((2+length)*8/bits_per_us); in Rx_handle_address_end_response() 1088 payload_end = rx_status.rx_resp.rx_time_stamp + (bs_time_t)((1+length)*8/bits_per_us); in Rx_handle_address_end_response() 1112 &rx_buf[2] , length); in Rx_handle_address_end_response() 1118 &rx_buf[1] , length); in Rx_handle_address_end_response() 1128 ((uint8_t*)NRF_RADIO_regs.PACKETPTR)[1 + rx_status.S1Offset + length] = LQI; in Rx_handle_address_end_response()
|
/nrf_hw_models-latest/src/nrfx/hal/ |
D | nrf_gpio.c | 252 uint32_t length, in nrf_gpio_latches_read_and_clear() argument 258 for (i = start_port; i < (start_port + length); i++) in nrf_gpio_latches_read_and_clear()
|