Lines Matching +full:- +full:m
5 * SPDX-License-Identifier: Apache-2.0
11 * http://www.apache.org/licenses/LICENSE-2.0
55 const uint8_t *key_be, // Key (KEY_LEN bytes, big-endian)
56 const uint8_t *plaintext_data_be, // Plaintext data (KEY_LEN bytes, big-endian)
58 uint8_t *encrypted_data_be); // Plaintext data (KEY_LEN bytes, big-endian)
144 const uint8_t* sk, // Session key (16 bytes, BIG-ENDIAN) in BLECrypt_if_encrypt_packet()
145 const uint8_t* nonce // CCM Nonce (NONCE_LEN bytes, little-endian) in BLECrypt_if_encrypt_packet()
149 uint8_t packet_payload_len = length - generate_mic*4; in BLECrypt_if_encrypt_packet()
173 encrypted_payload[length - 4 ] = 0; in BLECrypt_if_encrypt_packet()
174 encrypted_payload[length - 3 ] = 'M'; in BLECrypt_if_encrypt_packet()
175 encrypted_payload[length - 2 ] = 'I'; in BLECrypt_if_encrypt_packet()
176 encrypted_payload[length - 1 ] = 'C'; in BLECrypt_if_encrypt_packet()
182 …, // First byte of packet header (or just LLID and RFU (RFU=0 for BLE v4.x) - other bits are ignor… in BLECrypt_if_decrypt_packet()
187 const uint8_t* sk, // Session key (16 bytes, BIG-ENDIAN) in BLECrypt_if_decrypt_packet()
188 const uint8_t* nonce, // CCM Nonce (NONCE_LEN bytes, little-endian) in BLECrypt_if_decrypt_packet()
206 uint8_t packet_payload_len = length - has_mic*4; in BLECrypt_if_decrypt_packet()
226 const uint8_t *key_be, // Key (KEY_LEN bytes, big-endian) in BLECrypt_if_aes_128()
227 const uint8_t *plaintext_data_be, // Plaintext data (KEY_LEN bytes, big-endian) in BLECrypt_if_aes_128()