Home
last modified time | relevance | path

Searched refs:newcache (Results 1 – 3 of 3) sorted by relevance

/src/crypto/openssl/crypto/encode_decode/
H A Ddecoder_pkey.c835 DECODER_CACHE_ENTRY cacheent, *res, *newcache = NULL; in OSSL_DECODER_CTX_new_for_pkey() local
906 newcache = OPENSSL_zalloc(sizeof(*newcache)); in OSSL_DECODER_CTX_new_for_pkey()
907 if (newcache == NULL) { in OSSL_DECODER_CTX_new_for_pkey()
913 newcache->input_type = OPENSSL_strdup(input_type); in OSSL_DECODER_CTX_new_for_pkey()
914 if (newcache->input_type == NULL) in OSSL_DECODER_CTX_new_for_pkey()
918 newcache->input_structure = OPENSSL_strdup(input_structure); in OSSL_DECODER_CTX_new_for_pkey()
919 if (newcache->input_structure == NULL) in OSSL_DECODER_CTX_new_for_pkey()
923 newcache->keytype = OPENSSL_strdup(keytype); in OSSL_DECODER_CTX_new_for_pkey()
924 if (newcache->keytype == NULL) in OSSL_DECODER_CTX_new_for_pkey()
928 newcache->propquery = OPENSSL_strdup(propquery); in OSSL_DECODER_CTX_new_for_pkey()
[all …]
/src/crypto/krb5/src/lib/krb5/ccache/
H A Dt_cc.c256 char newcache[300]; in cc_test() local
321 snprintf(newcache, sizeof(newcache), "%s.new", name); in cc_test()
322 kret = krb5_cc_resolve(context, newcache, &id2); in cc_test()
/src/crypto/openssl/ssl/quic/
H A Dquic_impl.c4742 SSL_TOKEN_STORE *newcache = OPENSSL_zalloc(sizeof(SSL_TOKEN_STORE)); in ossl_quic_new_token_store() local
4744 if (newcache == NULL) in ossl_quic_new_token_store()
4747 newcache->cache = lh_QUIC_TOKEN_new(quic_token_hash, quic_token_cmp); in ossl_quic_new_token_store()
4748 if (newcache->cache == NULL) in ossl_quic_new_token_store()
4752 if ((newcache->mutex = ossl_crypto_mutex_new()) == NULL) in ossl_quic_new_token_store()
4756 if (!CRYPTO_NEW_REF(&newcache->references, 1)) in ossl_quic_new_token_store()
4762 ossl_quic_free_token_store(newcache); in ossl_quic_new_token_store()
4763 newcache = NULL; in ossl_quic_new_token_store()
4765 return newcache; in ossl_quic_new_token_store()