/AliOS-Things-master/components/ble_host/bt_host/host/ |
A D | crypto.c | 19 int bt_encrypt_le(const u8_t key[16], const u8_t plaintext[16], in bt_encrypt_le() 22 return bt_crypto_encrypt_le(key, plaintext, enc_data); in bt_encrypt_le() 25 int bt_encrypt_be(const u8_t key[16], const u8_t plaintext[16], in bt_encrypt_be() 28 return bt_crypto_encrypt_be(key, plaintext, enc_data); in bt_encrypt_be() 31 int bt_decrypt_be(const u8_t key[16], const u8_t plaintext[16], in bt_decrypt_be() 34 return bt_crypto_decrypt_be(key, plaintext, enc_data); in bt_decrypt_be()
|
A D | hci_api.c | 1407 __hci_api_weak__ int hci_api_le_enc(uint8_t key[16], uint8_t plaintext[16], uint8_t ciphertext[16]) in hci_api_le_enc() 1423 memcpy(cp->plaintext, plaintext, sizeof(cp->plaintext)); in hci_api_le_enc()
|
/AliOS-Things-master/components/ble_host/bt_host/include/bluetooth/ |
A D | crypto.h | 52 int bt_encrypt_le(const u8_t key[16], const u8_t plaintext[16], 67 int bt_encrypt_be(const u8_t key[16], const u8_t plaintext[16], 70 int bt_decrypt_be(const u8_t key[16], const u8_t plaintext[16], 95 u8_t *plaintext, size_t mic_size); 119 u8_t *plaintext, size_t mic_size);
|
A D | hci.h | 777 u8_t plaintext[16]; member
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/inc/platform/ |
A D | aes_api.h | 53 bool aes128_ecb_encrypt(uint8_t plaintext[16], const uint8_t key[16], uint8_t *encrypted); 75 bool aes128_ecb_encrypt_msb2lsb(uint8_t plaintext[16], const uint8_t key[16], 99 bool aes256_ecb_encrypt(uint8_t plaintext[16], const uint8_t key[32], uint8_t *encrypted); 121 bool aes256_ecb_encrypt_msb2lsb(uint8_t plaintext[16], const uint8_t key[32],
|
/AliOS-Things-master/components/ble_host/bt_crypto/include/ |
A D | bt_crypto.h | 42 int bt_crypto_encrypt_le(const uint8_t key[16], const uint8_t plaintext[16], 45 int bt_crypto_encrypt_be(const uint8_t key[16], const uint8_t plaintext[16], 48 int bt_crypto_decrypt_be(const uint8_t key[16], const uint8_t plaintext[16],
|
/AliOS-Things-master/components/ble_host/bt_host/common/ |
A D | rpa.c | 47 static int internal_encrypt_le(const u8_t key[16], const u8_t plaintext[16], in internal_encrypt_le() 53 ecb_encrypt(key, plaintext, enc_data, NULL); in internal_encrypt_le() 56 return bt_encrypt_le(key, plaintext, enc_data); in internal_encrypt_le()
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/ref_impl/ |
A D | mesh_hal_sec.c | 23 int bt_mesh_aes_encrypt(const uint8_t key[16], const uint8_t plaintext[16], uint8_t enc_data[16]) in bt_mesh_aes_encrypt() 25 return bt_encrypt_be(key, plaintext, enc_data); in bt_mesh_aes_encrypt()
|
/AliOS-Things-master/components/ble_host/bt_crypto/ |
A D | bt_crypto.c | 128 __BT_CRYPTO_WEAK__ int bt_crypto_encrypt_le(const u8_t key[16], const u8_t plaintext[16], in bt_crypto_encrypt_le() 134 BT_DBG("key %s plaintext %s", bt_hex(key, 16), bt_hex(plaintext, 16)); in bt_crypto_encrypt_le() 142 sys_memcpy_swap(tmp, plaintext, 16); in bt_crypto_encrypt_le() 155 __BT_CRYPTO_WEAK__ int bt_crypto_encrypt_be(const u8_t key[16], const u8_t plaintext[16], in bt_crypto_encrypt_be() 160 BT_DBG("key %s plaintext %s", bt_hex(key, 16), bt_hex(plaintext, 16)); in bt_crypto_encrypt_be() 166 if (tc_aes_encrypt(enc_data, plaintext, &s) == TC_CRYPTO_FAIL) { in bt_crypto_encrypt_be()
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/core/src/ |
A D | CommonClient.cc | 209 std::stringstream plaintext; in buildRoaHttpRequest() local 210 plaintext << HttpMethodToString(method) << "\n" in buildRoaHttpRequest() 217 plaintext << url.path(); in buildRoaHttpRequest() 219 plaintext << url.path() << "?" << url.query(); in buildRoaHttpRequest() 223 << signer_->generate(plaintext.str(), credentials.accessKeySecret()); in buildRoaHttpRequest() 285 std::stringstream plaintext; in buildRpcHttpRequest() local 286 plaintext << HttpMethodToString(method) << "&" << UrlEncode(url.path()) << "&" in buildRpcHttpRequest() 289 signer_->generate(plaintext.str(), credentials.accessKeySecret() + "&"); in buildRpcHttpRequest()
|
A D | RoaServiceClient.cc | 180 std::stringstream plaintext; in buildHttpRequest() local 181 plaintext << HttpMethodToString(method) << "\n" in buildHttpRequest() 188 plaintext << url.path(); in buildHttpRequest() 190 plaintext << url.path() << "?" << url.query(); in buildHttpRequest() 194 << signer_->generate(plaintext.str(), credentials.accessKeySecret()); in buildHttpRequest()
|
A D | RpcServiceClient.cc | 122 std::stringstream plaintext; in buildHttpRequest() local 123 plaintext << HttpMethodToString(method) << "&" << UrlEncode(url.path()) << "&" in buildHttpRequest() 126 signer_->generate(plaintext.str(), credentials.accessKeySecret() + "&"); in buildHttpRequest()
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | ccm.c | 472 unsigned char plaintext[CCM_SELFTEST_PT_MAX_LEN]; in mbedtls_ccm_self_test() local 492 memset( plaintext, 0, CCM_SELFTEST_PT_MAX_LEN ); in mbedtls_ccm_self_test() 494 memcpy( plaintext, msg, msg_len[i] ); in mbedtls_ccm_self_test() 498 plaintext, ciphertext, in mbedtls_ccm_self_test() 509 memset( plaintext, 0, CCM_SELFTEST_PT_MAX_LEN ); in mbedtls_ccm_self_test() 513 ciphertext, plaintext, in mbedtls_ccm_self_test() 517 memcmp( plaintext, msg, msg_len[i] ) != 0 ) in mbedtls_ccm_self_test()
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/port/ |
A D | mesh_hal_sec.h | 51 int bt_mesh_aes_encrypt(const uint8_t key[16], const uint8_t plaintext[16], uint8_t enc_data[16]);
|
/AliOS-Things-master/components/genie_service/genie_port/ |
A D | genie_port.h | 77 int bt_mesh_aes_encrypt(const uint8_t key[16], const uint8_t plaintext[16],
|
/AliOS-Things-master/components/ble_host/include/ |
A D | hci_api.h | 119 int hci_api_le_enc(uint8_t key[16], uint8_t plaintext[16], uint8_t ciphertext[16]);
|
/AliOS-Things-master/components/mbedtls/include/mbedtls/ |
A D | config.h.bak | 3079 * Maximum length (in bytes) of incoming and outgoing plaintext fragments. 3083 * plaintext data, regardless of the protection mechanism used. 3098 * Uncomment to set the maximum plaintext size of both 3105 * Maximum length (in bytes) of incoming plaintext fragments. 3108 * that it is capable of holding the specified amount of plaintext data, 3123 * Uncomment to set the maximum plaintext size of the incoming I/O buffer 3130 * Maximum length (in bytes) of outgoing plaintext fragments. 3133 * that it is capable of holding the specified amount of plaintext data, 3147 * Uncomment to set the maximum plaintext size of the outgoing I/O buffer
|
/AliOS-Things-master/components/mbedtls/ |
A D | ChangeLog | 74 a plaintext for RSA PKCS#1 v1.5 decryption but only observe the timing 297 partially recover the plaintext of messages under some conditions by 311 plaintext of messages under some conditions by using a cache attack 321 to partially recover the plaintext of messages under some conditions (see 503 * Return the plaintext data more quickly on unpadded CBC decryption, as
|