Searched refs:ctxDst (Results 1 – 5 of 5) sorted by relevance
/dports/security/xmlsec1/xmlsec1-1.2.29/src/mscrypto/ |
H A D | certkeys.c | 142 xmlSecAssert2(ctxDst != NULL, -1); in xmlSecMSCryptoKeyDataCtxDuplicateProvider() 154 ctxDst->fCallerFreeProv = TRUE; in xmlSecMSCryptoKeyDataCtxDuplicateProvider() 192 xmlSecAssert2(ctxDst != NULL, -1); in xmlSecMSCryptoKeyDataCtxDuplicateKey() 271 xmlSecAssert2(ctxDst != NULL, -1); in xmlSecMSCryptoKeyDataCtxDuplicateProvider() 277 ctxDst->p_prov = ctxSrc->p_prov; in xmlSecMSCryptoKeyDataCtxDuplicateProvider() 341 xmlSecAssert2(ctxDst != NULL, -1); in xmlSecMSCryptoKeyDataCtxDuplicateKey() 346 ctxDst->p_key = ctxSrc->p_key; in xmlSecMSCryptoKeyDataCtxDuplicateKey() 386 xmlSecAssert2(ctxDst != NULL, -1); in xmlSecMSCryptoKeyDataCtxDuplicateCert() 392 if(ctxDst->pCert == NULL) { in xmlSecMSCryptoKeyDataCtxDuplicateCert() 707 xmlSecMSCryptoKeyDataCtxPtr ctxDst; in xmlSecMSCryptoKeyDataDuplicate() local [all …]
|
/dports/security/xmlsec1/xmlsec1-1.2.29/src/gnutls/ |
H A D | x509.c | 492 xmlSecGnuTLSX509DataCtxPtr ctxDst; in xmlSecGnuTLSKeyDataX509Duplicate() local 500 ctxDst = xmlSecGnuTLSX509DataGetCtx(dst); in xmlSecGnuTLSKeyDataX509Duplicate() 501 xmlSecAssert2(ctxDst != NULL, 0); in xmlSecGnuTLSKeyDataX509Duplicate() 504 if(ctxDst->keyCert != NULL) { in xmlSecGnuTLSKeyDataX509Duplicate() 505 gnutls_x509_crt_deinit(ctxDst->keyCert); in xmlSecGnuTLSKeyDataX509Duplicate() 506 ctxDst->keyCert = NULL; in xmlSecGnuTLSKeyDataX509Duplicate() 509 ctxDst->keyCert = xmlSecGnuTLSX509CertDup(ctxSrc->keyCert); in xmlSecGnuTLSKeyDataX509Duplicate() 510 if(ctxDst->keyCert == NULL) { in xmlSecGnuTLSKeyDataX509Duplicate() 518 xmlSecPtrListEmpty(&(ctxDst->certsList)); in xmlSecGnuTLSKeyDataX509Duplicate() 527 xmlSecPtrListEmpty(&(ctxDst->crlsList)); in xmlSecGnuTLSKeyDataX509Duplicate() [all …]
|
/dports/security/xmlsec1/xmlsec1-1.2.29/src/nss/ |
H A D | pkikeys.c | 66 static int xmlSecNSSPKIKeyDataCtxDup (xmlSecNssPKIKeyDataCtxPtr ctxDst, 122 xmlSecNSSPKIKeyDataCtxDup(xmlSecNssPKIKeyDataCtxPtr ctxDst, in xmlSecNSSPKIKeyDataCtxDup() argument 125 xmlSecNSSPKIKeyDataCtxFree(ctxDst); in xmlSecNSSPKIKeyDataCtxDup() 127 ctxDst->privkey = SECKEY_CopyPrivateKey(ctxSrc->privkey); in xmlSecNSSPKIKeyDataCtxDup() 128 if(ctxDst->privkey == NULL) { in xmlSecNSSPKIKeyDataCtxDup() 135 ctxDst->pubkey = SECKEY_CopyPublicKey(ctxSrc->pubkey); in xmlSecNSSPKIKeyDataCtxDup() 136 if(ctxDst->pubkey == NULL) { in xmlSecNSSPKIKeyDataCtxDup() 356 xmlSecNssPKIKeyDataCtxPtr ctxDst; in xmlSecNssPKIKeyDataDuplicate() local 364 ctxDst = xmlSecNssPKIKeyDataGetCtx(dst); in xmlSecNssPKIKeyDataDuplicate() 365 xmlSecAssert2(ctxDst != NULL, -1); in xmlSecNssPKIKeyDataDuplicate() [all …]
|
/dports/security/xmlsec1/xmlsec1-1.2.29/src/gcrypt/ |
H A D | asymkeys.c | 101 xmlSecGCryptAsymKeyDataCtxPtr ctxDst; in xmlSecGCryptAsymKeyDataDuplicate() local 109 ctxDst = xmlSecGCryptAsymKeyDataGetCtx(dst); in xmlSecGCryptAsymKeyDataDuplicate() 110 xmlSecAssert2(ctxDst != NULL, -1); in xmlSecGCryptAsymKeyDataDuplicate() 111 xmlSecAssert2(ctxDst->pub_key == NULL, -1); in xmlSecGCryptAsymKeyDataDuplicate() 112 xmlSecAssert2(ctxDst->priv_key == NULL, -1); in xmlSecGCryptAsymKeyDataDuplicate() 118 ctxDst->pub_key = xmlSecGCryptAsymSExpDup(ctxSrc->pub_key); in xmlSecGCryptAsymKeyDataDuplicate() 119 if(ctxDst->pub_key == NULL) { in xmlSecGCryptAsymKeyDataDuplicate() 127 ctxDst->priv_key = xmlSecGCryptAsymSExpDup(ctxSrc->priv_key); in xmlSecGCryptAsymKeyDataDuplicate() 128 if(ctxDst->priv_key == NULL) { in xmlSecGCryptAsymKeyDataDuplicate()
|
/dports/security/xmlsec1/xmlsec1-1.2.29/src/openssl/ |
H A D | evp.c | 267 xmlSecOpenSSLEvpKeyDataCtxPtr ctxDst; in xmlSecOpenSSLEvpKeyDataDuplicate() local 275 ctxDst = xmlSecOpenSSLEvpKeyDataGetCtx(dst); in xmlSecOpenSSLEvpKeyDataDuplicate() 276 xmlSecAssert2(ctxDst != NULL, -1); in xmlSecOpenSSLEvpKeyDataDuplicate() 277 xmlSecAssert2(ctxDst->pKey == NULL, -1); in xmlSecOpenSSLEvpKeyDataDuplicate() 283 ctxDst->pKey = xmlSecOpenSSLEvpKeyDup(ctxSrc->pKey); in xmlSecOpenSSLEvpKeyDataDuplicate() 284 if(ctxDst->pKey == NULL) { in xmlSecOpenSSLEvpKeyDataDuplicate()
|