Searched refs:key_size (Results 1 – 10 of 10) sorted by relevance
/net-tools-3.5.0/tinydtls-0.8.2/ |
D | crypto.c | 342 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 …]
|
D | crypto.h | 314 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,
|
D | dtls.h | 218 size_t key_size);
|
/net-tools-3.5.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_ccm.function | 18 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 );
|
D | test_suite_cmac.function | 102 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/ |
D | dtls-server.c | 183 size_t key_size) { in verify_ecdsa_key() argument
|
D | dtls-client.c | 202 size_t key_size) { in verify_ecdsa_key() argument
|
/net-tools-3.5.0/tinydtls-0.8.2/tests/ |
D | dtls-server.c | 118 size_t key_size) { in verify_ecdsa_key() argument
|
D | dtls-client.c | 164 size_t key_size) { in verify_ecdsa_key() argument
|
/net-tools-3.5.0/ |
D | coap-client.c | 589 size_t key_size) in verify_ecdsa_key() argument
|