Searched refs:ct (Results 1 – 1 of 1) sorted by relevance
| /babblesim_ext_libCryptov1-latest/src/ |
| D | blecrypt.c | 144 uint8_t *ct = encrypted_packet_payload_and_mic; in blecrypt_packet_encrypt_v2() local 161 EVP_EncryptUpdate(ctx, ct, &outlen, pt, packet_payload_len); in blecrypt_packet_encrypt_v2() 163 EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_CCM_GET_TAG, MIC_LEN, (ct += outlen)); in blecrypt_packet_encrypt_v2() 203 const uint8_t *ct = packet_payload_and_mic; in blecrypt_packet_decrypt_v2() local 224 … EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_CCM_SET_TAG, MIC_LEN, (uint8_t *) ct + packet_payload_len); in blecrypt_packet_decrypt_v2() 233 ok = EVP_DecryptUpdate(ctx, pt, &outlen, ct, packet_payload_len); in blecrypt_packet_decrypt_v2() 277 uint8_t *ct = encrypted_packet_payload_and_mac; in blecrypt_packet_encrypt_v3() local 294 EVP_EncryptUpdate(ctx, ct, &outlen, pt, mlen); in blecrypt_packet_encrypt_v3() 296 EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_CCM_GET_TAG, maclen, (ct += outlen)); in blecrypt_packet_encrypt_v3() 341 const uint8_t *ct = mdata_and_mac; in blecrypt_packet_decrypt_v3() local [all …]
|