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()
283 params->alg = pkcs5_get_alg(&oid); in pkcs5_get_params()
284 if (params->alg == PKCS5_ALG_UNKNOWN) { in pkcs5_get_params()
290 if (params->alg == PKCS5_ALG_PBES2) in pkcs5_get_params()
497 if (params->alg != PKCS5_ALG_SHA1_3DES_CBC) in pkcs12_crypto_init_sha1()
537 if (params->alg == PKCS5_ALG_PBES2) in pkcs5_crypto_init()
540 if (params->alg == PKCS5_ALG_SHA1_3DES_CBC) in pkcs5_crypto_init()
543 if (params->alg != PKCS5_ALG_MD5_DES_CBC) in pkcs5_crypto_init()