Searched refs:sha256hash (Results 1 – 2 of 2) sorted by relevance
/net-tools-2.7.6/tinydtls-0.8.2/ |
D | crypto.c | 469 unsigned char sha256hash[DTLS_HMAC_DIGEST_SIZE]; in dtls_ecdsa_create_sig() local 475 dtls_hash_finalize(sha256hash, &data); in dtls_ecdsa_create_sig() 477 dtls_ecdsa_create_sig_hash(priv_key, key_size, sha256hash, in dtls_ecdsa_create_sig() 478 sizeof(sha256hash), point_r, point_s); in dtls_ecdsa_create_sig() 510 unsigned char sha256hash[DTLS_HMAC_DIGEST_SIZE]; in dtls_ecdsa_verify_sig() local 516 dtls_hash_finalize(sha256hash, &data); in dtls_ecdsa_verify_sig() 518 return dtls_ecdsa_verify_sig_hash(pub_key_x, pub_key_y, key_size, sha256hash, in dtls_ecdsa_verify_sig() 519 sizeof(sha256hash), result_r, result_s); in dtls_ecdsa_verify_sig()
|
D | dtls.c | 1700 unsigned char sha256hash[DTLS_HMAC_DIGEST_SIZE]; in check_client_certificate_verify() local 1720 dtls_hash_finalize(sha256hash, &hs_hash); in check_client_certificate_verify() 1724 sha256hash, sizeof(sha256hash), in check_client_certificate_verify() 2251 unsigned char sha256hash[DTLS_HMAC_DIGEST_SIZE]; in dtls_send_certificate_verify_ecdh() local 2260 dtls_hash_finalize(sha256hash, &hs_hash); in dtls_send_certificate_verify_ecdh() 2264 sha256hash, sizeof(sha256hash), in dtls_send_certificate_verify_ecdh()
|