Lines Matching refs:size_t

182 size_t
184 const unsigned char *key, size_t keylen, in dtls_p_hash()
185 const unsigned char *label, size_t labellen, in dtls_p_hash()
186 const unsigned char *random1, size_t random1len, in dtls_p_hash()
187 const unsigned char *random2, size_t random2len, in dtls_p_hash()
188 unsigned char *buf, size_t buflen) { in dtls_p_hash()
193 size_t dlen; /* digest length */ in dtls_p_hash()
194 size_t len = 0; /* result length */ in dtls_p_hash()
248 size_t
249 dtls_prf(const unsigned char *key, size_t keylen, in dtls_prf()
250 const unsigned char *label, size_t labellen, in dtls_prf()
251 const unsigned char *random1, size_t random1len, in dtls_prf()
252 const unsigned char *random2, size_t random2len, in dtls_prf()
253 unsigned char *buf, size_t buflen) { in dtls_prf()
268 const unsigned char *packet, size_t length, in dtls_mac()
282 static size_t
283 dtls_ccm_encrypt(aes128_ccm_t *ccm_ctx, const unsigned char *src, size_t srclen, in dtls_ccm_encrypt()
286 const unsigned char *aad, size_t la) { in dtls_ccm_encrypt()
299 static size_t
301 size_t srclen, unsigned char *buf, in dtls_ccm_decrypt()
303 const unsigned char *aad, size_t la) { in dtls_ccm_decrypt()
318 dtls_psk_pre_master_secret(unsigned char *key, size_t keylen, in dtls_psk_pre_master_secret()
319 unsigned char *result, size_t result_len) { in dtls_psk_pre_master_secret()
342 static void dtls_ec_key_to_uint32(const unsigned char *key, size_t key_size, 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()
362 int dtls_ec_key_from_uint32_asn1(const uint32_t *key, size_t key_size, in dtls_ec_key_from_uint32_asn1()
401 size_t key_size, in dtls_ecdh_pre_master_secret()
403 size_t result_len) { in dtls_ecdh_pre_master_secret()
428 size_t key_size) { in dtls_ecdsa_generate_key()
446 dtls_ecdsa_create_sig_hash(const unsigned char *priv_key, size_t key_size, in dtls_ecdsa_create_sig_hash()
447 const unsigned char *sign_hash, size_t sign_hash_size, in dtls_ecdsa_create_sig_hash()
463 dtls_ecdsa_create_sig(const unsigned char *priv_key, size_t key_size, in dtls_ecdsa_create_sig()
464 const unsigned char *client_random, size_t client_random_size, in dtls_ecdsa_create_sig()
465 const unsigned char *server_random, size_t server_random_size, in dtls_ecdsa_create_sig()
466 const unsigned char *keyx_params, size_t keyx_params_size, in dtls_ecdsa_create_sig()
484 const unsigned char *pub_key_y, size_t key_size, in dtls_ecdsa_verify_sig_hash()
485 const unsigned char *sign_hash, size_t sign_hash_size, in dtls_ecdsa_verify_sig_hash()
504 const unsigned char *pub_key_y, size_t key_size, in dtls_ecdsa_verify_sig()
505 const unsigned char *client_random, size_t client_random_size, in dtls_ecdsa_verify_sig()
506 const unsigned char *server_random, size_t server_random_size, in dtls_ecdsa_verify_sig()
507 const unsigned char *keyx_params, size_t keyx_params_size, in dtls_ecdsa_verify_sig()
524 dtls_encrypt(const unsigned char *src, size_t length, in dtls_encrypt()
527 unsigned char *key, size_t keylen, in dtls_encrypt()
528 const unsigned char *aad, size_t la) in dtls_encrypt()
550 dtls_decrypt(const unsigned char *src, size_t length, in dtls_decrypt()
553 unsigned char *key, size_t keylen, in dtls_decrypt()
554 const unsigned char *aad, size_t la) in dtls_decrypt()