Lines Matching refs:cachedSecret

91 	context->cachedSecret.rs1 = NULL;  in bzrtp_createBzrtpContext()
92 context->cachedSecret.rs1Length = 0; in bzrtp_createBzrtpContext()
93 context->cachedSecret.rs2 = NULL; in bzrtp_createBzrtpContext()
94 context->cachedSecret.rs2Length = 0; in bzrtp_createBzrtpContext()
95 context->cachedSecret.pbxsecret = NULL; in bzrtp_createBzrtpContext()
96 context->cachedSecret.pbxsecretLength = 0; in bzrtp_createBzrtpContext()
97 context->cachedSecret.auxsecret = NULL; in bzrtp_createBzrtpContext()
98 context->cachedSecret.auxsecretLength = 0; in bzrtp_createBzrtpContext()
207 if (context->cachedSecret.rs1!=NULL) { in bzrtp_destroyBzrtpContext()
208 bzrtp_DestroyKey(context->cachedSecret.rs1, context->cachedSecret.rs1Length, context->RNGContext); in bzrtp_destroyBzrtpContext()
209 free(context->cachedSecret.rs1); in bzrtp_destroyBzrtpContext()
210 context->cachedSecret.rs1 = NULL; in bzrtp_destroyBzrtpContext()
212 if (context->cachedSecret.rs2!=NULL) { in bzrtp_destroyBzrtpContext()
213 bzrtp_DestroyKey(context->cachedSecret.rs2, context->cachedSecret.rs2Length, context->RNGContext); in bzrtp_destroyBzrtpContext()
214 free(context->cachedSecret.rs2); in bzrtp_destroyBzrtpContext()
215 context->cachedSecret.rs2 = NULL; in bzrtp_destroyBzrtpContext()
217 if (context->cachedSecret.auxsecret!=NULL) { in bzrtp_destroyBzrtpContext()
218 …bzrtp_DestroyKey(context->cachedSecret.auxsecret, context->cachedSecret.auxsecretLength, context->… in bzrtp_destroyBzrtpContext()
219 free(context->cachedSecret.auxsecret); in bzrtp_destroyBzrtpContext()
220 context->cachedSecret.auxsecret = NULL; in bzrtp_destroyBzrtpContext()
222 if (context->cachedSecret.pbxsecret!=NULL) { in bzrtp_destroyBzrtpContext()
223 …bzrtp_DestroyKey(context->cachedSecret.pbxsecret, context->cachedSecret.pbxsecretLength, context->… in bzrtp_destroyBzrtpContext()
224 free(context->cachedSecret.pbxsecret); in bzrtp_destroyBzrtpContext()
225 context->cachedSecret.pbxsecret = NULL; in bzrtp_destroyBzrtpContext()