Searched refs:calg (Results 1 - 9 of 9) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/cms/
H A Dcms_enc.c75 X509_ALGOR *calg = ec->contentEncryptionAlgorithm; local
102 ciph = EVP_get_cipherbyobj(calg->algorithm);
118 calg->algorithm = OBJ_nid2obj(EVP_CIPHER_CTX_type(ctx));
126 } else if (EVP_CIPHER_asn1_to_param(ctx, calg->parameter) <= 0) {
184 calg->parameter = ASN1_TYPE_new();
185 if (!calg->parameter) {
189 if (EVP_CIPHER_param_to_asn1(ctx, calg->parameter) <= 0) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/cms/
H A Dcms_enc.c75 X509_ALGOR *calg = ec->contentEncryptionAlgorithm; local
102 ciph = EVP_get_cipherbyobj(calg->algorithm);
118 calg->algorithm = OBJ_nid2obj(EVP_CIPHER_CTX_type(ctx));
126 } else if (EVP_CIPHER_asn1_to_param(ctx, calg->parameter) <= 0) {
184 calg->parameter = ASN1_TYPE_new();
185 if (!calg->parameter) {
189 if (EVP_CIPHER_param_to_asn1(ctx, calg->parameter) <= 0) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/crypto/
H A Dshash.c325 struct crypto_alg *calg = tfm->__crt_alg; local
326 struct shash_alg *alg = __crypto_shash_alg(calg);
331 if (!crypto_mod_get(calg))
334 shash = crypto_create_tfm(calg, &crypto_shash_type);
336 crypto_mod_put(calg);
448 struct crypto_alg *calg = tfm->__crt_alg; local
449 struct shash_alg *alg = __crypto_shash_alg(calg);
454 if (!crypto_mod_get(calg))
457 shash = crypto_create_tfm(calg, &crypto_shash_type);
459 crypto_mod_put(calg);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/xfrm/
H A Dxfrm_ipcomp.c345 if (!x->calg)
360 ipcd->tfms = ipcomp_alloc_tfms(x->calg->alg_name);
365 calg_desc = xfrm_calg_get_byname(x->calg->alg_name, 0);
H A Dxfrm_state.c362 kfree(x->calg);
1159 if (orig->calg) {
1160 x->calg = xfrm_algo_clone(orig->calg);
1161 if (!x->calg)
H A Dxfrm_user.c430 if ((err = attach_one_algo(&x->calg, &x->props.calgo,
685 if (x->calg)
686 NLA_PUT(skb, XFRMA_ALG_COMP, sizeof(*(x->calg)), x->calg);
2294 if (x->calg)
2295 l += nla_total_size(sizeof(*x->calg));
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/key/
H A Daf_key.c809 BUG_ON(x->ealg && x->calg);
814 /* KAME compatible: sadb_sa_encrypt is overloaded with calg id */
815 if (x->calg) {
816 struct xfrm_algo_desc *a = xfrm_calg_get_byname(x->calg->alg_name, 0);
1154 x->calg = kmalloc(sizeof(*x->calg), GFP_KERNEL);
1155 if (!x->calg)
1157 strcpy(x->calg->alg_name, a->name);
/netgear-R7000-V1.0.7.12_1.2.5/src/router/iputils/racoon/
H A Dpfkey.c2212 pk_checkalg(class, calg, keylen)
2213 int class, calg, keylen;
2236 alg = ipsecdoi2pfkey_alg(algclass2doi(class), algtype2doi(class, calg));
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/
H A Dxfrm.h170 struct xfrm_algo *calg; member in struct:xfrm_state

Completed in 144 milliseconds