Lines Matching defs:digest
81 #define PLAYER_KEY_OPEN_PART_LEN 30 ///< length of partial key used for first client digest signing
82 /** Client key used for digest signing */
92 #define SERVER_KEY_OPEN_PART_LEN 36 ///< length of partial key used for first server digest signing
93 /** Key used for RTMP server digest signing */
365 * Calculate HMAC-SHA2 digest for RTMP handshake packets.
370 * when calculating digest (since it will be used to store that digest)
371 * @param key digest key
372 * @param keylen digest key length
373 * @param dst buffer where calculated digest will be stored (32 bytes)
398 } else { //skip 32 bytes used for storing digest
414 * Put HMAC-SHA2 digest of packet data (except for the bytes where this digest
418 * @return offset to the digest inside input data
435 * Verify that the received server response has the expected digest value.
438 * @param off position to search digest offset from
439 * @return 0 if digest is valid, digest position otherwise
444 uint8_t digest[32];
452 digest);
453 if (!memcmp(digest, buf + digest_pos, 32))
460 * signed with HMAC-SHA2 digest.
479 uint8_t digest[32];
516 digest);
518 digest, 32,
519 digest);
520 if (memcmp(digest, clientdata + RTMP_HANDSHAKE_PACKET_SIZE - 32, 32)) {
529 digest);
531 digest, 32,