Home
last modified time | relevance | path

Searched refs:cachedSecret (Results 1 – 10 of 10) sorted by relevance

/dports/security/bzrtp/bzrtp-1.0.6/test/
H A DbzrtpZidCacheTest.c173 BC_ASSERT_EQUAL(aliceContext->cachedSecret.rs1Length, 16, int, "%d"); in test_cache_zrtpSecrets()
175 BC_ASSERT_EQUAL(aliceContext->cachedSecret.rs2Length, 32, int, "%d"); in test_cache_zrtpSecrets()
179 BC_ASSERT_EQUAL(aliceContext->cachedSecret.pbxsecretLength, 0, int, "%d"); in test_cache_zrtpSecrets()
180 BC_ASSERT_PTR_NULL(aliceContext->cachedSecret.pbxsecret); in test_cache_zrtpSecrets()
186 BC_ASSERT_EQUAL(aliceContext->cachedSecret.rs1Length, 0, int, "%d"); in test_cache_zrtpSecrets()
187 BC_ASSERT_PTR_NULL(aliceContext->cachedSecret.rs1); in test_cache_zrtpSecrets()
188 BC_ASSERT_EQUAL(aliceContext->cachedSecret.rs2Length, 0, int, "%d"); in test_cache_zrtpSecrets()
189 BC_ASSERT_PTR_NULL(aliceContext->cachedSecret.rs2); in test_cache_zrtpSecrets()
190 BC_ASSERT_EQUAL(aliceContext->cachedSecret.auxsecretLength, 0, int, "%d"); in test_cache_zrtpSecrets()
191 BC_ASSERT_PTR_NULL(aliceContext->cachedSecret.auxsecret); in test_cache_zrtpSecrets()
[all …]
H A DbzrtpParserTest.c826 s1 = contextAlice->cachedSecret.rs1; in test_parserComplete()
829 s1 = contextAlice->cachedSecret.rs2; in test_parserComplete()
890 free(contextAlice->cachedSecret.rs1); in test_parserComplete()
895 free(contextAlice->cachedSecret.rs2); in test_parserComplete()
921 s1 = contextBob->cachedSecret.rs1; in test_parserComplete()
924 s1 = contextBob->cachedSecret.rs2; in test_parserComplete()
985 …bzrtp_DestroyKey(contextBob->cachedSecret.rs1, contextBob->cachedSecret.rs1Length, contextBob->RNG… in test_parserComplete()
986 free(contextBob->cachedSecret.rs1); in test_parserComplete()
987 contextBob->cachedSecret.rs1 = NULL; in test_parserComplete()
991 free(contextBob->cachedSecret.rs2); in test_parserComplete()
[all …]
/dports/security/bzrtp/bzrtp-1.0.6/src/
H A DzidCache.c276 free(context->cachedSecret.rs1); in bzrtp_getPeerAssociatedSecrets()
277 free(context->cachedSecret.rs2); in bzrtp_getPeerAssociatedSecrets()
278 free(context->cachedSecret.pbxsecret); in bzrtp_getPeerAssociatedSecrets()
280 context->cachedSecret.rs1 = NULL; in bzrtp_getPeerAssociatedSecrets()
281 context->cachedSecret.rs1Length = 0; in bzrtp_getPeerAssociatedSecrets()
282 context->cachedSecret.rs2 = NULL; in bzrtp_getPeerAssociatedSecrets()
283 context->cachedSecret.rs2Length = 0; in bzrtp_getPeerAssociatedSecrets()
839 free(context->cachedSecret.rs1); in bzrtp_getPeerAssociatedSecrets()
840 free(context->cachedSecret.rs2); in bzrtp_getPeerAssociatedSecrets()
843 context->cachedSecret.rs1 = NULL; in bzrtp_getPeerAssociatedSecrets()
[all …]
H A DstateMachine.c508 free(zrtpContext->cachedSecret.rs1); in state_keyAgreement_sendingCommit()
509 zrtpContext->cachedSecret.rs1= NULL; in state_keyAgreement_sendingCommit()
522 free(zrtpContext->cachedSecret.rs2); in state_keyAgreement_sendingCommit()
806 free(zrtpContext->cachedSecret.rs1); in state_keyAgreement_responderSendingDHPart1()
807 zrtpContext->cachedSecret.rs1= NULL; in state_keyAgreement_responderSendingDHPart1()
1870 s1 = zrtpContext->cachedSecret.rs1; in bzrtp_computeS0DHMMode()
1873 s1 = zrtpContext->cachedSecret.rs2; in bzrtp_computeS0DHMMode()
2234 free(zrtpContext->cachedSecret.rs1); in bzrtp_updateCachedSecrets()
2235 zrtpContext->cachedSecret.rs1 = NULL; in bzrtp_updateCachedSecrets()
2239 free(zrtpContext->cachedSecret.rs2); in bzrtp_updateCachedSecrets()
[all …]
H A Dbzrtp.c91 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()
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()
213 bzrtp_DestroyKey(context->cachedSecret.rs2, context->cachedSecret.rs2Length, context->RNGContext); in bzrtp_destroyBzrtpContext()
214 free(context->cachedSecret.rs2); in bzrtp_destroyBzrtpContext()
[all …]
H A DpacketParser.c1305 zrtpConfirmMessage->V = zrtpContext->cachedSecret.previouslyVerifiedSas; in bzrtp_createZrtpPacket()
/dports/sysutils/istio/istio-1.6.7/security/pkg/nodeagent/cache/
H A Dsecretcache_test.go411 cachedSecret, found := sc.secrets.Load(key)
416 if !reflect.DeepEqual(*gotSecret, cachedSecret) {
566 cachedSecret, found := sc.secrets.Load(key)
571 if !reflect.DeepEqual(*gotSecret, cachedSecret) {
597 cachedSecret, found := sc.secrets.Load(key)
602 if !reflect.DeepEqual(*gotSecret, cachedSecret) {
994 cachedSecret, found := sc.secrets.Load(key)
998 if !reflect.DeepEqual(*gotSecret, cachedSecret) {
999 t.Errorf("Secret key: got %+v, want %+v", *gotSecret, cachedSecret)
1127 cachedSecret, found := sc.secrets.Load(key)
[all …]
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/auth/
H A Dsasl_scramsha1_test.cpp549 auto cachedSecret = cache.getCachedSecrets(host, scram::SCRAMPresecrets("aaa", salt, 10000)); in TEST() local
550 ASSERT_TRUE(cachedSecret); in TEST()
551 ASSERT_TRUE(secret->clientKey == cachedSecret->clientKey); in TEST()
552 ASSERT_TRUE(secret->serverKey == cachedSecret->serverKey); in TEST()
553 ASSERT_TRUE(secret->storedKey == cachedSecret->storedKey); in TEST()
588 auto cachedSecret = cache.getCachedSecrets(host, scram::SCRAMPresecrets("aab", salt, 10000)); in TEST() local
589 ASSERT_TRUE(cachedSecret); in TEST()
590 ASSERT_TRUE(newSecret->clientKey == cachedSecret->clientKey); in TEST()
591 ASSERT_TRUE(newSecret->serverKey == cachedSecret->serverKey); in TEST()
592 ASSERT_TRUE(newSecret->storedKey == cachedSecret->storedKey); in TEST()
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/controller/serviceaccount/
H A Dtokens_controller.go515 func (e *TokensController) generateTokenIfNeeded(serviceAccount *v1.ServiceAccount, cachedSecret *v…
517 …if needsCA, needsNamespace, needsToken := e.secretUpdateNeeded(cachedSecret); !needsCA && !needsTo…
523 secrets := e.client.CoreV1().Secrets(cachedSecret.Namespace)
524 liveSecret, err := secrets.Get(context.TODO(), cachedSecret.Name, metav1.GetOptions{})
529 if liveSecret.ResourceVersion != cachedSecret.ResourceVersion {
/dports/security/bzrtp/bzrtp-1.0.6/include/
H A Dtypedef.h246 cachedSecrets_t cachedSecret; /**< the local cached secrets */ member