Searched refs:FF_DH (Results 1 – 4 of 4) sorted by relevance
/third_party/ffmpeg/libavformat/ |
D | rtmpdh.h | 50 typedef struct FF_DH { struct 56 } FF_DH; argument 65 FF_DH *ff_dh_init(int key_len); 72 void ff_dh_free(FF_DH *dh); 80 int ff_dh_generate_public_key(FF_DH *dh); 90 int ff_dh_write_public_key(FF_DH *dh, uint8_t *pub_key, int pub_key_len); 103 int ff_dh_compute_shared_secret_key(FF_DH *dh, const uint8_t *pub_key,
|
D | rtmpdh.c | 221 #define dh_new() av_mallocz(sizeof(FF_DH)) 223 static FFBigNum dh_generate_key(FF_DH *dh) in dh_generate_key() 248 static int dh_compute_key(FF_DH *dh, FFBigNum pub_key_bn, in dh_compute_key() 269 void ff_dh_free(FF_DH *dh) in ff_dh_free() 321 av_cold FF_DH *ff_dh_init(int key_len) in ff_dh_init() 323 FF_DH *dh; in ff_dh_init() 348 int ff_dh_generate_public_key(FF_DH *dh) in ff_dh_generate_public_key() 374 int ff_dh_write_public_key(FF_DH *dh, uint8_t *pub_key, int pub_key_len) in ff_dh_write_public_key() 390 int ff_dh_compute_shared_secret_key(FF_DH *dh, const uint8_t *pub_key, in ff_dh_compute_shared_secret_key()
|
D | rtmpcrypt.c | 45 FF_DH *dh; ///< Diffie-Hellman context
|
/third_party/ffmpeg/libavformat/tests/ |
D | rtmpdh.c | 26 FF_DH *peer1 = NULL, *peer2 = NULL; in test_random_shared_secret() 115 FF_DH *dh; in test_ref_data()
|