Home
last modified time | relevance | path

Searched refs:la (Results 1 – 10 of 10) sorted by relevance

/net-tools-latest/tinydtls-0.8.2/
Dccm.c52 size_t la, /* l(a) octets additional authenticated data */ in block0() argument
58 result[0] = CCM_FLAGS(la, M, L); in block0()
84 add_auth_data(rijndael_ctx *ctx, const unsigned char *msg, size_t la, in add_auth_data() argument
93 if (!la) in add_auth_data()
97 if (la < 0xFF00) { /* 2^16 - 2^8 */ in add_auth_data()
99 dtls_int_to_uint16(B, la); in add_auth_data()
100 } else if (la <= UINT32_MAX) { in add_auth_data()
103 dtls_int_to_uint32(B+2, la); in add_auth_data()
107 dtls_int_to_uint64(B+2, la); in add_auth_data()
117 assert(la < 0xFF00); in add_auth_data()
[all …]
Dccm.h61 const unsigned char *aad, size_t la);
67 const unsigned char *aad, size_t la);
Dcrypto.c286 const unsigned char *aad, size_t la) { in dtls_ccm_encrypt() argument
295 aad, la); in dtls_ccm_encrypt()
303 const unsigned char *aad, size_t la) { in dtls_ccm_decrypt() argument
312 aad, la); in dtls_ccm_decrypt()
528 const unsigned char *aad, size_t la) in dtls_encrypt() argument
542 ret = dtls_ccm_encrypt(&ctx->data, src, length, buf, nounce, aad, la); in dtls_encrypt()
554 const unsigned char *aad, size_t la) in dtls_decrypt() argument
568 ret = dtls_ccm_decrypt(&ctx->data, src, length, buf, nounce, aad, la); in dtls_decrypt()
/net-tools-latest/tinydtls-0.8.2/tests/
Dccm-test.c67 data[n].msg + data[n].la,
68 data[n].lm - data[n].la,
69 data[n].msg, data[n].la);
71 len += + data[n].la;
82 data[n].msg + data[n].la, len - data[n].la,
83 data[n].msg, data[n].la);
88 printf("\t*** MAC verified (total length = %lu) ***\n", len + data[n].la);
Dccm-testdata.c31 size_t la; /* number of bytes additional data */ member
/net-tools-latest/libcoap/examples/
DMakefile.am18 coap_client_LDADD = @top_builddir@/.libs/libcoap-$(LIBCOAP_API_VERSION).la
21 coap_server_LDADD = @top_builddir@/.libs/libcoap-$(LIBCOAP_API_VERSION).la
24 coap_rd_LDADD = @top_builddir@/.libs/libcoap-$(LIBCOAP_API_VERSION).la
/net-tools-latest/libcoap/tests/
DMakefile.am26 testdriver_LDADD = @CUNIT_LIBS@ @top_builddir@/.libs/libcoap-$(LIBCOAP_API_VERSION).la
/net-tools-latest/libcoap/
D.gitignore28 libcoap*.la
DMakefile.am40 lib_LTLIBRARIES = libcoap-@LIBCOAP_API_VERSION@.la
/net-tools-latest/
D.gitignore48 libcoap/libcoap*.la