/bind-9.11.3/lib/isc/ |
H A D | aes.c | 164 CK_MECHANISM mech = { CKM_AES_ECB, NULL, 0 }; local 189 (ctx.session, &mech, ctx.object));
|
H A D | hmacmd5.c | 86 CK_MECHANISM mech = { CKM_MD5_HMAC, NULL, 0 }; local 118 PK11_FATALCHECK(pkcs_C_SignInit, (ctx->session, &mech, ctx->object)); 172 CK_MECHANISM mech = { CKM_MD5, NULL, 0 }; local 183 PK11_FATALCHECK(pkcs_C_DigestInit, (ctx->session, &mech)); 192 PK11_FATALCHECK(pkcs_C_DigestInit, (ctx->session, &mech)); 223 CK_MECHANISM mech = { CKM_MD5, NULL, 0 }; local 236 PK11_FATALCHECK(pkcs_C_DigestInit, (ctx->session, &mech));
|
H A D | md5.c | 90 CK_MECHANISM mech = { CKM_MD5, NULL, 0 }; local 94 PK11_FATALCHECK(pkcs_C_DigestInit, (ctx->session, &mech));
|
H A D | hmacsha.c | 256 CK_MECHANISM mech = { CKM_SHA_1_HMAC, NULL, 0 }; local 288 PK11_FATALCHECK(pkcs_C_SignInit, (ctx->session, &mech, ctx->object)); 340 CK_MECHANISM mech = { CKM_SHA_1, NULL, 0 }; local 352 PK11_FATALCHECK(pkcs_C_DigestInit, (ctx->session, &mech)); 361 PK11_FATALCHECK(pkcs_C_DigestInit, (ctx->session, &mech)); 395 CK_MECHANISM mech = { CKM_SHA_1, NULL, 0 }; local 407 PK11_FATALCHECK(pkcs_C_DigestInit, (ctx->session, &mech)); 426 CK_MECHANISM mech = { CKM_SHA224_HMAC, NULL, 0 }; local 458 PK11_FATALCHECK(pkcs_C_SignInit, (ctx->session, &mech, ctx->object)); 510 CK_MECHANISM mech local 565 CK_MECHANISM mech = { CKM_SHA224, NULL, 0 }; local 596 CK_MECHANISM mech = { CKM_SHA256_HMAC, NULL, 0 }; local 680 CK_MECHANISM mech = { CKM_SHA256, NULL, 0 }; local 735 CK_MECHANISM mech = { CKM_SHA256, NULL, 0 }; local 766 CK_MECHANISM mech = { CKM_SHA384_HMAC, NULL, 0 }; local 850 CK_MECHANISM mech = { CKM_SHA384, NULL, 0 }; local 905 CK_MECHANISM mech = { CKM_SHA384, NULL, 0 }; local 936 CK_MECHANISM mech = { CKM_SHA512_HMAC, NULL, 0 }; local 1020 CK_MECHANISM mech = { CKM_SHA512, NULL, 0 }; local 1075 CK_MECHANISM mech = { CKM_SHA512, NULL, 0 }; local [all...] |
H A D | sha1.c | 97 CK_MECHANISM mech = { CKM_SHA_1, NULL, 0 }; local 101 PK11_FATALCHECK(pkcs_C_DigestInit, (ctx->session, &mech));
|
H A D | sha2.c | 266 CK_MECHANISM mech = { CKM_SHA224, NULL, 0 }; local 273 PK11_FATALCHECK(pkcs_C_DigestInit, (context->session, &mech)); 332 CK_MECHANISM mech = { CKM_SHA256, NULL, 0 }; local 339 PK11_FATALCHECK(pkcs_C_DigestInit, (context->session, &mech)); 398 CK_MECHANISM mech = { CKM_SHA512, NULL, 0 }; local 405 PK11_FATALCHECK(pkcs_C_DigestInit, (context->session, &mech)); 464 CK_MECHANISM mech = { CKM_SHA384, NULL, 0 }; local 471 PK11_FATALCHECK(pkcs_C_DigestInit, (context->session, &mech));
|
/bind-9.11.3/bin/tests/pkcs11/benchmarks/ |
H A D | sha1.c | 91 CK_MECHANISM mech = { CKM_SHA_1, NULL, 0 }; local 167 rv = pkcs_C_DigestInit(hSession, &mech);
|
H A D | genrsa.c | 96 CK_MECHANISM mech = { CKM_RSA_PKCS_KEY_PAIR_GEN, NULL, 0 }; local 232 rv = pkcs_C_GenerateKeyPair(hSession, &mech,
|
H A D | verify.c | 135 CK_MECHANISM mech = { CKM_SHA1_RSA_PKCS, NULL, 0 }; local 239 rv = pkcs_C_VerifyInit(hSession, &mech, hKey);
|
H A D | sign.c | 214 CK_MECHANISM mech = { CKM_SHA1_RSA_PKCS, NULL, 0 }; local 317 rv = pkcs_C_SignInit(hSession, &mech, hKey);
|
/bind-9.11.3/bin/tests/pkcs11/ |
H A D | pkcs11-md5sum.c | 84 CK_MECHANISM mech = { CKM_MD5, NULL, 0 }; local 156 rv = pkcs_C_DigestInit(hSession, &mech);
|
H A D | pkcs11-hmacmd5.c | 89 CK_MECHANISM mech = { CKM_MD5_HMAC, NULL, 0 }; local 246 rv = pkcs_C_SignInit(hSession, &mech, hKey);
|
/bind-9.11.3/lib/dns/tests/ |
H A D | gost_test.c | 320 CK_MECHANISM mech = { CKM_GOSTR3410_WITH_GOSTR3411, NULL, 0 }; local 342 ATF_REQUIRE(pkcs_C_SignInit(pk11_ctx.session, &mech,
|
/bind-9.11.3/lib/dns/ |
H A D | pkcs11dh_link.c | 156 CK_MECHANISM mech = { CKM_DH_PKCS_DERIVE, NULL, 0 }; local 200 mech.ulParameterLen = attr->ulValueLen; 201 mech.pParameter = isc_mem_get(pub->mctx, mech.ulParameterLen); 202 if (mech.pParameter == NULL) 204 memmove(mech.pParameter, attr->pValue, mech.ulParameterLen); 211 (ctx.session, &mech, hKey, 251 if (mech.pParameter != NULL) { 252 isc_safe_memwipe(mech 359 CK_MECHANISM mech = { CKM_DH_PKCS_PARAMETER_GEN, NULL, 0 }; local [all...] |
H A D | pkcs11dsa_link.c | 76 CK_MECHANISM mech = { CKM_DSA_SHA1, NULL, 0 }; local 174 (pk11_ctx->session, &mech, pk11_ctx->object), 211 CK_MECHANISM mech = { CKM_DSA_SHA1, NULL, 0 }; local 306 (pk11_ctx->session, &mech, pk11_ctx->object), 502 CK_MECHANISM mech = { CKM_DSA_PARAMETER_GEN, NULL, 0 }; local 560 (pk11_ctx->session, &mech, dpTemplate, (CK_ULONG) 5, &dp), 601 mech.mechanism = CKM_DSA_KEY_PAIR_GEN; 603 (pk11_ctx->session, &mech,
|
H A D | pkcs11ecdsa_link.c | 71 CK_MECHANISM mech = {0, NULL, 0 }; local 82 mech.mechanism = CKM_SHA256; 84 mech.mechanism = CKM_SHA384; 100 PK11_RET(pkcs_C_DigestInit, (pk11_ctx->session, &mech), ISC_R_FAILURE); 152 CK_MECHANISM mech = { CKM_ECDSA, NULL, 0 }; local 239 (pk11_ctx->session, &mech, 274 CK_MECHANISM mech = { CKM_ECDSA, NULL, 0 }; local 344 (pk11_ctx->session, &mech, hKey), 453 CK_MECHANISM mech = { CKM_EC_KEY_PAIR_GEN, NULL, 0 }; local 517 (pk11_ctx->session, &mech, [all...] |
H A D | pkcs11eddsa_link.c | 125 CK_MECHANISM mech = { CKM_EDDSA, NULL, 0 }; local 219 (pk11_ctx->session, &mech, 258 CK_MECHANISM mech = { CKM_EDDSA, NULL, 0 }; local 333 (pk11_ctx->session, &mech, hKey), 445 CK_MECHANISM mech = { CKM_EDDSA_KEY_PAIR_GEN, NULL, 0 }; local 509 (pk11_ctx->session, &mech,
|
H A D | pkcs11gost_link.c | 74 CK_MECHANISM mech = { CKM_GOSTR3411, NULL, 0 }; local 81 PK11_CALL(pkcs_C_DigestInit, (ctx->session, &mech), ISC_R_FAILURE); 136 CK_MECHANISM mech = { CKM_GOSTR3410_WITH_GOSTR3411, NULL, 0 }; local 205 (pk11_ctx->session, &mech, pk11_ctx->object), 242 CK_MECHANISM mech = { CKM_GOSTR3410_WITH_GOSTR3411, NULL, 0 }; local 310 (pk11_ctx->session, &mech, pk11_ctx->object), 471 CK_MECHANISM mech = { CKM_GOSTR3410_KEY_PAIR_GEN, NULL, 0 }; local 517 (pk11_ctx->session, &mech,
|
H A D | pkcs11rsa_link.c | 53 CK_MECHANISM mech = { 0, NULL, 0 }; local 240 mech.mechanism = CKM_MD5_RSA_PKCS; 245 mech.mechanism = CKM_SHA1_RSA_PKCS; 248 mech.mechanism = CKM_SHA256_RSA_PKCS; 251 mech.mechanism = CKM_SHA512_RSA_PKCS; 258 (pk11_ctx->session, &mech, pk11_ctx->object), 297 CK_MECHANISM mech = { 0, NULL, 0 }; local 408 mech.mechanism = CKM_MD5_RSA_PKCS; 413 mech.mechanism = CKM_SHA1_RSA_PKCS; 416 mech 584 CK_MECHANISM mech = { 0, NULL, 0 }; local 711 CK_MECHANISM mech = { CKM_RSA_PKCS, NULL, 0 }; local 971 CK_MECHANISM mech = { CKM_RSA_PKCS, NULL, 0 }; local 1167 CK_MECHANISM mech = { CKM_RSA_PKCS_KEY_PAIR_GEN, NULL, 0 }; local [all...] |
H A D | spnego.c | 692 const gss_OID mech) 713 if (mech_len != mech->length) 715 if (!isc_safe_memequal(p, mech->elements, mech->length)) 732 const gss_OID mech) 740 mech); 1370 const gss_OID mech) 1374 *len = 1 + 1 + mech->length + data_len; 1384 const gss_OID mech) 1396 *p++ = mech 690 gssapi_verify_mech_header(u_char ** str, size_t total_len, const gss_OID mech) argument 728 gssapi_spnego_decapsulate(OM_uint32 *minor_status, gss_buffer_t input_token_buffer, unsigned char **buf, size_t *buf_len, const gss_OID mech) argument 1367 gssapi_encap_length(size_t data_len, size_t *len, size_t *total_len, const gss_OID mech) argument 1382 gssapi_mech_make_header(u_char *p, size_t len, const gss_OID mech) argument 1407 gssapi_spnego_encapsulate(OM_uint32 * minor_status, unsigned char *buf, size_t buf_size, gss_buffer_t output_token, const gss_OID mech) argument 1441 add_mech(MechTypeList * mech_list, gss_OID mech) argument [all...] |
/bind-9.11.3/bin/pkcs11/ |
H A D | pkcs11-keygen.c | 274 CK_MECHANISM mech, dpmech; local 381 mech.mechanism = CKM_RSA_PKCS_KEY_PAIR_GEN; 382 mech.pParameter = NULL; 383 mech.ulParameterLen = 0; 415 mech.mechanism = CKM_EC_KEY_PAIR_GEN; 416 mech.pParameter = NULL; 417 mech.ulParameterLen = 0; 448 mech.mechanism = CKM_EDDSA_KEY_PAIR_GEN; 449 mech.pParameter = NULL; 450 mech [all...] |