Home
last modified time | relevance | path

Searched refs:CKA_VALUE (Results 1 – 25 of 869) sorted by relevance

12345678910>>...35

/dports/security/p11-kit/p11-kit-0.24.0/common/
H A Dtest-attrs.c154 { CKA_VALUE, "eight", 5 } in test_buildn_two()
199 { CKA_VALUE, "nine", 4 }, in test_build_add()
252 { CKA_VALUE, "eight", 5 }, in test_dup()
279 { CKA_VALUE, "nine", 4 }, in test_take()
314 { CKA_VALUE, "nine", 4 }, in test_merge_replace()
373 { CKA_VALUE, "nine", 4 }, in test_merge_augment()
469 { CKA_VALUE, data, 5 }, in test_to_string()
616 { CKA_VALUE, "the value", 9 }, in test_match()
649 { CKA_VALUE, "the value", 9 }, in test_matchn()
710 { CKA_VALUE, NULL, 0 }, in test_find_value()
[all …]
/dports/security/p11-kit/p11-kit-0.24.0/trust/
H A Dtest-index.c72 { CKA_VALUE, "eight", 5 }, in test_take_lookup()
100 { CKA_VALUE, "eight", 5 }, in test_add_lookup()
120 { CKA_VALUE, "eight", 5 }, in test_size()
157 { CKA_VALUE, "eight", 5 }, in test_snapshot()
335 { CKA_VALUE, "one", 3 }, in test_find()
341 { CKA_VALUE, "two", 3 }, in test_find()
438 { CKA_VALUE, "one", 3 }, in test_find_all()
445 { CKA_VALUE, "two", 3 }, in test_find_all()
520 { CKA_VALUE, "one", 3 }, in test_find_realloc()
550 { CKA_VALUE, "one", 3 }, in test_replace_all()
[all …]
H A Dtest-token.c476 { CKA_VALUE, (void *)verisign_v1_ca, sizeof (verisign_v1_ca) }, in test_reload_changed()
522 { CKA_VALUE, (void *)verisign_v1_ca, sizeof (verisign_v1_ca) }, in test_reload_gone()
574 { CKA_VALUE, "eight", 5 }, in test_write_new()
582 { CKA_VALUE, "eight", 5 }, in test_write_new()
614 { CKA_VALUE, "eight", 5 }, in test_write_no_label()
622 { CKA_VALUE, "eight", 5 }, in test_write_no_label()
672 { CKA_VALUE, "1", 1 }, in test_modify_multiple()
679 { CKA_VALUE, "2", 2 }, in test_modify_multiple()
686 { CKA_VALUE, "3", 1 }, in test_modify_multiple()
776 { CKA_VALUE, "1", 1 }, in test_remove_multiple()
[all …]
H A Dtest-builder.c107 { CKA_VALUE, "the value", 9 }, in test_build_data()
117 { CKA_VALUE, "the value", 9 }, in test_build_data()
207 { CKA_VALUE, "", 0 }, in test_build_certificate_empty()
1072 { CKA_VALUE, NULL, 0 }, in test_valid_cert()
1102 { CKA_VALUE, NULL, 0 }, in test_invalid_cert()
1278 { CKA_VALUE, "the value", 9 }, in test_create_bad_attribute()
1329 { CKA_VALUE, "the value", 9 }, in test_create_no_class()
1382 { CKA_VALUE, "the value", 9 }, in test_modify_success()
1429 { CKA_VALUE, "the value", 9 }, in test_modify_read_only()
1471 { CKA_VALUE, "the value", 9 }, in test_modify_unchanged()
[all …]
H A Dtest-parser.c113 { CKA_VALUE, (void *)test_cacert3_ca_der, sizeof (test_cacert3_ca_der) }, in test_parse_der_certificate()
141 { CKA_VALUE, (void *)test_cacert3_ca_der, sizeof (test_cacert3_ca_der) }, in test_parse_pem_certificate()
169 { CKA_VALUE, (void *)verisign_v1_ca, sizeof (verisign_v1_ca) }, in test_parse_p11_kit_persist()
193 { CKA_VALUE, (void *)test_cacert3_ca_der, sizeof (test_cacert3_ca_der) }, in test_parse_openssl_trusted()
204 …{ CKA_VALUE, "\x30\x16\x06\x03\x55\x1d\x25\x01\x01\xff\x04\x0c\x30\x0a\x06\x08\x2b\x06\x01\x05\x05… in test_parse_openssl_trusted()
212 …{ CKA_VALUE, "\x30\x1a\x06\x0a\x2b\x06\x01\x04\x01\x99\x77\x06\x0a\x01\x04\x0c\x30\x0a\x06\x08\x2b… in test_parse_openssl_trusted()
283 …{ CKA_VALUE, "\x30\x18\x06\x03\x55\x1d\x25\x01\x01\xff\x04\x0e\x30\x0c\x06\x0a\x2b\x06\x01\x04\x01… in test_parse_openssl_distrusted()
291 …{ CKA_VALUE, "\x30\x1a\x06\x0a\x2b\x06\x01\x04\x01\x99\x77\x06\x0a\x01\x04\x0c\x30\x0a\x06\x08\x2b… in test_parse_openssl_distrusted()
422 { CKA_VALUE, expected_value, sizeof (expected_value) }, in test_openssl_trusted_no_trust()
444 { CKA_VALUE, (void *)test_cacert3_ca_der, sizeof (test_cacert3_ca_der) }, in test_parse_anchor()
H A Dtest-edk2.c101 { CKA_VALUE, (void *)test_cacert3_ca_der, sizeof (test_cacert3_ca_der) },
112 { CKA_VALUE, (void *)verisign_v1_ca, sizeof (verisign_v1_ca) },
126 …{ CKA_VALUE, "\x30\x13\x06\x03\x55\x1d\x25\x04\x0c\x30\x0a\x06\x08\x2b\x06\x01\x05\x05\x07\x03\x01…
133 …{ CKA_VALUE, "\x30\x1a\x06\x0a\x2b\x06\x01\x04\x01\x99\x77\x06\x0a\x01\x04\x0c\x30\x0a\x06\x08\x2b…
H A Dtest-openssl.c107 { CKA_VALUE, (void *)test_cacert3_ca_der, sizeof (test_cacert3_ca_der) },
118 { CKA_VALUE, (void *)verisign_v1_ca, sizeof (verisign_v1_ca) },
132 …{ CKA_VALUE, "\x30\x13\x06\x03\x55\x1d\x25\x04\x0c\x30\x0a\x06\x08\x2b\x06\x01\x05\x05\x07\x03\x01…
139 …{ CKA_VALUE, "\x30\x1a\x06\x0a\x2b\x06\x01\x04\x01\x99\x77\x06\x0a\x01\x04\x0c\x30\x0a\x06\x08\x2b…
231 { CKA_VALUE, (void *)test_cacert3_ca_der, sizeof (test_cacert3_ca_der) }, in test_keyid()
244 { CKA_VALUE, "\x30\x0e\x06\x03\x55\x1d\x0e\x04\x07\x00\x01\x02\x03\x04\x05\x06", 16 }, in test_keyid()
272 { CKA_VALUE, (void *)test_cacert3_ca_der, sizeof (test_cacert3_ca_der) }, in test_not_authority()
303 { CKA_VALUE, (void *)test_cacert3_ca_der, sizeof (test_cacert3_ca_der) }, in test_distrust_all()
H A Dtest-jks.c100 { CKA_VALUE, (void *)test_cacert3_ca_der, sizeof (test_cacert3_ca_der) },
111 { CKA_VALUE, (void *)verisign_v1_ca, sizeof (verisign_v1_ca) },
125 …{ CKA_VALUE, "\x30\x13\x06\x03\x55\x1d\x25\x04\x0c\x30\x0a\x06\x08\x2b\x06\x01\x05\x05\x07\x03\x01…
132 …{ CKA_VALUE, "\x30\x1a\x06\x0a\x2b\x06\x01\x04\x01\x99\x77\x06\x0a\x01\x04\x0c\x30\x0a\x06\x08\x2b…
/dports/security/softhsm2/softhsm-2.6.1/src/lib/object_store/test/
H A DObjectFileTests.cpp230 CPPUNIT_ASSERT(testObject.setAttribute(CKA_VALUE, attr3)); in testByteStrAttr()
247 CPPUNIT_ASSERT(testObject.attributeExists(CKA_VALUE)); in testByteStrAttr()
374 CPPUNIT_ASSERT(mattrb.find(CKA_VALUE) != mattrb.end()); in testAttrMapAttr()
410 CPPUNIT_ASSERT(testObject.setAttribute(CKA_VALUE, attr3)); in testMixedAttr()
426 CPPUNIT_ASSERT(testObject.attributeExists(CKA_VALUE)); in testMixedAttr()
473 CPPUNIT_ASSERT(testObject.setAttribute(CKA_VALUE, attr3)); in testDoubleAttr()
489 CPPUNIT_ASSERT(testObject.attributeExists(CKA_VALUE)); in testDoubleAttr()
543 CPPUNIT_ASSERT(testObject.attributeExists(CKA_VALUE)); in testDoubleAttr()
609 CPPUNIT_ASSERT(testObject.attributeExists(CKA_VALUE)); in testRefresh()
755 CPPUNIT_ASSERT(testObject.setAttribute(CKA_VALUE, attr3)); in testTransactions()
[all …]
/dports/security/opencryptoki/opencryptoki-3.11.0/usr/lib/common/
H A Dhwf_obj.c55 found = template_attribute_find(tmpl, CKA_VALUE, &attr); in clock_check_required_attributes()
71 found = template_attribute_find(tmpl, CKA_VALUE, &attr); in counter_check_required_attributes()
151 case CKA_VALUE: in clock_validate_attribute()
164 case CKA_VALUE: in counter_validate_attribute()
193 value_attr->type = CKA_VALUE; in clock_set_default_attributes()
230 value_attr->type = CKA_VALUE; in counter_set_default_attributes()
H A Dkey.c1110 case CKA_VALUE: in secret_key_check_exportability()
1858 case CKA_VALUE: in dsa_publ_validate_attribute()
2024 case CKA_VALUE: in dsa_priv_validate_attribute()
2042 case CKA_VALUE: in dsa_priv_check_exportability()
2339 case CKA_VALUE: in ecdsa_priv_validate_attribute()
2364 case CKA_VALUE: in ecdsa_priv_check_exportability()
2484 case CKA_VALUE: in dh_publ_validate_attribute()
2620 case CKA_VALUE: in dh_priv_validate_attribute()
2652 case CKA_VALUE: in dh_priv_check_exportability()
2903 case CKA_VALUE: in kea_publ_validate_attribute()
[all …]
/dports/security/gnome-keyring/gnome-keyring-40.0/pkcs11/gkm/
H A Dtest-store.c66 g_assert (!gkm_store_lookup_schema (test->store, CKA_VALUE, NULL)); in test_schema()
75 attr.type = CKA_VALUE; in test_schema_flags()
80 g_assert (gkm_store_lookup_schema (test->store, CKA_VALUE, &flags)); in test_schema_flags()
H A Dtest-object.c89 { CKA_VALUE, test->certificate_data, test->n_certificate_data }, in test_create_destroy_transient()
127 { CKA_VALUE, test->certificate_data, test->n_certificate_data }, in test_transient_transacted_fail()
150 { CKA_VALUE, test->certificate_data, test->n_certificate_data }, in test_create_transient_bad_value()
175 { CKA_VALUE, test->certificate_data, test->n_certificate_data }, in test_create_auto_destruct()
220 { CKA_VALUE, test->certificate_data, test->n_certificate_data }, in test_create_auto_destruct_not_transient()
/dports/security/pecl-pkcs11/pkcs11-1.0/tests/
H A D0114-destroy-object.phpt23 Pkcs11\CKA_VALUE => 'Hello World!',
29 Pkcs11\CKA_VALUE,
39 Pkcs11\CKA_VALUE,
/dports/security/opencryptoki/opencryptoki-3.11.0/testcases/pkcs11/
H A Dhw_fn.c73 {CKA_VALUE, counter1_value, sizeof(counter1_value)}, in do_HW_Feature_Search()
87 {CKA_VALUE, counter2_value, sizeof(counter2_value)}, in do_HW_Feature_Search()
101 {CKA_VALUE, clock_value, sizeof(clock_value)} in do_HW_Feature_Search()
112 {CKA_VALUE, obj1_data, sizeof(obj1_data)} in do_HW_Feature_Search()
125 {CKA_VALUE, obj2_data, sizeof(obj2_data)} in do_HW_Feature_Search()
/dports/security/opencryptoki/opencryptoki-3.11.0/testcases/misc_tests/
H A Dobj_mgmt_lock.c54 {CKA_VALUE, &data_value, sizeof(data_value)} in do_CreateSessionObject()
70 {CKA_VALUE, &cert_value, sizeof(cert_value)} in do_CreateSessionObject()
165 {CKA_VALUE, &data_value, sizeof(data_value)} in do_CopyObject()
336 {CKA_VALUE, &cert_value, sizeof(cert_value)} in do_SetAttributeValues()
351 {CKA_VALUE, &cert_value2, sizeof(cert_value2)}, in do_SetAttributeValues()
513 {CKA_VALUE, &cert1_value, sizeof(cert1_value)} in do_FindObjects()
530 {CKA_VALUE, &cert2_value, sizeof(cert2_value)} in do_FindObjects()
547 {CKA_VALUE, &cert3_value, sizeof(cert3_value)} in do_FindObjects()
1045 {CKA_VALUE, clock_value, sizeof(clock_value)} in do_HWFeatureSearch()
1056 {CKA_VALUE, obj1_data, sizeof(obj1_data)} in do_HWFeatureSearch()
[all …]
H A Dobj_mgmt.c56 {CKA_VALUE, &data_value, sizeof(data_value)} in do_CreateSessionObject()
72 {CKA_VALUE, &cert_value, sizeof(cert_value)} in do_CreateSessionObject()
203 {CKA_VALUE, &data_value, sizeof(data_value)} in do_CopyObject()
391 {CKA_VALUE, &cert_value, sizeof(cert_value)} in do_SetAttributeValues()
406 {CKA_VALUE, &cert_value2, sizeof(cert_value2)}, in do_SetAttributeValues()
560 {CKA_VALUE, &cert1_value, sizeof(cert1_value)} in do_FindObjects()
577 {CKA_VALUE, &cert2_value, sizeof(cert2_value)} in do_FindObjects()
594 {CKA_VALUE, &cert3_value, sizeof(cert3_value)} in do_FindObjects()
1202 {CKA_VALUE, clock_value, sizeof(clock_value)} in do_HWFeatureSearch()
1213 {CKA_VALUE, obj1_data, sizeof(obj1_data)} in do_HWFeatureSearch()
[all …]
/dports/dns/bind911/bind-9.11.37/lib/dns/
H A Dpkcs11gost_link.c152 { CKA_VALUE, NULL, 0 }, in pkcs11gost_createctx_sign()
189 INSIST(keyTemplate[6].type == CKA_VALUE); in pkcs11gost_createctx_sign()
257 { CKA_VALUE, NULL, 0 }, in pkcs11gost_createctx_verify()
293 case CKA_VALUE: in pkcs11gost_createctx_verify()
542 attr[0].type = CKA_VALUE; in pkcs11gost_generate()
558 attr->type = CKA_VALUE; in pkcs11gost_generate()
617 case CKA_VALUE: in pkcs11gost_destroy()
647 attr = pk11_attribute_bytype(gost, CKA_VALUE); in pkcs11gost_todns()
682 attr->type = CKA_VALUE; in pkcs11gost_fromdns()
699 case CKA_VALUE: in pkcs11gost_fromdns()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/security/nss/lib/softoken/
H A Dsftkike.c492 newKeyValue = sftk_FindAttribute(newKeyObj, CKA_VALUE); in sftk_ike_prf()
545 crv = sftk_forceAttribute(outKey, CKA_VALUE, outKeyData, macSize); in sftk_ike_prf()
625 gxyKeyValue = sftk_FindAttribute(gxyKeyObj, CKA_VALUE); in sftk_ike1_prf()
631 prevKeyValue = sftk_FindAttribute(prevKeyObj, CKA_VALUE); in sftk_ike1_prf()
672 crv = sftk_forceAttribute(outKey, CKA_VALUE, outKeyData, keySize); in sftk_ike1_prf()
746 gxyKeyValue = sftk_FindAttribute(gxyKeyObj, CKA_VALUE); in sftk_ike1_appendix_b_prf()
760 return sftk_forceAttribute(outKey, CKA_VALUE, in sftk_ike1_appendix_b_prf()
894 seedValue = sftk_FindAttribute(seedKeyObj, CKA_VALUE); in sftk_ike_prf_plus()
1025 inKeyValue = sftk_FindAttribute(inKeyObj, CKA_VALUE); in sftk_aes_xcbc_new_keys()
1050 sftk_DeleteAttributeType(key, CKA_VALUE); in sftk_aes_xcbc_new_keys()
[all …]
/dports/security/gnome-keyring/gnome-keyring-40.0/pkcs11/wrap-layer/
H A Dtest-login-keyring.c180 { CKA_VALUE, "the password", 12 }, in test_lookup_store_secret()
203 { CKA_VALUE, "the password", 12 }, in test_lookup_store_secret_overwrite()
244 { CKA_VALUE, "", 0 }, in test_lookup_store_null_secret()
268 { CKA_VALUE, "the password", 0 }, in test_lookup_store_no_attributes_not_stored()
291 { CKA_VALUE, "mock", 4 }, in test_lookup_remove_present()
/dports/www/firefox-esr/firefox-91.8.0/security/nss/lib/softoken/
H A Dsftkike.c492 newKeyValue = sftk_FindAttribute(newKeyObj, CKA_VALUE); in sftk_ike_prf()
545 crv = sftk_forceAttribute(outKey, CKA_VALUE, outKeyData, macSize); in sftk_ike_prf()
625 gxyKeyValue = sftk_FindAttribute(gxyKeyObj, CKA_VALUE); in sftk_ike1_prf()
631 prevKeyValue = sftk_FindAttribute(prevKeyObj, CKA_VALUE); in sftk_ike1_prf()
672 crv = sftk_forceAttribute(outKey, CKA_VALUE, outKeyData, keySize); in sftk_ike1_prf()
747 gxyKeyValue = sftk_FindAttribute(gxyKeyObj, CKA_VALUE); in sftk_ike1_appendix_b_prf()
771 return sftk_forceAttribute(outKey, CKA_VALUE, in sftk_ike1_appendix_b_prf()
908 seedValue = sftk_FindAttribute(seedKeyObj, CKA_VALUE); in sftk_ike_prf_plus_raw()
1064 inKeyValue = sftk_FindAttribute(inKeyObj, CKA_VALUE); in sftk_aes_xcbc_new_keys()
1089 sftk_DeleteAttributeType(key, CKA_VALUE); in sftk_aes_xcbc_new_keys()
[all …]
/dports/www/firefox/firefox-99.0/security/nss/lib/softoken/
H A Dsftkike.c492 newKeyValue = sftk_FindAttribute(newKeyObj, CKA_VALUE); in sftk_ike_prf()
545 crv = sftk_forceAttribute(outKey, CKA_VALUE, outKeyData, macSize); in sftk_ike_prf()
625 gxyKeyValue = sftk_FindAttribute(gxyKeyObj, CKA_VALUE); in sftk_ike1_prf()
631 prevKeyValue = sftk_FindAttribute(prevKeyObj, CKA_VALUE); in sftk_ike1_prf()
672 crv = sftk_forceAttribute(outKey, CKA_VALUE, outKeyData, keySize); in sftk_ike1_prf()
747 gxyKeyValue = sftk_FindAttribute(gxyKeyObj, CKA_VALUE); in sftk_ike1_appendix_b_prf()
771 return sftk_forceAttribute(outKey, CKA_VALUE, in sftk_ike1_appendix_b_prf()
908 seedValue = sftk_FindAttribute(seedKeyObj, CKA_VALUE); in sftk_ike_prf_plus_raw()
1064 inKeyValue = sftk_FindAttribute(inKeyObj, CKA_VALUE); in sftk_aes_xcbc_new_keys()
1089 sftk_DeleteAttributeType(key, CKA_VALUE); in sftk_aes_xcbc_new_keys()
[all …]
/dports/security/ca_root_nss/nss-3.71/nss/lib/softoken/
H A Dsftkike.c492 newKeyValue = sftk_FindAttribute(newKeyObj, CKA_VALUE); in sftk_ike_prf()
545 crv = sftk_forceAttribute(outKey, CKA_VALUE, outKeyData, macSize); in sftk_ike_prf()
625 gxyKeyValue = sftk_FindAttribute(gxyKeyObj, CKA_VALUE); in sftk_ike1_prf()
631 prevKeyValue = sftk_FindAttribute(prevKeyObj, CKA_VALUE); in sftk_ike1_prf()
672 crv = sftk_forceAttribute(outKey, CKA_VALUE, outKeyData, keySize); in sftk_ike1_prf()
747 gxyKeyValue = sftk_FindAttribute(gxyKeyObj, CKA_VALUE); in sftk_ike1_appendix_b_prf()
771 return sftk_forceAttribute(outKey, CKA_VALUE, in sftk_ike1_appendix_b_prf()
908 seedValue = sftk_FindAttribute(seedKeyObj, CKA_VALUE); in sftk_ike_prf_plus_raw()
1064 inKeyValue = sftk_FindAttribute(inKeyObj, CKA_VALUE); in sftk_aes_xcbc_new_keys()
1089 sftk_DeleteAttributeType(key, CKA_VALUE); in sftk_aes_xcbc_new_keys()
[all …]
/dports/security/nss/nss-3.76.1/nss/lib/softoken/
H A Dsftkike.c492 newKeyValue = sftk_FindAttribute(newKeyObj, CKA_VALUE); in sftk_ike_prf()
545 crv = sftk_forceAttribute(outKey, CKA_VALUE, outKeyData, macSize); in sftk_ike_prf()
625 gxyKeyValue = sftk_FindAttribute(gxyKeyObj, CKA_VALUE); in sftk_ike1_prf()
631 prevKeyValue = sftk_FindAttribute(prevKeyObj, CKA_VALUE); in sftk_ike1_prf()
672 crv = sftk_forceAttribute(outKey, CKA_VALUE, outKeyData, keySize); in sftk_ike1_prf()
747 gxyKeyValue = sftk_FindAttribute(gxyKeyObj, CKA_VALUE); in sftk_ike1_appendix_b_prf()
771 return sftk_forceAttribute(outKey, CKA_VALUE, in sftk_ike1_appendix_b_prf()
908 seedValue = sftk_FindAttribute(seedKeyObj, CKA_VALUE); in sftk_ike_prf_plus_raw()
1064 inKeyValue = sftk_FindAttribute(inKeyObj, CKA_VALUE); in sftk_aes_xcbc_new_keys()
1089 sftk_DeleteAttributeType(key, CKA_VALUE); in sftk_aes_xcbc_new_keys()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/security/nss/lib/softoken/
H A Dsftkike.c492 newKeyValue = sftk_FindAttribute(newKeyObj, CKA_VALUE); in sftk_ike_prf()
545 crv = sftk_forceAttribute(outKey, CKA_VALUE, outKeyData, macSize); in sftk_ike_prf()
625 gxyKeyValue = sftk_FindAttribute(gxyKeyObj, CKA_VALUE); in sftk_ike1_prf()
631 prevKeyValue = sftk_FindAttribute(prevKeyObj, CKA_VALUE); in sftk_ike1_prf()
672 crv = sftk_forceAttribute(outKey, CKA_VALUE, outKeyData, keySize); in sftk_ike1_prf()
747 gxyKeyValue = sftk_FindAttribute(gxyKeyObj, CKA_VALUE); in sftk_ike1_appendix_b_prf()
771 return sftk_forceAttribute(outKey, CKA_VALUE, in sftk_ike1_appendix_b_prf()
908 seedValue = sftk_FindAttribute(seedKeyObj, CKA_VALUE); in sftk_ike_prf_plus_raw()
1064 inKeyValue = sftk_FindAttribute(inKeyObj, CKA_VALUE); in sftk_aes_xcbc_new_keys()
1089 sftk_DeleteAttributeType(key, CKA_VALUE); in sftk_aes_xcbc_new_keys()
[all …]

12345678910>>...35