Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 228) sorted by relevance

12345678910

/openssl/crypto/objects/
H A Dobjects.txt469 id-pkix 1 : id-pe
470 id-pkix 2 : id-qt
471 id-pkix 3 : id-kp
472 id-pkix 4 : id-it
473 id-pkix 5 : id-pkip
474 id-pkix 6 : id-alg
475 id-pkix 7 : id-cmc
476 id-pkix 8 : id-on
477 id-pkix 9 : id-pda
480 id-pkix 14 : id-cp
[all …]
/openssl/util/
H A Dfind-doc-nits281 my $id = shift;
425 my $id = shift;
441 my $id = shift;
505 my $id = shift;
533 my $id = shift;
601 my $id = shift;
676 my $id = shift;
688 if ( $id =~ m@man1/@ ) {
752 wording($id, $contents);
776 err($id, "Bad =over $1")
[all …]
/openssl/crypto/ec/
H A Decx_backend.h10 #define ISX448(id) ((id) == EVP_PKEY_X448) argument
11 #define IS25519(id) ((id) == EVP_PKEY_X25519 || (id) == EVP_PKEY_ED25519) argument
12 #define KEYLENID(id) (IS25519(id) ? X25519_KEYLEN \ argument
13 : ((id) == EVP_PKEY_X448 ? X448_KEYLEN \
15 #define KEYNID2TYPE(id) \ argument
16 (IS25519(id) ? ((id) == EVP_PKEY_X25519 ? ECX_KEY_TYPE_X25519 \
18 : ((id) == EVP_PKEY_X448 ? ECX_KEY_TYPE_X448 \
H A Decx_backend.c157 int id, ecx_key_op_t op, in ossl_ecx_key_op() argument
173 if (id == EVP_PKEY_NONE) in ossl_ecx_key_op()
174 id = OBJ_obj2nid(palg->algorithm); in ossl_ecx_key_op()
175 else if (id != OBJ_obj2nid(palg->algorithm)) { in ossl_ecx_key_op()
181 if (p == NULL || id == EVP_PKEY_NONE || plen != KEYLENID(id)) { in ossl_ecx_key_op()
187 key = ossl_ecx_key_new(libctx, KEYNID2TYPE(id), 1, propq); in ossl_ecx_key_op()
203 if (id != EVP_PKEY_NONE) { in ossl_ecx_key_op()
204 if (RAND_priv_bytes_ex(libctx, privkey, KEYLENID(id), 0) <= 0) in ossl_ecx_key_op()
206 if (id == EVP_PKEY_X25519) { in ossl_ecx_key_op()
210 } else if (id == EVP_PKEY_X448) { in ossl_ecx_key_op()
[all …]
/openssl/providers/common/der/
H A DDIGESTS.asn111 id-sha1 OBJECT IDENTIFIER ::= { iso(1)
19 id-md2 OBJECT IDENTIFIER ::= {
22 id-md5 OBJECT IDENTIFIER ::= {
28 id-sha256 OBJECT IDENTIFIER ::= { hashAlgs 1 }
29 id-sha384 OBJECT IDENTIFIER ::= { hashAlgs 2 }
30 id-sha512 OBJECT IDENTIFIER ::= { hashAlgs 3 }
31 id-sha224 OBJECT IDENTIFIER ::= { hashAlgs 4 }
34 id-sha3-224 OBJECT IDENTIFIER ::= { hashAlgs 7 }
35 id-sha3-256 OBJECT IDENTIFIER ::= { hashAlgs 8 }
36 id-sha3-384 OBJECT IDENTIFIER ::= { hashAlgs 9 }
[all …]
H A DECX.asn112 id-edwards-curve-algs OBJECT IDENTIFIER ::= { 1 3 101 }
14 id-X25519 OBJECT IDENTIFIER ::= { id-edwards-curve-algs 110 }
15 id-X448 OBJECT IDENTIFIER ::= { id-edwards-curve-algs 111 }
16 id-Ed25519 OBJECT IDENTIFIER ::= { id-edwards-curve-algs 112 }
17 id-Ed448 OBJECT IDENTIFIER ::= { id-edwards-curve-algs 113 }
H A DDSA.asn114 id-dsa OBJECT IDENTIFIER ::= {
19 id-dsa-with-sha1 OBJECT IDENTIFIER ::= {
28 id-dsa-with-sha224 OBJECT IDENTIFIER ::= { sigAlgs 1 }
29 id-dsa-with-sha256 OBJECT IDENTIFIER ::= { sigAlgs 2 }
30 id-dsa-with-sha384 OBJECT IDENTIFIER ::= { sigAlgs 3 }
31 id-dsa-with-sha512 OBJECT IDENTIFIER ::= { sigAlgs 4 }
33 id-dsa-with-sha3-224 OBJECT IDENTIFIER ::= { sigAlgs 5 }
34 id-dsa-with-sha3-256 OBJECT IDENTIFIER ::= { sigAlgs 6 }
35 id-dsa-with-sha3-384 OBJECT IDENTIFIER ::= { sigAlgs 7 }
36 id-dsa-with-sha3-512 OBJECT IDENTIFIER ::= { sigAlgs 8 }
H A DRSA.asn131 -- When id-RSAES-OAEP is used in an AlgorithmIdentifier, the
34 id-RSAES-OAEP OBJECT IDENTIFIER ::= { pkcs-1 7 }
37 -- When id-pSpecified is used in an AlgorithmIdentifier, the
40 id-pSpecified OBJECT IDENTIFIER ::= { pkcs-1 9 }
43 -- When id-RSASSA-PSS is used in an AlgorithmIdentifier, the
46 id-RSASSA-PSS OBJECT IDENTIFIER ::= { pkcs-1 10 }
63 -- When id-mgf1 is used in an AlgorithmIdentifier, the parameters
66 id-mgf1 OBJECT IDENTIFIER ::= { pkcs-1 8 }
71 id-rsassa-pkcs1-v1_5-with-sha3-224 OBJECT IDENTIFIER ::= { sigAlgs 13 }
72 id-rsassa-pkcs1-v1_5-with-sha3-256 OBJECT IDENTIFIER ::= { sigAlgs 14 }
[all …]
H A DEC.asn117 id-ecSigType OBJECT IDENTIFIER ::= { ansi-X9-62 signatures(4) }
21 ecdsa-with-SHA1 OBJECT IDENTIFIER ::= { id-ecSigType 1 }
23 id-publicKeyType OBJECT IDENTIFIER ::= { ansi-X9-62 keyType(2) }
25 id-ecPublicKey OBJECT IDENTIFIER ::= { id-publicKeyType 1 }
86 id-ecdsa-with-sha3-224 OBJECT IDENTIFIER ::= { sigAlgs 9 }
87 id-ecdsa-with-sha3-256 OBJECT IDENTIFIER ::= { sigAlgs 10 }
88 id-ecdsa-with-sha3-384 OBJECT IDENTIFIER ::= { sigAlgs 11 }
89 id-ecdsa-with-sha3-512 OBJECT IDENTIFIER ::= { sigAlgs 12 }
/openssl/test/
H A Dciphername_test.c26 int id; member
368 static const char *get_std_name_by_id(int id) in get_std_name_by_id() argument
373 if (cipher_names[i].id == id) in get_std_name_by_id()
386 int i, id = 0, ret = 0; in test_cipher_name() local
433 id = SSL_CIPHER_get_id(c) & 0xFFFF; in test_cipher_name()
434 if ((id == 0xC102) || (id == 0xFF85) ||(id == 0xFF87)) in test_cipher_name()
438 q = get_std_name_by_id(id); in test_cipher_name()
441 q, id); in test_cipher_name()
447 q, p, id); in test_cipher_name()
455 q, r, id); in test_cipher_name()
H A Devp_pkey_dparams_test.c245 static int params_bio_test(int id) in params_bio_test() argument
251 int type = pkey_params[id].type; in params_bio_test()
253 ret = TEST_ptr(in = BIO_new_mem_buf(pkey_params[id].param_bin, in params_bio_test()
254 (int)pkey_params[id].param_bin_len)) in params_bio_test()
262 && TEST_mem_eq(pkey_params[id].param_bin, in params_bio_test()
263 (int)pkey_params[id].param_bin_len, in params_bio_test()
273 static int set_enc_pubkey_test(int id) in set_enc_pubkey_test() argument
278 int type = pkey_params[id].type; in set_enc_pubkey_test()
279 const struct pubkey *keys = pkey_params[id].keys; in set_enc_pubkey_test()
284 ret = TEST_ptr(in = BIO_new_mem_buf(pkey_params[id].param_bin, in set_enc_pubkey_test()
[all …]
H A Dnamemap_internal_test.c79 int id; in test_digestbyname() local
85 id = ossl_namemap_add_name(nm, 0, "SHA256"); in test_digestbyname()
86 if (!TEST_int_ne(id, 0)) in test_digestbyname()
88 if (!TEST_int_eq(ossl_namemap_add_name(nm, id, "foo"), id)) in test_digestbyname()
107 int id; in test_cipherbyname() local
113 id = ossl_namemap_add_name(nm, 0, "AES-128-CBC"); in test_cipherbyname()
114 if (!TEST_int_ne(id, 0)) in test_cipherbyname()
116 if (!TEST_int_eq(ossl_namemap_add_name(nm, id, "bar"), id)) in test_cipherbyname()
H A Devp_fetch_prov_test.c169 static int test_explicit_EVP_MD_fetch(const char *id) in test_explicit_EVP_MD_fetch() argument
179 md = EVP_MD_fetch(ctx, id, fetch_property); in test_explicit_EVP_MD_fetch()
215 char id[OSSL_MAX_NAME_SIZE] = { 0 }; in test_explicit_EVP_MD_fetch_by_X509_ALGOR() local
223 if (!TEST_int_gt(OBJ_obj2txt(id, sizeof(id), obj, 0), 0)) in test_explicit_EVP_MD_fetch_by_X509_ALGOR()
227 if (!TEST_int_gt(OBJ_obj2txt(id, sizeof(id), obj, 1), 0)) in test_explicit_EVP_MD_fetch_by_X509_ALGOR()
232 ret = test_explicit_EVP_MD_fetch(id); in test_explicit_EVP_MD_fetch_by_X509_ALGOR()
297 cipher = EVP_CIPHER_fetch(ctx, id, fetch_property); in test_explicit_EVP_CIPHER_fetch()
331 char id[OSSL_MAX_NAME_SIZE] = { 0 }; in test_explicit_EVP_CIPHER_fetch_by_X509_ALGOR() local
339 if (!TEST_int_gt(OBJ_obj2txt(id, sizeof(id), obj, 0), 0)) in test_explicit_EVP_CIPHER_fetch_by_X509_ALGOR()
343 if (!TEST_int_gt(OBJ_obj2txt(id, sizeof(id), obj, 1), 0)) in test_explicit_EVP_CIPHER_fetch_by_X509_ALGOR()
[all …]
/openssl/doc/man3/
H A DSSL_CTX_set_generate_session_id.pod13 typedef int (*GEN_SESSION_CB)(SSL *ssl, unsigned char *id,
29 SSL_has_matching_session_id() checks, whether a session with id B<id>
36 generates a session id. The session id is an arbitrary sequence of bytes.
37 The length of the session id is between 1 and 32 bytes. The session id is not
53 B<id> exceeding the given limit.
64 If an id conflict is not resolved, the handshake will fail.
77 can occur in that another thread generates the same session id.
91 same id is already in the cache.
101 static int generate_session_id(SSL *ssl, unsigned char *id,
107 RAND_pseudo_bytes(id, *id_len);
[all …]
/openssl/crypto/encode_decode/
H A Ddecoder_meth.c136 int id; in get_decoder_from_store() local
143 if ((id = methdata->id) == 0 && methdata->names != NULL) { in get_decoder_from_store()
154 if (id == 0) in get_decoder_from_store()
173 int id; in put_decoder_in_store() local
210 decoder->base.id = id; in ossl_decoder_from_algorithm()
311 if (id != 0) in construct_decoder()
365 if (id == 0 in inner_ossl_decoder_fetch()
378 methdata->id = id; in inner_ossl_decoder_fetch()
528 int id = *id_cache; in ossl_decoder_fast_is_a() local
530 if (id <= 0) in ossl_decoder_fast_is_a()
[all …]
H A Dencoder_meth.c136 int id; in get_encoder_from_store() local
143 if ((id = methdata->id) == 0 && methdata->names != NULL) { in get_encoder_from_store()
154 if (id == 0) in get_encoder_from_store()
173 int id; in put_encoder_in_store() local
210 encoder->base.id = id; in encoder_from_algorithm()
321 if (id != 0) in construct_encoder()
360 int unsupported, id; in inner_ossl_encoder_fetch() local
373 unsupported = id == 0; in inner_ossl_encoder_fetch()
375 if (id == 0 in inner_ossl_encoder_fetch()
388 methdata->id = id; in inner_ossl_encoder_fetch()
[all …]
/openssl/crypto/x509/
H A Dpcy_data.c42 ASN1_OBJECT *id; in ossl_policy_data_new() local
47 id = OBJ_dup(cid); in ossl_policy_data_new()
48 if (id == NULL) in ossl_policy_data_new()
51 id = NULL; in ossl_policy_data_new()
54 ASN1_OBJECT_free(id); in ossl_policy_data_new()
61 ASN1_OBJECT_free(id); in ossl_policy_data_new()
69 if (id) in ossl_policy_data_new()
70 ret->valid_policy = id; in ossl_policy_data_new()
H A Dx509_trust.c22 static int obj_trust(int id, X509 *x, int flags);
66 int X509_check_trust(X509 *x, int id, int flags) in X509_check_trust() argument
72 if (id == X509_TRUST_DEFAULT) in X509_check_trust()
75 idx = X509_TRUST_get_by_id(id); in X509_check_trust()
77 return default_trust(id, x, flags); in X509_check_trust()
98 int X509_TRUST_get_by_id(int id) in X509_TRUST_get_by_id() argument
103 if ((id >= X509_TRUST_MIN) && (id <= X509_TRUST_MAX)) in X509_TRUST_get_by_id()
104 return id - X509_TRUST_MIN; in X509_TRUST_get_by_id()
107 tmp.trust = id; in X509_TRUST_get_by_id()
136 idx = X509_TRUST_get_by_id(id); in X509_TRUST_add()
[all …]
H A Dv3_sxnet.c62 SXNETID *id; variable
79 id = sk_SXNETID_value(sx->ids, i);
85 ASN1_STRING_print(out, id->user);
155 SXNETID *id = NULL; in SXNET_add_id_INTEGER() local
181 if ((id = SXNETID_new()) == NULL) in SXNET_add_id_INTEGER()
186 if (!sk_SXNETID_push(sx->ids, id)) in SXNET_add_id_INTEGER()
188 id->zone = zone; in SXNET_add_id_INTEGER()
194 SXNETID_free(id); in SXNET_add_id_INTEGER()
232 SXNETID *id; in SXNET_get_id_INTEGER() local
235 id = sk_SXNETID_value(sx->ids, i); in SXNET_get_id_INTEGER()
[all …]
/openssl/crypto/pkcs12/
H A Dp12_key.c20 int saltlen, int id, int iter, int n, in PKCS12_key_gen_asc_ex() argument
35 ret = PKCS12_key_gen_uni_ex(unipass, uniplen, salt, saltlen, id, iter, in PKCS12_key_gen_asc_ex()
42 int saltlen, int id, int iter, int n, in PKCS12_key_gen_asc() argument
45 return PKCS12_key_gen_asc_ex(pass, passlen, salt, saltlen, id, iter, n, in PKCS12_key_gen_asc()
50 int saltlen, int id, int iter, int n, in PKCS12_key_gen_utf8_ex() argument
65 ret = PKCS12_key_gen_uni_ex(unipass, uniplen, salt, saltlen, id, iter, in PKCS12_key_gen_utf8_ex()
72 int saltlen, int id, int iter, int n, in PKCS12_key_gen_utf8() argument
75 return PKCS12_key_gen_utf8_ex(pass, passlen, salt, saltlen, id, iter, n, in PKCS12_key_gen_utf8()
80 int saltlen, int id, int iter, int n, in PKCS12_key_gen_uni_ex() argument
107 *p++ = OSSL_PARAM_construct_int(OSSL_KDF_PARAM_PKCS12_ID, &id); in PKCS12_key_gen_uni_ex()
[all …]
/openssl/crypto/store/
H A Dstore_meth.c139 int id; in get_loader_from_store() local
141 if ((id = methdata->scheme_id) == 0) { in get_loader_from_store()
163 int id; in put_loader_in_store() local
256 int id = ossl_namemap_add_name(namemap, 0, scheme); in construct_loader() local
259 if (id != 0) in construct_loader()
288 int unsupported, id; in inner_loader_fetch() local
302 unsupported = id == 0; in inner_loader_fetch()
304 if (id == 0 in inner_loader_fetch()
317 methdata->scheme_id = id; in inner_loader_fetch()
329 if (id == 0) in inner_loader_fetch()
[all …]
/openssl/crypto/evp/
H A Ddh_support.c17 int id; member
39 const char *ossl_dh_gen_type_id2name(int id) in ossl_dh_gen_type_id2name() argument
44 if (dhtype2id[i].id == id) in ossl_dh_gen_type_id2name()
59 return dhtype2id[i].id; in ossl_dh_gen_type_name2id()
/openssl/test/recipes/30-test_evp_data/
H A Devpkdf_x942.txt19 Ctrl.cekalg = cekalg:id-aes128-wrap
25 Ctrl.cekalg = cekalg:id-aes256-wrap
34 Ctrl.cekalg = cekalg:id-aes256-wrap
41 Ctrl.cekalg = cekalg:id-aes256-wrap
49 Ctrl.cekalg = cekalg:id-aes256-wrap
57 Ctrl.cekalg = cekalg:id-aes256-wrap
64 Ctrl.cekalg = cekalg:id-aes256-wrap
71 Ctrl.cekalg = cekalg:id-aes256-wrap
84 Ctrl.cekalg = cekalg:id-aes128-wrap
95 Ctrl.cekalg = cekalg:id-aes128-wrap
H A Devppbe_pkcs12.txt17 id = 1
25 id = 2
33 id = 3
41 id = 1
49 id = 2
57 id = 3
H A Devpkdf_scrypt.txt14 Title = Scrypt tests (from draft-josefsson-id-scrypt-kdf-03 and others)
16 KDF = id-scrypt
24 KDF = id-scrypt
32 KDF = id-scrypt
40 KDF = id-scrypt
48 KDF = id-scrypt
57 KDF = id-scrypt

Completed in 59 milliseconds

12345678910