Home
last modified time | relevance | path

Searched refs:derive_key (Results 1 - 1 of 1) sorted by relevance

/third_party/ffmpeg/libavformat/
H A Dsrtp.c54 static void derive_key(struct AVAES *aes, const uint8_t *salt, int label, in derive_key() function
102 derive_key(s->aes, s->master_salt, 0x00, s->rtp_key, sizeof(s->rtp_key)); in ff_srtp_set_crypto()
103 derive_key(s->aes, s->master_salt, 0x02, s->rtp_salt, sizeof(s->rtp_salt)); in ff_srtp_set_crypto()
104 derive_key(s->aes, s->master_salt, 0x01, s->rtp_auth, sizeof(s->rtp_auth)); in ff_srtp_set_crypto()
106 derive_key(s->aes, s->master_salt, 0x03, s->rtcp_key, sizeof(s->rtcp_key)); in ff_srtp_set_crypto()
107 derive_key(s->aes, s->master_salt, 0x05, s->rtcp_salt, sizeof(s->rtcp_salt)); in ff_srtp_set_crypto()
108 derive_key(s->aes, s->master_salt, 0x04, s->rtcp_auth, sizeof(s->rtcp_auth)); in ff_srtp_set_crypto()

Completed in 1 milliseconds