Lines Matching refs:alg
25 } alg; member
48 static int pkcs5_is_oid(struct asn1_oid *oid, unsigned long alg) in pkcs5_is_oid() argument
54 oid->oid[6] == alg; in pkcs5_is_oid()
58 static int enc_alg_is_oid(struct asn1_oid *oid, unsigned long alg) in enc_alg_is_oid() argument
63 oid->oid[5] == alg; in enc_alg_is_oid()
67 static int pkcs12_is_pbe_oid(struct asn1_oid *oid, unsigned long alg) in pkcs12_is_pbe_oid() argument
74 oid->oid[7] == alg; in pkcs12_is_pbe_oid()
299 params->alg = pkcs5_get_alg(&oid); in pkcs5_get_params()
300 if (params->alg == PKCS5_ALG_UNKNOWN) { in pkcs5_get_params()
306 if (params->alg == PKCS5_ALG_PBES2) in pkcs5_get_params()
519 if (params->alg != PKCS5_ALG_SHA1_3DES_CBC) in pkcs12_crypto_init_sha1()
559 if (params->alg == PKCS5_ALG_PBES2) in pkcs5_crypto_init()
562 if (params->alg == PKCS5_ALG_SHA1_3DES_CBC) in pkcs5_crypto_init()
565 if (params->alg != PKCS5_ALG_MD5_DES_CBC) in pkcs5_crypto_init()