| /src/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/ |
| aeap.c | 53 krb5_keytype keytype; local 69 krb5_enctype_to_keytype(context, key->keytype, &keytype); 71 switch (keytype) { 99 krb5_keytype keytype; local 115 krb5_enctype_to_keytype(context, key->keytype, &keytype); 117 switch (keytype) { 146 krb5_keytype keytype; local 163 krb5_enctype_to_keytype(context, key->keytype, &keytype) [all...] |
| inquire_sec_context_by_oid.c | 104 enum keytype { ACCEPTOR_KEY, INITIATOR_KEY, TOKEN_KEY }; enum 110 enum keytype keytype, 129 switch(keytype) { 140 _gsskrb5_set_status(EINVAL, "%d is not a valid subkey type", keytype); 148 _gsskrb5_set_status(EINVAL, "have no subkey of type %d", keytype); 295 is_updated = (acceptor_subkey->keytype != 296 context_handle->auth_context->keyblock->keytype); 364 switch (key->keytype) {
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/asn1/ |
| d2i_pr.c | 107 int keytype; local 140 keytype = EVP_PKEY_DSA; 142 keytype = EVP_PKEY_EC; 144 keytype = EVP_PKEY_RSA; 147 ret = d2i_PrivateKey(keytype, a, pp, length);
|
| /src/crypto/external/apache2/openssl/dist/crypto/evp/ |
| ec_ctrl.c | 285 int keytype = nid == EVP_PKEY_SM2 ? EVP_PKEY_SM2 : EVP_PKEY_EC; local 287 return EVP_PKEY_CTX_ctrl(ctx, keytype, EVP_PKEY_OP_TYPE_GEN,
|
| evp_pkey.c | 78 char keytype[OSSL_MAX_NAME_SIZE]; local 82 || !OBJ_obj2txt(keytype, sizeof(keytype), algoid, 0)) 93 keytype, selection, libctx, propq); 101 * keytype
|
| signature.c | 644 * check if the keytype is the same as the signature algorithm name 646 const char *keytype = EVP_KEYMGMT_get0_name(ctx->keymgmt); local 647 int ok = EVP_SIGNATURE_is_a(signature, keytype);
|
| /src/crypto/external/bsd/openssl/dist/crypto/evp/ |
| ec_ctrl.c | 286 int keytype = nid == EVP_PKEY_SM2 ? EVP_PKEY_SM2 : EVP_PKEY_EC; local 288 return EVP_PKEY_CTX_ctrl(ctx, keytype, EVP_PKEY_OP_TYPE_GEN,
|
| /src/crypto/external/apache2/openssl/dist/crypto/asn1/ |
| d2i_pr.c | 29 d2i_PrivateKey_decoder(int keytype, EVP_PKEY **a, const unsigned char **pp, 44 if (keytype != EVP_PKEY_NONE) { 45 key_name = evp_pkey_type2name(keytype); 102 ossl_d2i_PrivateKey_legacy(int keytype, EVP_PKEY **a, const unsigned char **pp, 121 if (!EVP_PKEY_set_type(ret, keytype)) { 146 if (EVP_PKEY_type(keytype) != EVP_PKEY_get_base_id(ret)) 166 EVP_PKEY *d2i_PrivateKey_ex(int keytype, EVP_PKEY **a, const unsigned char **pp, 172 ret = d2i_PrivateKey_decoder(keytype, a, pp, length, libctx, propq); 175 ret = ossl_d2i_PrivateKey_legacy(keytype, a, pp, length, libctx, propq); 193 int keytype; local [all...] |
| /src/crypto/external/apache2/openssl/dist/include/internal/ |
| hpke_util.h | 33 const char *keytype; /* string form of algtype "EC"/"X25519"/"X448" */ member in struct:__anon418
|
| /src/crypto/external/bsd/openssl/dist/crypto/asn1/ |
| d2i_pr.c | 27 d2i_PrivateKey_decoder(int keytype, EVP_PKEY **a, const unsigned char **pp, 38 if (keytype != EVP_PKEY_NONE) { 39 key_name = evp_pkey_type2name(keytype); 78 ossl_d2i_PrivateKey_legacy(int keytype, EVP_PKEY **a, const unsigned char **pp, 97 if (!EVP_PKEY_set_type(ret, keytype)) { 123 if (EVP_PKEY_type(keytype) != EVP_PKEY_get_base_id(ret)) 143 EVP_PKEY *d2i_PrivateKey_ex(int keytype, EVP_PKEY **a, const unsigned char **pp, 149 ret = d2i_PrivateKey_decoder(keytype, a, pp, length, libctx, propq); 152 ret = ossl_d2i_PrivateKey_legacy(keytype, a, pp, length, libctx, propq); 170 int keytype; local [all...] |
| /src/crypto/external/bsd/openssl/dist/providers/implementations/encode_decode/ |
| decode_epki2pki.c | 131 char keytype[OSSL_MAX_NAME_SIZE]; local 135 OBJ_obj2txt(keytype, sizeof(keytype), alg->algorithm, 0); 138 keytype, 0);
|
| /src/external/bsd/ntp/dist/tests/libntp/ |
| a_md5encrypt.c | 21 const int keytype = NID_sha1; variable 84 length = MD5authencrypt(keytype, key, keyLength, 89 TEST_ASSERT_TRUE(MD5authdecrypt(keytype, key, keyLength, packetPtr, 103 TEST_ASSERT_TRUE(MD5authdecrypt(keytype, key, keyLength, 115 TEST_ASSERT_FALSE(MD5authdecrypt(keytype, key, keyLength,
|
| /src/crypto/external/apache2/openssl/dist/providers/implementations/encode_decode/ |
| decode_epki2pki.c | 169 char keytype[OSSL_MAX_NAME_SIZE]; local 173 OBJ_obj2txt(keytype, sizeof(keytype), alg->algorithm, 0); 176 keytype, 0);
|
| /src/external/bsd/ntp/dist/libntp/ |
| authreadkeys.c | 94 u_short keytype; /* stored key type */ member in struct:keydata 145 int keytype; local 196 * Next is keytype. See if that is all right. 220 keytype = keytype_from_text(token, NULL); 221 if (keytype == 0) { 226 } else if (NID_cmac != keytype && 227 EVP_get_digestbynid(keytype) == NULL) { 231 keytype = 0; 243 keytype = 0; 245 keytype = KEY_TYPE_MD5 [all...] |
| /src/crypto/external/apache2/openssl/dist/apps/ |
| dhparam.c | 259 const char *keytype = "DH"; local 273 * We set NULL for the keytype to allow any key type. We don't know 284 ? keytype 292 && strcmp(keytype, "DH") == 0) { 294 * When reading DER we explicitly state the expected keytype 298 * wrong and think we have a DSA keytype. Therefore, we try 301 keytype = "DHX";
|
| /src/crypto/external/apache2/openssl/dist/fuzz/ |
| ml-dsa.c | 75 * @param keytype Pointer to store the selected key type string. 82 char **keytype, size_t *keylen, 112 *keytype = "ML-DSA-44"; 116 *keytype = "ML-DSA-65"; 120 *keytype = "ML-DSA-87"; 125 *keytype = "ML-DSA-33"; 130 *keytype = "ML-DSA-87"; 137 *keytype = NULL; 163 char *keytype = NULL; local 169 if (!select_keytype_and_size(buf, len, &keytype, &keylen, 0) 222 char *keytype = NULL; local [all...] |
| ml-kem.c | 55 * @param keytype Pointer to store the selected key type string. 62 char **keytype, size_t *keylen, 93 *keytype = "ML-KEM-512"; 97 *keytype = "ML-KEM-768"; 101 *keytype = "ML-KEM-1024"; 106 *keytype = "ML-KEM-13"; 111 *keytype = "ML-KEM-1024"; 118 *keytype = NULL; 144 char *keytype = NULL; local 149 if (!select_keytype_and_size(buf, len, &keytype, &keylen, 0) 205 char *keytype = NULL; local [all...] |
| slh-dsa.c | 172 const char *keytype = NULL; local 176 keytype = select_keytype(selector, &keysize); 177 *out1 = (void *)slh_dsa_gen_key(keytype, keysize, NULL, 0); 180 keytype = select_keytype(selector, &keysize); 181 *out2 = (void *)slh_dsa_gen_key(keytype, keysize, NULL, 0); 209 const char *keytype = NULL; local 222 keytype = select_keytype(selector, &keysize); 262 *out1 = (void *)slh_dsa_gen_key(keytype, keysize, params, &broken); 312 const char *keytype; local 328 keytype = select_keytype(selector, &keylen) [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/krb5/ |
| crypto.h | 120 struct _krb5_key_type *keytype; member in struct:_krb5_encryption_type
|
| /src/crypto/external/bsd/openssh/dist/ |
| hostfile.h | 101 int keytype; /* Type of key; KEY_UNSPEC for invalid/comment lines */ member in struct:hostkey_foreach_line
|
| /src/crypto/external/bsd/openssl/dist/apps/ |
| dhparam.c | 240 const char *keytype = "DH"; local 254 * We set NULL for the keytype to allow any key type. We don't know 264 ? keytype : NULL, 271 && strcmp(keytype, "DH") == 0) { 273 * When reading DER we explicitly state the expected keytype 277 * wrong and think we have a DSA keytype. Therefore we try 280 keytype = "DHX";
|
| /src/usr.sbin/syslogd/ |
| sign.h | 179 char keytype; member in struct:sign_global_t
|
| /src/crypto/external/apache2/openssl/dist/crypto/encode_decode/ |
| decoder_pkey.c | 220 const char *keytype; /* the keytype requested, if any */ member in struct:collect_data_st 366 /* If no keytype was specified, everything matches. */ 367 if (data->keytype == NULL) 371 /* We haven't cached the IDs from the keytype string yet. */ 373 data->keytype_id = ossl_namemap_name2num(namemap, data->keytype); 376 * If keytype is a value ambiguously used for both EC and SM2, 380 && (strcmp(data->keytype, "id-ecPublicKey") == 0 381 || strcmp(data->keytype, "1.2.840.10045.2.1") == 0)) 391 /* Specified keytype could not be resolved, so nothing matches. * 668 char *keytype; member in struct:__anon215 [all...] |
| /src/crypto/external/apache2/openssl/dist/test/ |
| endecoder_legacy_test.c | 73 const char *keytype; member in struct:test_stanza_st 220 const char *keytype; member in struct:key_st 282 if (strcmp(keys[i].keytype, type) == 0) 300 static int test_protected_PEM(const char *keytype, int evp_type, 338 keytype, selection, 366 static int test_unprotected_PEM(const char *keytype, int evp_type, 403 keytype, selection, 431 static int test_DER(const char *keytype, int evp_type, 468 keytype, selection, 512 || !TEST_ptr(key = lookup_key(test_stanza->keytype))) [all...] |
| slh_dsa_test.c | 39 const char *keytype = public ? OSSL_PKEY_PARAM_PUB_KEY : OSSL_PKEY_PARAM_PRIV_KEY; local 42 params[0] = OSSL_PARAM_construct_octet_string(keytype, (uint8_t *)data, datalen);
|