Home
last modified time | relevance | path

Searched refs:mac (Results 1 – 2 of 2) sorted by relevance

/uoscore-uedhoc-3.6.0/src/edhoc/
Dsignature_or_mac_msg.c45 static enum err mac(const struct byte_array *prk, const struct byte_array *th, in mac() function
49 struct suite *suite, struct byte_array *mac) in mac() argument
82 mac->len = suite->edhoc_mac_len_static_dh; in mac()
85 mac->len = get_hash_len(suite->edhoc_hash); in mac()
88 TRY(edhoc_kdf(suite->edhoc_hash, prk, mac_label, &context_mac, mac)); in mac()
90 PRINT_ARRAY("MAC 2/3", mac->ptr, mac->len); in mac()
109 const struct byte_array *mac, in signature_struct_gen() argument
130 TRY(cose_sig_structure_encode(&str, id_cred, &tmp, mac, out)); in signature_struct_gen()
145 TRY(mac(prk, th, id_cred, cred, ead, mac_label, static_dh, in signature_or_mac()
177 TRY(mac(prk, th, id_cred, cred, ead, mac_label, static_dh, in signature_or_mac()
/uoscore-uedhoc-3.6.0/scripts/
Dble_connect.sh70 read -a mac <<< "$device"
72 echo "connect $mac 2 " > /sys/kernel/debug/bluetooth/6lowpan_control
86 connected_device=$(hcitool con | grep $mac)
91 connected_device=$(hcitool con | grep $mac)