Lines Matching refs:suite
223 static int pkcs12_pbe_cipher_init(const struct pbe_suite *suite,
228 const EVP_CIPHER *cipher = suite->cipher_func();
229 const EVP_MD *md = suite->md_func();
247 static int pkcs12_pbe_decrypt_init(const struct pbe_suite *suite,
266 return pkcs12_pbe_cipher_init(suite, ctx, (unsigned)iterations, pass,
324 const struct pbe_suite *suite = get_pbe_suite(alg);
325 if (suite == NULL) {
334 !CBB_add_bytes(&oid, suite->oid, suite->oid_len) ||
343 return pkcs12_pbe_cipher_init(suite, ctx, iterations, pass, pass_len, salt,
361 const struct pbe_suite *suite = NULL;
364 suite = &kBuiltinPBE[i];
368 if (suite == NULL) {
373 if (!suite->decrypt_init(suite, &ctx, pass, pass_len, algorithm)) {