Lines Matching refs:enc_default

215 static const PKCS12_ENC enc_default = {  variable
406 enc.pass = enc_default.pass; in test_single_key_enc_alg()
407 enc.iter = enc_default.iter; in test_single_key_enc_alg()
416 enc.nid = enc_default.nid; in test_single_key_enc_pass()
418 enc.iter = enc_default.iter; in test_single_key_enc_pass()
427 enc.nid = enc_default.nid; in test_single_key_enc_iter()
428 enc.pass = enc_default.pass; in test_single_key_enc_iter()
443 add_keybag(pb, KEY1, sizeof(KEY1), ATTRS1, &enc_default); in test_single_key_with_attrs()
454 check_keybag(pb, KEY1, sizeof(KEY1), ATTRS1, &enc_default); in test_single_key_with_attrs()
541 add_keybag(pb, KEY1, sizeof(KEY1), ATTRS1, &enc_default); in test_cert_key_with_attrs_and_mac()
553 check_keybag(pb, KEY1, sizeof(KEY1), ATTRS1, &enc_default); in test_cert_key_with_attrs_and_mac()
572 add_keybag(pb, KEY1, sizeof(KEY1), ATTRS1, &enc_default); in test_cert_key_encrypted_content()
574 end_contentinfo_encrypted(pb, &enc_default); in test_cert_key_encrypted_content()
581 start_check_contentinfo_encrypted(pb, &enc_default); in test_cert_key_encrypted_content()
584 check_keybag(pb, KEY1, sizeof(KEY1), ATTRS1, &enc_default); in test_cert_key_encrypted_content()
605 end_contentinfo_encrypted(pb, &enc_default); in test_single_secret_encrypted_content()
612 start_check_contentinfo_encrypted(pb, &enc_default); in test_single_secret_encrypted_content()
667 enc.pass = enc_default.pass; in test_single_secret_enc_alg()
668 enc.iter = enc_default.iter; in test_single_secret_enc_alg()
685 add_keybag(pb, KEY1, sizeof(KEY1), ATTRS1, &enc_default); in test_multiple_contents()
686 add_keybag(pb, KEY2, sizeof(KEY2), ATTRS2, &enc_default); in test_multiple_contents()
694 end_contentinfo_encrypted(pb, &enc_default); in test_multiple_contents()
705 check_keybag(pb, KEY1, sizeof(KEY1), ATTRS1, &enc_default); in test_multiple_contents()
706 check_keybag(pb, KEY2, sizeof(KEY2), ATTRS2, &enc_default); in test_multiple_contents()
710 start_check_contentinfo_encrypted(pb, &enc_default); in test_multiple_contents()