Home
last modified time | relevance | path

Searched refs:encrypt (Results 1 – 25 of 34) sorted by relevance

12

/Zephyr-latest/samples/drivers/crypto/src/
Dmain.c136 struct cipher_pkt encrypt = { in ecb_mode() local
143 .in_buf = encrypt.out_buf, in ecb_mode()
155 if (cipher_block_op(&ini, &encrypt)) { in ecb_mode()
160 LOG_INF("Output length (encryption): %d", encrypt.out_len); in ecb_mode()
162 if (memcmp(encrypt.out_buf, ecb_ciphertext, sizeof(ecb_ciphertext))) { in ecb_mode()
165 print_buffer_comparison(ecb_ciphertext, encrypt.out_buf, in ecb_mode()
218 struct cipher_pkt encrypt = { in cbc_mode() local
225 .in_buf = encrypt.out_buf, in cbc_mode()
242 if (cipher_cbc_op(&ini, &encrypt, iv)) { in cbc_mode()
247 LOG_INF("Output length (encryption): %d", encrypt.out_len); in cbc_mode()
[all …]
/Zephyr-latest/subsys/mgmt/osdp/src/
Dosdp_common.c59 struct cipher_pkt encrypt = { in osdp_encrypt() local
80 if (cipher_cbc_op(&ctx, &encrypt, iv)) { in osdp_encrypt()
91 if (cipher_block_op(&ctx, &encrypt)) { in osdp_encrypt()
/Zephyr-latest/modules/
DKconfig.tinycrypt62 bool "AES-128 decrypt/encrypt"
64 This option enables support for AES-128 decrypt and encrypt.
DKconfig.mcuboot70 The file contains the public key that is used to encrypt the
77 sign and encrypt the final binaries using a 'west sign -t imgtool'
90 If left empty, you must encrypt the Zephyr binaries manually.
/Zephyr-latest/samples/userspace/shared_mem/
DREADME.rst52 the encrypt thread. After writing the buffer, the flag is set. The
53 encrypt thread copies the memory from the common buffer into the
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dop_agg_srv.rst20 to encrypt the sequence of access layer messages sent to the Opcodes Aggregator Server.
/Zephyr-latest/boards/native/nrf_bsim/
DKconfig.defconfig59 # default to encrypt packets on its own.
/Zephyr-latest/cmake/
Dmcuboot.cmake168 ${imgtool_sign} ${imgtool_args} --encrypt "${keyfile_enc}" ${output}.bin
188 ${imgtool_sign} ${imgtool_args_alt_slot} --encrypt "${keyfile_enc}"
220 ${imgtool_sign} ${imgtool_args} --encrypt "${keyfile_enc}" ${output}.hex
240 ${imgtool_sign} ${imgtool_args_alt_slot} --encrypt "${keyfile_enc}"
/Zephyr-latest/samples/bluetooth/bap_broadcast_source/
DKconfig45 Setting a non-empty string for this option will encrypt the broadcast using this
/Zephyr-latest/modules/trusted-firmware-m/
DKconfig.tfm.crypto_modules62 Unset this option if the encrypt functionality provided by 'crypto_asymmetric.c'
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dcap.h651 bool encrypt; member
/Zephyr-latest/subsys/bluetooth/host/classic/
Dbr.c149 if (!conn->encrypt) { in bt_br_update_sec_level()
156 if (conn->encrypt == 0x02) { in bt_br_update_sec_level()
234 conn->encrypt = evt->encr_enabled; in bt_hci_conn_complete()
Dl2cap_br.c1016 BT_FEAT_HOST_SSP(conn->br.features) && !conn->encrypt) { in l2cap_br_conn_req()
1930 LOG_DBG("chan %p status 0x%02x encr 0x%02x", chan, status, chan->conn->encrypt); in l2cap_br_conn_pend()
1948 if (!chan->conn->encrypt) { in l2cap_br_conn_pend()
Dssp.c822 encr->encrypt = 0x01; in link_encr()
Drfcomm.c1580 LOG_DBG("session %p status 0x%02x encr 0x%02x", session, hci_status, conn->encrypt); in rfcomm_encrypt_change()
1589 if (hci_status || !conn->encrypt || in rfcomm_encrypt_change()
/Zephyr-latest/subsys/bluetooth/host/
Dconn_internal.h227 uint8_t encrypt; member
Dhci_core.c2151 evt->status, bt_hci_err_to_str(evt->status), handle, evt->encrypt); in hci_encrypt_change()
2166 if (conn->encrypt == evt->encrypt) { in hci_encrypt_change()
2167 LOG_WRN("No change to encryption state (encrypt 0x%02x)", evt->encrypt); in hci_encrypt_change()
2172 conn->encrypt = evt->encrypt; in hci_encrypt_change()
2184 if (conn->encrypt) { in hci_encrypt_change()
Dsmp.c955 if (IS_ENABLED(CONFIG_BT_SMP_FORCE_BREDR) && conn->encrypt != 0x02) { in smp_br_derive_ltk()
1130 if (smp->chan.chan.conn->encrypt == 0x02) { in smp_br_pairing_allowed()
1135 smp->chan.chan.conn->encrypt == 0x01) { in smp_br_pairing_allowed()
4735 conn->handle, conn->encrypt, hci_status, bt_hci_err_to_str(hci_status)); in bt_smp_encrypt_change()
4758 if (!conn->encrypt) { in bt_smp_encrypt_change()
/Zephyr-latest/samples/boards/espressif/flash_encryption/
DREADME.rst51 When enabling the Flash Encryption, user can encrypt the content either using a device
/Zephyr-latest/subsys/secure_storage/
DKconfig.its_transform37 The AEAD scheme used to encrypt and authenticate the data.
/Zephyr-latest/doc/connectivity/bluetooth/shell/host/
Dgap.rst201 To encrypt the advertising data, key materials need to be provided, that can be done with :code:`bt
207 Specification), when the later will read the given data, encrypt them and then add the generated
/Zephyr-latest/subsys/bluetooth/audio/
Dcsip_set_member.c468 if (err != 0 || conn->encrypt == 0) { in csip_security_changed()
Dpacs.c980 if (err != 0 || conn->encrypt == 0) { in pacs_security_changed()
/Zephyr-latest/doc/services/tfm/
Doverview.rst240 **Protected Storage** service, for example, to encrypt information stored in
/Zephyr-latest/modules/mbedtls/
DKconfig.tls-generic267 bool "Xor-encrypt-xor with ciphertext stealing mode (XTS) for AES"

12