/dports/security/softhsm2/softhsm-2.6.1/src/lib/ |
H A D | P11Objects.cpp | 753 …if (!inobject->attributeExists(CKA_KEY_TYPE) || inobject->getUnsignedLongValue(CKA_KEY_TYPE, CKK_V… in init() 802 …if (!inobject->attributeExists(CKA_KEY_TYPE) || inobject->getUnsignedLongValue(CKA_KEY_TYPE, CKK_V… in init() 855 …if (!inobject->attributeExists(CKA_KEY_TYPE) || inobject->getUnsignedLongValue(CKA_KEY_TYPE, CKK_V… in init() 945 …if (!inobject->attributeExists(CKA_KEY_TYPE) || inobject->getUnsignedLongValue(CKA_KEY_TYPE, CKK_V… in init() 1138 …if (!inobject->attributeExists(CKA_KEY_TYPE) || inobject->getUnsignedLongValue(CKA_KEY_TYPE, CKK_V… in init() 1207 …if (!inobject->attributeExists(CKA_KEY_TYPE) || inobject->getUnsignedLongValue(CKA_KEY_TYPE, CKK_V… in init() 1260 …if (!inobject->attributeExists(CKA_KEY_TYPE) || inobject->getUnsignedLongValue(CKA_KEY_TYPE, CKK_V… in init() 1350 …if (!inobject->attributeExists(CKA_KEY_TYPE) || inobject->getUnsignedLongValue(CKA_KEY_TYPE, CKK_V… in init() 1554 …if (!inobject->attributeExists(CKA_KEY_TYPE) || inobject->getUnsignedLongValue(CKA_KEY_TYPE, CKK_V… in init() 1617 …if (!inobject->attributeExists(CKA_KEY_TYPE) || inobject->getUnsignedLongValue(CKA_KEY_TYPE, CKK_V… in init() [all …]
|
/dports/security/opencryptoki/opencryptoki-3.11.0/usr/lib/common/ |
H A D | encr_mgr.c | 117 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in encr_mgr_init() 150 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in encr_mgr_init() 178 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in encr_mgr_init() 212 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in encr_mgr_init() 240 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in encr_mgr_init() 268 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in encr_mgr_init() 302 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in encr_mgr_init() 333 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in encr_mgr_init() 354 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in encr_mgr_init() 379 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in encr_mgr_init() [all …]
|
H A D | decr_mgr.c | 116 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in decr_mgr_init() 149 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in decr_mgr_init() 183 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in decr_mgr_init() 217 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in decr_mgr_init() 246 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in decr_mgr_init() 273 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in decr_mgr_init() 307 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in decr_mgr_init() 339 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in decr_mgr_init() 361 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in decr_mgr_init() 386 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in decr_mgr_init() [all …]
|
H A D | sign_mgr.c | 115 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in sign_mgr_init() 159 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in sign_mgr_init() 212 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in sign_mgr_init() 263 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in sign_mgr_init() 303 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in sign_mgr_init() 346 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in sign_mgr_init() 377 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in sign_mgr_init() 423 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, in sign_mgr_init() 488 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, in sign_mgr_init()
|
H A D | verify_mgr.c | 116 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in verify_mgr_init() 157 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in verify_mgr_init() 208 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in verify_mgr_init() 259 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in verify_mgr_init() 299 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in verify_mgr_init() 337 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in verify_mgr_init() 365 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, &attr); in verify_mgr_init() 410 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, in verify_mgr_init() 482 rc = template_attribute_find(key_obj->template, CKA_KEY_TYPE, in verify_mgr_init()
|
H A D | dp_obj.c | 38 found = template_attribute_find(tmpl, CKA_KEY_TYPE, &attr); in dp_object_check_required_attributes() 184 case CKA_KEY_TYPE: in dp_object_validate_attribute() 363 type_attr->type = CKA_KEY_TYPE; in dp_dsa_set_default_attributes() 420 type_attr->type = CKA_KEY_TYPE; in dp_dh_set_default_attributes() 493 type_attr->type = CKA_KEY_TYPE; in dp_x9dh_set_default_attributes()
|
/dports/security/opencryptoki/opencryptoki-3.11.0/testcases/common/ |
H A D | common.c | 129 {CKA_KEY_TYPE, &keyType, sizeof(keyType)}, in create_AESKey() 172 {CKA_KEY_TYPE, &keyType, sizeof(keyType)}, in create_DESKey() 201 {CKA_KEY_TYPE, &keyType, sizeof(keyType)}, in create_DES3Key() 228 {CKA_KEY_TYPE, &key_type, sizeof(key_type)}, in create_GenericSecretKey() 273 {CKA_KEY_TYPE, &keyType, sizeof(keyType)}, in create_RSAPrivateKey() 316 {CKA_KEY_TYPE, &keyType, sizeof(keyType)}, in create_RSAPublicKey() 399 {CKA_KEY_TYPE, &keyType, sizeof(keyType)}, in create_ECPrivateKey() 438 {CKA_KEY_TYPE, &keyType, sizeof(keyType)}, in create_ECPublicKey() 480 {CKA_KEY_TYPE, &keyType, sizeof(keyType)}, in create_DSAPrivateKey() 523 {CKA_KEY_TYPE, &keyType, sizeof(keyType)}, in create_DSAPublicKey() [all …]
|
/dports/security/opencryptoki/opencryptoki-3.11.0/testcases/pkcs11/ |
H A D | findobjects.c | 59 {CKA_KEY_TYPE, &des3_type, sizeof(des3_type)}, in do_FindObjects() 66 {CKA_KEY_TYPE, &aes_type, sizeof(aes_type)}, in do_FindObjects() 73 {CKA_KEY_TYPE, &des3_type, sizeof(des3_type)}, in do_FindObjects() 78 {CKA_KEY_TYPE, &aes_type, sizeof(aes_type)}, in do_FindObjects()
|
H A D | destroyobjects.c | 52 {CKA_KEY_TYPE, &aes_type, sizeof(aes_type)}, in do_DestroyObjects() 59 {CKA_KEY_TYPE, &aes_type, sizeof(aes_type)}, in do_DestroyObjects() 66 {CKA_KEY_TYPE, &aes_type, sizeof(aes_type)}, in do_DestroyObjects()
|
H A D | generate_keypair.c | 41 {CKA_KEY_TYPE, &keytype, sizeof(keytype)}, in do_GenerateKeyPairRSA() 56 {CKA_KEY_TYPE, &keytype, sizeof(keytype)}, in do_GenerateKeyPairRSA() 77 {CKA_KEY_TYPE, &keytype, sizeof(keytype)}, in do_GenerateKeyPairRSA()
|
/dports/security/gnome-keyring/gnome-keyring-40.0/pkcs11/gkm/ |
H A D | gkm-null-key.c | 69 case CKA_KEY_TYPE: in gkm_null_key_real_get_attribute() 120 { CKA_KEY_TYPE, &type, sizeof (type) } in gkm_null_key_get_factory()
|
H A D | gkm-generic-key.c | 122 case CKA_KEY_TYPE: in gkm_generic_key_get_attribute() 206 { CKA_KEY_TYPE, &type, sizeof (type) } in gkm_generic_key_get_factory()
|
/dports/security/beid/eid-mw-5.0.8/cardcomm/pkcs11/src/ |
H A D | cal.h | 69 { CKA_KEY_TYPE, ( CK_VOID_PTR ) NULL, 0 }, \ 95 { CKA_KEY_TYPE, ( CK_VOID_PTR ) NULL, 0 }, \ 115 { CKA_KEY_TYPE, ( CK_VOID_PTR ) NULL, 0 }, \ 133 { CKA_KEY_TYPE, ( CK_VOID_PTR ) NULL, 0 }, \
|
/dports/security/pecl-pkcs11/pkcs11-1.0/tests/ |
H A D | 0144-sym-wrap-aes.phpt | 30 Pkcs11\CKA_KEY_TYPE => Pkcs11\CKK_AES, 45 Pkcs11\CKA_KEY_TYPE => Pkcs11\CKK_AES,
|
H A D | 0330-oasis_C_Verify.phpt | 19 Pkcs11\CKA_KEY_TYPE => Pkcs11\CKK_RSA, 50 Pkcs11\CKA_KEY_TYPE => Pkcs11\CKK_RSA, 89 Pkcs11\CKA_KEY_TYPE => Pkcs11\CKK_RSA,
|
H A D | 0320-oasis_C_Sign.phpt | 16 Pkcs11\CKA_KEY_TYPE => Pkcs11\CKK_RSA, 47 Pkcs11\CKA_KEY_TYPE => Pkcs11\CKK_RSA,
|
H A D | 0165-rsa-encrypt-oaep-wrap.phpt | 45 Pkcs11\CKA_KEY_TYPE => Pkcs11\CKK_AES, 75 Pkcs11\CKA_KEY_TYPE => Pkcs11\CKK_AES,
|
/dports/security/softhsm2/softhsm-2.6.1/src/bin/util/ |
H A D | softhsm2-util-botan.cpp | 92 { CKA_KEY_TYPE, &keyType, sizeof(keyType) }, in crypto_import_aes_key() 272 { CKA_KEY_TYPE, &keyType, sizeof(keyType) }, in crypto_save_rsa() 284 { CKA_KEY_TYPE, &keyType, sizeof(keyType) }, in crypto_save_rsa() 431 { CKA_KEY_TYPE, &keyType, sizeof(keyType) }, in crypto_save_dsa() 445 { CKA_KEY_TYPE, &keyType, sizeof(keyType) }, in crypto_save_dsa() 567 { CKA_KEY_TYPE, &keyType, sizeof(keyType) }, in crypto_save_ecdsa() 579 { CKA_KEY_TYPE, &keyType, sizeof(keyType) }, in crypto_save_ecdsa() 714 { CKA_KEY_TYPE, &keyType, sizeof(keyType) }, in crypto_save_eddsa() 726 { CKA_KEY_TYPE, &keyType, sizeof(keyType) }, in crypto_save_eddsa()
|
H A D | softhsm2-util-ossl.cpp | 105 { CKA_KEY_TYPE, &keyType, sizeof(keyType) }, in crypto_import_aes_key() 308 { CKA_KEY_TYPE, &keyType, sizeof(keyType) }, in crypto_save_rsa() 320 { CKA_KEY_TYPE, &keyType, sizeof(keyType) }, in crypto_save_rsa() 479 { CKA_KEY_TYPE, &keyType, sizeof(keyType) }, in crypto_save_dsa() 493 { CKA_KEY_TYPE, &keyType, sizeof(keyType) }, in crypto_save_dsa() 624 { CKA_KEY_TYPE, &keyType, sizeof(keyType) }, in crypto_save_ecdsa() 636 { CKA_KEY_TYPE, &keyType, sizeof(keyType) }, in crypto_save_ecdsa() 841 { CKA_KEY_TYPE, &keyType, sizeof(keyType) }, in crypto_save_eddsa() 853 { CKA_KEY_TYPE, &keyType, sizeof(keyType) }, in crypto_save_eddsa()
|
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/lib/ |
H A D | pkcs11_ls.c | 98 attr_kt = pkcs11_get_attr_in_attrlist ( attrlist, CKA_KEY_TYPE ); in value_for_keytype() 269 _ATTR(CKA_KEY_TYPE), in ls_pubk() 305 keytype = pkcs11_get_attr_in_attrlist ( attrs, CKA_KEY_TYPE ); in ls_pubk() 393 _ATTR(CKA_KEY_TYPE), in ls_prvk() 434 keytype = pkcs11_get_attr_in_attrlist ( attrs, CKA_KEY_TYPE ); in ls_prvk() 520 _ATTR(CKA_KEY_TYPE), in ls_seck()
|
H A D | pkcs11_peekpoke.c | 194 _ATTR(CKA_KEY_TYPE), in pkcs11_adjust_keypair_id() 205 key_type = pkcs11_get_attr_in_attrlist ( attrs, CKA_KEY_TYPE ); in pkcs11_adjust_keypair_id() 408 attrs = pkcs11_new_attrlist(p11Context, _ATTR(CKA_KEY_TYPE), _ATTR_END ); in pkcs11_get_key_type() 413 CK_ATTRIBUTE_PTR attr_ptr = pkcs11_get_attr_in_attrlist(attrs, CKA_KEY_TYPE); in pkcs11_get_key_type()
|
/dports/www/firefox/firefox-99.0/third_party/rust/pkcs11/src/ |
H A D | tests.rs | 906 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&keyType), in ctx_generate_key() 967 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&privKeyType), in ctx_generate_key_pair() 1001 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&pubKeyType), in ctx_generate_key_pair() 1054 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&keyType), in fixture_token_and_secret_keys() 1105 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&keyType), in fixture_token_and_secret_keys() 1149 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&privKeyType), in fixture_key_pair() 1172 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&pubKeyType), in fixture_key_pair() 1254 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&pubKeyType), in fixture_dh_key_pair() 1325 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&keyType), in ctx_unwrap_key() 1406 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&keyType), in ctx_derive_key() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/pkcs11/src/ |
H A D | tests.rs | 906 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&keyType), in ctx_generate_key() 967 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&privKeyType), in ctx_generate_key_pair() 1001 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&pubKeyType), in ctx_generate_key_pair() 1054 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&keyType), in fixture_token_and_secret_keys() 1105 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&keyType), in fixture_token_and_secret_keys() 1149 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&privKeyType), in fixture_key_pair() 1172 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&pubKeyType), in fixture_key_pair() 1254 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&pubKeyType), in fixture_dh_key_pair() 1325 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&keyType), in ctx_unwrap_key() 1406 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&keyType), in ctx_derive_key() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/pkcs11/src/ |
H A D | tests.rs | 906 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&keyType), in ctx_generate_key() 967 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&privKeyType), in ctx_generate_key_pair() 1001 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&pubKeyType), in ctx_generate_key_pair() 1054 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&keyType), in fixture_token_and_secret_keys() 1105 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&keyType), in fixture_token_and_secret_keys() 1149 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&privKeyType), in fixture_key_pair() 1172 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&pubKeyType), in fixture_key_pair() 1254 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&pubKeyType), in fixture_dh_key_pair() 1325 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&keyType), in ctx_unwrap_key() 1406 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&keyType), in ctx_derive_key() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/pkcs11/src/ |
H A D | tests.rs | 900 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&keyType), in ctx_generate_key() 961 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&privKeyType), in ctx_generate_key_pair() 995 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&pubKeyType), in ctx_generate_key_pair() 1048 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&keyType), in fixture_token_and_secret_keys() 1099 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&keyType), in fixture_token_and_secret_keys() 1143 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&privKeyType), in fixture_key_pair() 1166 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&pubKeyType), in fixture_key_pair() 1248 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&pubKeyType), in fixture_dh_key_pair() 1319 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&keyType), in ctx_unwrap_key() 1400 CK_ATTRIBUTE::new(CKA_KEY_TYPE).with_ck_ulong(&keyType), in ctx_derive_key() [all …]
|