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

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl-1.0.0q/crypto/cms/
H A Dcms_enc.c74 X509_ALGOR *calg = ec->contentEncryptionAlgorithm; local
106 ciph = EVP_get_cipherbyobj(calg->algorithm);
126 calg->algorithm = OBJ_nid2obj(EVP_CIPHER_CTX_type(ctx));
136 else if (EVP_CIPHER_asn1_to_param(ctx, calg->parameter) <= 0)
205 calg->parameter = ASN1_TYPE_new();
206 if (!calg->parameter)
212 if (EVP_CIPHER_param_to_asn1(ctx, calg->parameter) <= 0)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/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) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openssl-1.0.0q/crypto/cms/
H A Dcms_enc.c74 X509_ALGOR *calg = ec->contentEncryptionAlgorithm; local
106 ciph = EVP_get_cipherbyobj(calg->algorithm);
126 calg->algorithm = OBJ_nid2obj(EVP_CIPHER_CTX_type(ctx));
136 else if (EVP_CIPHER_asn1_to_param(ctx, calg->parameter) <= 0)
205 calg->parameter = ASN1_TYPE_new();
206 if (!calg->parameter)
212 if (EVP_CIPHER_param_to_asn1(ctx, calg->parameter) <= 0)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/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) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/openssl-1.0.0q/crypto/cms/
H A Dcms_enc.c74 X509_ALGOR *calg = ec->contentEncryptionAlgorithm; local
106 ciph = EVP_get_cipherbyobj(calg->algorithm);
126 calg->algorithm = OBJ_nid2obj(EVP_CIPHER_CTX_type(ctx));
136 else if (EVP_CIPHER_asn1_to_param(ctx, calg->parameter) <= 0)
205 calg->parameter = ASN1_TYPE_new();
206 if (!calg->parameter)
212 if (EVP_CIPHER_param_to_asn1(ctx, calg->parameter) <= 0)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/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) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/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...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/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...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/wpa_supplicant/src/crypto/
H A Dcrypto_cryptoapi.c366 ALG_ID calg; local
376 calg = CALG_MD5;
379 calg = CALG_SHA;
383 calg = CALG_HMAC;
415 if (calg == CALG_HMAC) {
429 if (!CryptCreateHash(ctx->prov, calg, ctx->key, 0, &ctx->hash)) {
436 if (calg == CALG_HMAC) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/wpa_supplicant-0.7.3/src/crypto/
H A Dcrypto_cryptoapi.c362 ALG_ID calg; local
372 calg = CALG_MD5;
375 calg = CALG_SHA;
379 calg = CALG_HMAC;
411 if (calg == CALG_HMAC) {
425 if (!CryptCreateHash(ctx->prov, calg, ctx->key, 0, &ctx->hash)) {
432 if (calg == CALG_HMAC) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/wpa_supplicant/src/crypto/
H A Dcrypto_cryptoapi.c366 ALG_ID calg; local
376 calg = CALG_MD5;
379 calg = CALG_SHA;
383 calg = CALG_HMAC;
415 if (calg == CALG_HMAC) {
429 if (!CryptCreateHash(ctx->prov, calg, ctx->key, 0, &ctx->hash)) {
436 if (calg == CALG_HMAC) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/wpa_supplicant-0.7.3/src/crypto/
H A Dcrypto_cryptoapi.c362 ALG_ID calg; local
372 calg = CALG_MD5;
375 calg = CALG_SHA;
379 calg = CALG_HMAC;
411 if (calg == CALG_HMAC) {
425 if (!CryptCreateHash(ctx->prov, calg, ctx->key, 0, &ctx->hash)) {
432 if (calg == CALG_HMAC) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/wpa_supplicant/src/crypto/
H A Dcrypto_cryptoapi.c366 ALG_ID calg; local
376 calg = CALG_MD5;
379 calg = CALG_SHA;
383 calg = CALG_HMAC;
415 if (calg == CALG_HMAC) {
429 if (!CryptCreateHash(ctx->prov, calg, ctx->key, 0, &ctx->hash)) {
436 if (calg == CALG_HMAC) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/wpa_supplicant-0.7.3/src/crypto/
H A Dcrypto_cryptoapi.c362 ALG_ID calg; local
372 calg = CALG_MD5;
375 calg = CALG_SHA;
379 calg = CALG_HMAC;
411 if (calg == CALG_HMAC) {
425 if (!CryptCreateHash(ctx->prov, calg, ctx->key, 0, &ctx->hash)) {
432 if (calg == CALG_HMAC) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/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));
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/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));
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/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);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/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);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/net/
H A Dxfrm.h170 struct xfrm_algo *calg; member in struct:xfrm_state
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/net/
H A Dxfrm.h170 struct xfrm_algo *calg; member in struct:xfrm_state

Completed in 411 milliseconds