Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 348) sorted by relevance

12345678910>>...14

/openssl/include/openssl/
H A Dparams.h31 # define OSSL_PARAM_int(key, addr) \ argument
33 # define OSSL_PARAM_uint(key, addr) \ argument
36 # define OSSL_PARAM_long(key, addr) \ argument
38 # define OSSL_PARAM_ulong(key, addr) \ argument
41 # define OSSL_PARAM_int32(key, addr) \ argument
43 # define OSSL_PARAM_uint32(key, addr) \ argument
46 # define OSSL_PARAM_int64(key, addr) \ argument
48 # define OSSL_PARAM_uint64(key, addr) \ argument
51 # define OSSL_PARAM_size_t(key, addr) \ argument
53 # define OSSL_PARAM_time_t(key, addr) \ argument
[all …]
/openssl/crypto/rsa/
H A Drsa_chk.c22 static int rsa_validate_keypair_multiprime(const RSA *key, BN_GENCB *cb) in rsa_validate_keypair_multiprime()
237 int ossl_rsa_validate_public(const RSA *key) in ossl_rsa_validate_public()
242 int ossl_rsa_validate_private(const RSA *key) in ossl_rsa_validate_private()
247 int ossl_rsa_validate_pairwise(const RSA *key) in ossl_rsa_validate_pairwise()
256 int RSA_check_key(const RSA *key) in RSA_check_key()
261 int RSA_check_key_ex(const RSA *key, BN_GENCB *cb) in RSA_check_key_ex()
/openssl/crypto/
H A Dparam_build.c25 const char *key; member
74 static int param_push_num(OSSL_PARAM_BLD *bld, const char *key, in param_push_num()
127 int OSSL_PARAM_BLD_push_uint(OSSL_PARAM_BLD *bld, const char *key, in OSSL_PARAM_BLD_push_uint()
134 int OSSL_PARAM_BLD_push_long(OSSL_PARAM_BLD *bld, const char *key, in OSSL_PARAM_BLD_push_long()
140 int OSSL_PARAM_BLD_push_ulong(OSSL_PARAM_BLD *bld, const char *key, in OSSL_PARAM_BLD_push_ulong()
147 int OSSL_PARAM_BLD_push_int32(OSSL_PARAM_BLD *bld, const char *key, in OSSL_PARAM_BLD_push_int32()
153 int OSSL_PARAM_BLD_push_uint32(OSSL_PARAM_BLD *bld, const char *key, in OSSL_PARAM_BLD_push_uint32()
160 int OSSL_PARAM_BLD_push_int64(OSSL_PARAM_BLD *bld, const char *key, in OSSL_PARAM_BLD_push_int64()
166 int OSSL_PARAM_BLD_push_uint64(OSSL_PARAM_BLD *bld, const char *key, in OSSL_PARAM_BLD_push_uint64()
193 static int push_BN(OSSL_PARAM_BLD *bld, const char *key, in push_BN()
[all …]
H A Dparam_build_set.c34 const char *key, long num) in ossl_param_build_set_long()
45 const char *key, const char *buf) in ossl_param_build_set_utf8_string()
56 const char *key, in ossl_param_build_set_octet_string()
70 const char *key, const BIGNUM *bn, size_t sz) in ossl_param_build_set_bn_pad()
87 const char *key, const BIGNUM *bn) in ossl_param_build_set_bn()
/openssl/crypto/evp/
H A Devp_pkey.c185 int EVP_PKEY_get_attr_count(const EVP_PKEY *key) in EVP_PKEY_get_attr_count()
190 int EVP_PKEY_get_attr_by_NID(const EVP_PKEY *key, int nid, int lastpos) in EVP_PKEY_get_attr_by_NID()
195 int EVP_PKEY_get_attr_by_OBJ(const EVP_PKEY *key, const ASN1_OBJECT *obj, in EVP_PKEY_get_attr_by_OBJ()
201 X509_ATTRIBUTE *EVP_PKEY_get_attr(const EVP_PKEY *key, int loc) in EVP_PKEY_get_attr()
206 X509_ATTRIBUTE *EVP_PKEY_delete_attr(EVP_PKEY *key, int loc) in EVP_PKEY_delete_attr()
211 int EVP_PKEY_add1_attr(EVP_PKEY *key, X509_ATTRIBUTE *attr) in EVP_PKEY_add1_attr()
218 int EVP_PKEY_add1_attr_by_OBJ(EVP_PKEY *key, in EVP_PKEY_add1_attr_by_OBJ()
227 int EVP_PKEY_add1_attr_by_NID(EVP_PKEY *key, in EVP_PKEY_add1_attr_by_NID()
236 int EVP_PKEY_add1_attr_by_txt(EVP_PKEY *key, in EVP_PKEY_add1_attr_by_txt()
245 const char *EVP_PKEY_get0_type_name(const EVP_PKEY *key) in EVP_PKEY_get0_type_name()
[all …]
/openssl/crypto/des/
H A Dset_key.c59 void DES_set_odd_parity(DES_cblock *key) in DES_set_odd_parity()
71 int DES_check_key_parity(const_DES_cblock *key) in DES_check_key_parity()
119 int DES_is_weak_key(const_DES_cblock *key) in DES_is_weak_key()
298 int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule) in DES_set_key()
315 int DES_set_key_checked(const_DES_cblock *key, DES_key_schedule *schedule) in DES_set_key_checked()
325 void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule) in DES_set_key_unchecked()
392 int DES_key_sched(const_DES_cblock *key, DES_key_schedule *schedule) in DES_key_sched()
/openssl/crypto/ec/
H A Dec_key.c751 OSSL_LIB_CTX *ossl_ec_key_get_libctx(const EC_KEY *key) in ossl_ec_key_get_libctx()
756 const char *ossl_ec_key_get0_propq(const EC_KEY *key) in ossl_ec_key_get0_propq()
767 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key) in EC_KEY_get0_group()
772 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group) in EC_KEY_set_group()
785 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key) in EC_KEY_get0_private_key()
901 unsigned int EC_KEY_get_enc_flags(const EC_KEY *key) in EC_KEY_get_enc_flags()
923 void EC_KEY_set_asn1_flag(EC_KEY *key, int flag) in EC_KEY_set_asn1_flag()
930 int EC_KEY_precompute_mult(EC_KEY *key, BN_CTX *ctx) in EC_KEY_precompute_mult()
938 int EC_KEY_get_flags(const EC_KEY *key) in EC_KEY_get_flags()
943 void EC_KEY_set_flags(EC_KEY *key, int flags) in EC_KEY_set_flags()
[all …]
H A Decx_key.c64 void ossl_ecx_key_free(ECX_KEY *key) in ossl_ecx_key_free()
83 void ossl_ecx_key_set0_libctx(ECX_KEY *key, OSSL_LIB_CTX *libctx) in ossl_ecx_key_set0_libctx()
88 int ossl_ecx_key_up_ref(ECX_KEY *key) in ossl_ecx_key_up_ref()
100 unsigned char *ossl_ecx_key_allocate_privkey(ECX_KEY *key) in ossl_ecx_key_allocate_privkey()
H A Dec_kmeth.c58 const EC_KEY_METHOD *EC_KEY_get_method(const EC_KEY *key) in EC_KEY_get_method()
63 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth) in EC_KEY_set_method()
196 int (*init)(EC_KEY *key), in EC_KEY_METHOD_set_init()
197 void (*finish)(EC_KEY *key), in EC_KEY_METHOD_set_init()
200 int (*set_private)(EC_KEY *key, in EC_KEY_METHOD_set_init()
202 int (*set_public)(EC_KEY *key, in EC_KEY_METHOD_set_init()
214 int (*keygen)(EC_KEY *key)) in EC_KEY_METHOD_set_keygen()
262 int (**pinit)(EC_KEY *key), in EC_KEY_METHOD_get_init()
263 void (**pfinish)(EC_KEY *key), in EC_KEY_METHOD_get_init()
265 int (**pset_group)(EC_KEY *key, in EC_KEY_METHOD_get_init()
[all …]
/openssl/crypto/camellia/
H A Dcmll_misc.c21 CAMELLIA_KEY *key) in Camellia_set_key()
32 const CAMELLIA_KEY *key) in Camellia_encrypt()
38 const CAMELLIA_KEY *key) in Camellia_decrypt()
H A Dcmll_cfb.c26 size_t length, const CAMELLIA_KEY *key, in Camellia_cfb128_encrypt()
36 size_t length, const CAMELLIA_KEY *key, in Camellia_cfb1_encrypt()
44 size_t length, const CAMELLIA_KEY *key, in Camellia_cfb8_encrypt()
/openssl/providers/implementations/ciphers/
H A Dcipher_aes_ocb_hw.c33 const unsigned char *key, in cipher_hw_aes_ocb_generic_initkey()
65 const unsigned char *key, in cipher_hw_aes_ocb_aesni_initkey()
88 const unsigned char *key, in cipher_hw_aes_ocb_t4_initkey()
110 const unsigned char *key, in cipher_hw_aes_ocb_rv64i_zknd_zkne_initkey()
121 const unsigned char *key, in cipher_hw_aes_ocb_rv64i_zvkned_initkey()
158 const unsigned char *key, in cipher_hw_aes_ocb_rv32i_zknd_zkne_initkey()
169 const unsigned char *key, in cipher_hw_aes_ocb_rv32i_zbkb_zknd_zkne_initkey()
H A Dcipher_des_hw.c20 const unsigned char *key, size_t keylen) in cipher_hw_des_initkey()
55 DES_key_schedule *key = &(((PROV_DES_CTX *)ctx)->dks.ks); in cipher_hw_des_ecb_cipher() local
69 DES_key_schedule *key = &(dctx->dks.ks); in cipher_hw_des_cbc_cipher() local
93 DES_key_schedule *key = &(((PROV_DES_CTX *)ctx)->dks.ks); in cipher_hw_des_ofb64_cipher() local
112 DES_key_schedule *key = &(((PROV_DES_CTX *)ctx)->dks.ks); in cipher_hw_des_cfb64_cipher() local
138 DES_key_schedule *key = &(((PROV_DES_CTX *)ctx)->dks.ks); in cipher_hw_des_cfb1_cipher() local
166 DES_key_schedule *key = &(((PROV_DES_CTX *)ctx)->dks.ks); in cipher_hw_des_cfb8_cipher() local
H A Dcipher_aes_xts_hw.c39 const unsigned char *key, in cipher_hw_aes_xts_generic_initkey()
103 const unsigned char *key, size_t keylen) in cipher_hw_aesni_xts_initkey()
126 const unsigned char *key, size_t keylen) in cipher_hw_aes_xts_t4_initkey()
165 const unsigned char *key, in cipher_hw_aes_xts_rv64i_zknd_zkne_initkey()
179 PROV_CIPHER_CTX *ctx, const unsigned char *key, size_t keylen) in cipher_hw_aes_xts_rv64i_zvbb_zvkg_zvkned_initkey()
201 const unsigned char *key, in cipher_hw_aes_xts_rv64i_zvkned_initkey()
251 const unsigned char *key, in cipher_hw_aes_xts_rv32i_zknd_zkne_initkey()
263 const unsigned char *key, in cipher_hw_aes_xts_rv32i_zbkb_zknd_zkne_initkey()
/openssl/test/
H A Drc4test.c67 RC4_KEY key; in test_rc4_encrypt() local
78 RC4_KEY key; in test_rc4_end_processing() local
91 RC4_KEY key; in test_rc4_multi_call() local
102 RC4_KEY key; in test_rc_bulk() local
H A Digetest.c38 const unsigned char key[16]; member
152 AES_KEY key; in test_ige_vectors() local
225 AES_KEY key; in test_ige_enc_dec() local
243 AES_KEY key; in test_ige_enc_chaining() local
265 AES_KEY key; in test_ige_dec_chaining() local
291 AES_KEY key; in test_ige_garble_forwards() local
329 AES_KEY key, key2; in test_bi_ige_enc_dec() local
350 AES_KEY key, key2; in test_bi_ige_garble1() local
381 AES_KEY key, key2; in test_bi_ige_garble2() local
412 AES_KEY key, key2; in test_bi_ige_garble3() local
H A Drsa_mp_test.c139 static int key2048_key(RSA *key) in key2048_key()
150 static int key2048p3_v1(RSA *key) in key2048p3_v1()
200 static int key2048p3_v2(RSA *key) in key2048p3_v2()
253 RSA *key; in test_rsa_mp() local
H A Dbftest.c298 BF_KEY key; in test_bf_ecb_raw() local
319 BF_KEY key; in test_bf_ecb() local
338 BF_KEY key; in test_bf_set_key() local
354 BF_KEY key; in test_bf_cbc() local
380 BF_KEY key; in test_bf_cfb64() local
412 BF_KEY key; in test_bf_ofb64() local
/openssl/include/internal/
H A Dhashtable.h36 HT_KEY key; member
107 #define HT_INIT_KEY(key) do { \ argument
116 #define HT_KEY_RESET(key) memset((key)->key_header.keybuf, 0, (key)->key_header.keysize) argument
121 #define HT_SET_KEY_FIELD(key, member, value) (key)->keyfields.member = value; argument
127 #define HT_SET_KEY_STRING(key, member, value) do { \ argument
138 #define HT_SET_KEY_STRING_CASE(key, member, value) do { \ argument
145 #define HT_SET_KEY_BLOB(key, member, value, len) do { \ argument
153 #define TO_HT_KEY(key) &(key)->key_header argument
159 #define FROM_HT_KEY(key, type) (type)(key) argument
/openssl/crypto/modes/
H A Dcts128.c29 const void *key, unsigned char ivec[16], in CRYPTO_cts128_encrypt_block()
58 const void *key, in CRYPTO_nistcts128_encrypt_block()
88 size_t len, const void *key, in CRYPTO_cts128_encrypt()
124 size_t len, const void *key, in CRYPTO_nistcts128_encrypt()
160 const void *key, unsigned char ivec[16], in CRYPTO_cts128_decrypt_block()
202 const void *key, in CRYPTO_nistcts128_decrypt_block()
249 size_t len, const void *key, in CRYPTO_cts128_decrypt()
289 size_t len, const void *key, in CRYPTO_nistcts128_decrypt()
H A Dwrap128.c48 size_t CRYPTO_128_wrap(void *key, const unsigned char *iv, in CRYPTO_128_wrap()
99 static size_t crypto_128_unwrap_raw(void *key, unsigned char *iv, in crypto_128_unwrap_raw()
150 size_t CRYPTO_128_unwrap(void *key, const unsigned char *iv, in CRYPTO_128_unwrap()
183 size_t CRYPTO_128_wrap_pad(void *key, const unsigned char *icv, in CRYPTO_128_wrap_pad()
251 size_t CRYPTO_128_unwrap_pad(void *key, const unsigned char *icv, in CRYPTO_128_unwrap_pad()
/openssl/crypto/aes/
H A Daes_cfb.c26 size_t length, const AES_KEY *key, in AES_cfb128_encrypt()
36 size_t length, const AES_KEY *key, in AES_cfb1_encrypt()
44 size_t length, const AES_KEY *key, in AES_cfb8_encrypt()
H A Daes_wrap.c20 int AES_wrap_key(AES_KEY *key, const unsigned char *iv, in AES_wrap_key()
27 int AES_unwrap_key(AES_KEY *key, const unsigned char *iv, in AES_unwrap_key()
/openssl/providers/implementations/keymgmt/
H A Decx_kmgmt.c129 const ECX_KEY *key = keydata; in ecx_has() local
198 ECX_KEY *key = keydata; in ecx_import() local
214 static int key_to_params(ECX_KEY *key, OSSL_PARAM_BLD *tmpl, in key_to_params()
238 ECX_KEY *key = keydata; in ecx_export() local
321 static int ed_get_params(void *key, OSSL_PARAM params[]) in ed_get_params()
338 static int x448_get_params(void *key, OSSL_PARAM params[]) in x448_get_params()
351 static int ed448_get_params(void *key, OSSL_PARAM params[]) in ed448_get_params()
683 ECX_KEY *key; in ecx_gen() local
777 ECX_KEY *key = NULL; in ed25519_gen() local
811 ECX_KEY *key = NULL; in ed448_gen() local
[all …]
H A Dtemplate_kmgmt.c73 void *key = NULL; in template_new() local
135 static int key_to_params(void *key, OSSL_PARAM_BLD *tmpl, in key_to_params()
146 static int template_export(void *key, int selection, OSSL_CALLBACK *param_cb, in template_export()
183 static int ossl_template_key_fromdata(void *key, in ossl_template_key_fromdata()
215 static int template_import(void *key, int selection, const OSSL_PARAM params[]) in template_import()
251 static int template_get_params(void *key, OSSL_PARAM params[]) in template_get_params()
294 static int template_set_params(void *key, const OSSL_PARAM params[]) in template_set_params()
369 void *key = NULL; in template_gen() local

Completed in 57 milliseconds

12345678910>>...14