Home
last modified time | relevance | path

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

/net-tools-3.5.0/tinydtls-0.8.2/
Dcrypto.c342 static void dtls_ec_key_to_uint32(const unsigned char *key, size_t key_size, in dtls_ec_key_to_uint32() argument
346 for (i = (key_size / sizeof(uint32_t)) - 1; i >= 0 ; i--) { in dtls_ec_key_to_uint32()
352 static void dtls_ec_key_from_uint32(const uint32_t *key, size_t key_size, in dtls_ec_key_from_uint32() argument
356 for (i = (key_size / sizeof(uint32_t)) - 1; i >= 0 ; i--) { in dtls_ec_key_from_uint32()
362 int dtls_ec_key_from_uint32_asn1(const uint32_t *key, size_t key_size, in dtls_ec_key_from_uint32_asn1() argument
368 for (i = (key_size / sizeof(uint32_t)) - 1; i >= 0 ; i--) { in dtls_ec_key_from_uint32_asn1()
401 size_t key_size, in dtls_ecdh_pre_master_secret() argument
410 if (result_len < key_size) { in dtls_ecdh_pre_master_secret()
414 dtls_ec_key_to_uint32(priv_key, key_size, priv); in dtls_ecdh_pre_master_secret()
415 dtls_ec_key_to_uint32(pub_key_x, key_size, pub_x); in dtls_ecdh_pre_master_secret()
[all …]
Dcrypto.h314 size_t key_size,
321 size_t key_size);
323 void dtls_ecdsa_create_sig_hash(const unsigned char *priv_key, size_t key_size,
327 void dtls_ecdsa_create_sig(const unsigned char *priv_key, size_t key_size,
334 const unsigned char *pub_key_y, size_t key_size,
339 const unsigned char *pub_key_y, size_t key_size,
345 int dtls_ec_key_from_uint32_asn1(const uint32_t *key, size_t key_size,
Ddtls.h218 size_t key_size);
/net-tools-3.5.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_ccm.function18 void mbedtls_ccm_setkey( int cipher_id, int key_size, int result )
27 TEST_ASSERT( (unsigned) key_size <= 8 * sizeof( key ) );
29 ret = mbedtls_ccm_setkey( &ctx, cipher_id, key, key_size );
Dtest_suite_cmac.function102 void mbedtls_cmac_setkey( int cipher_type, int key_size,
111 TEST_ASSERT( (unsigned) key_size <= 8 * sizeof( key ) );
117 TEST_ASSERT( ( result == mbedtls_cipher_cmac( cipher_info, key, key_size,
/net-tools-3.5.0/tinydtls-0.8.2/examples/contiki/
Ddtls-server.c183 size_t key_size) { in verify_ecdsa_key() argument
Ddtls-client.c202 size_t key_size) { in verify_ecdsa_key() argument
/net-tools-3.5.0/tinydtls-0.8.2/tests/
Ddtls-server.c118 size_t key_size) { in verify_ecdsa_key() argument
Ddtls-client.c164 size_t key_size) { in verify_ecdsa_key() argument
/net-tools-3.5.0/
Dcoap-client.c589 size_t key_size) in verify_ecdsa_key() argument