/openssl/include/openssl/ |
H A D | params.h | 31 # 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 D | rsa_chk.c | 22 static int rsa_validate_keypair_multiprime(const RSA *key, BN_GENCB *cb) in rsa_validate_keypair_multiprime() 233 int ossl_rsa_validate_public(const RSA *key) in ossl_rsa_validate_public() 238 int ossl_rsa_validate_private(const RSA *key) in ossl_rsa_validate_private() 243 int ossl_rsa_validate_pairwise(const RSA *key) in ossl_rsa_validate_pairwise() 252 int RSA_check_key(const RSA *key) in RSA_check_key() 257 int RSA_check_key_ex(const RSA *key, BN_GENCB *cb) in RSA_check_key_ex()
|
/openssl/crypto/evp/ |
H A D | evp_pkey.c | 164 int EVP_PKEY_get_attr_count(const EVP_PKEY *key) in EVP_PKEY_get_attr_count() 169 int EVP_PKEY_get_attr_by_NID(const EVP_PKEY *key, int nid, int lastpos) in EVP_PKEY_get_attr_by_NID() 174 int EVP_PKEY_get_attr_by_OBJ(const EVP_PKEY *key, const ASN1_OBJECT *obj, in EVP_PKEY_get_attr_by_OBJ() 180 X509_ATTRIBUTE *EVP_PKEY_get_attr(const EVP_PKEY *key, int loc) in EVP_PKEY_get_attr() 185 X509_ATTRIBUTE *EVP_PKEY_delete_attr(EVP_PKEY *key, int loc) in EVP_PKEY_delete_attr() 190 int EVP_PKEY_add1_attr(EVP_PKEY *key, X509_ATTRIBUTE *attr) in EVP_PKEY_add1_attr() 197 int EVP_PKEY_add1_attr_by_OBJ(EVP_PKEY *key, in EVP_PKEY_add1_attr_by_OBJ() 206 int EVP_PKEY_add1_attr_by_NID(EVP_PKEY *key, in EVP_PKEY_add1_attr_by_NID() 215 int EVP_PKEY_add1_attr_by_txt(EVP_PKEY *key, in EVP_PKEY_add1_attr_by_txt() 224 const char *EVP_PKEY_get0_type_name(const EVP_PKEY *key) in EVP_PKEY_get0_type_name() [all …]
|
/openssl/crypto/ec/ |
H A D | ec_key.c | 656 OSSL_LIB_CTX *ossl_ec_key_get_libctx(const EC_KEY *key) in ossl_ec_key_get_libctx() 661 const char *ossl_ec_key_get0_propq(const EC_KEY *key) in ossl_ec_key_get0_propq() 672 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key) in EC_KEY_get0_group() 677 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group) in EC_KEY_set_group() 690 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key) in EC_KEY_get0_private_key() 806 unsigned int EC_KEY_get_enc_flags(const EC_KEY *key) in EC_KEY_get_enc_flags() 828 void EC_KEY_set_asn1_flag(EC_KEY *key, int flag) in EC_KEY_set_asn1_flag() 835 int EC_KEY_precompute_mult(EC_KEY *key, BN_CTX *ctx) in EC_KEY_precompute_mult() 843 int EC_KEY_get_flags(const EC_KEY *key) in EC_KEY_get_flags() 848 void EC_KEY_set_flags(EC_KEY *key, int flags) in EC_KEY_set_flags() [all …]
|
H A D | ecx_key.c | 57 void ossl_ecx_key_free(ECX_KEY *key) in ossl_ecx_key_free() 76 void ossl_ecx_key_set0_libctx(ECX_KEY *key, OSSL_LIB_CTX *libctx) in ossl_ecx_key_set0_libctx() 81 int ossl_ecx_key_up_ref(ECX_KEY *key) in ossl_ecx_key_up_ref() 93 unsigned char *ossl_ecx_key_allocate_privkey(ECX_KEY *key) in ossl_ecx_key_allocate_privkey()
|
H A D | ec_kmeth.c | 58 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() 201 int (*init)(EC_KEY *key), in EC_KEY_METHOD_set_init() 202 void (*finish)(EC_KEY *key), in EC_KEY_METHOD_set_init() 205 int (*set_private)(EC_KEY *key, in EC_KEY_METHOD_set_init() 207 int (*set_public)(EC_KEY *key, in EC_KEY_METHOD_set_init() 219 int (*keygen)(EC_KEY *key)) in EC_KEY_METHOD_set_keygen() 267 int (**pinit)(EC_KEY *key), in EC_KEY_METHOD_get_init() 268 void (**pfinish)(EC_KEY *key), in EC_KEY_METHOD_get_init() 270 int (**pset_group)(EC_KEY *key, in EC_KEY_METHOD_get_init() [all …]
|
/openssl/crypto/ |
H A D | param_build.c | 25 const char *key; member 76 static int param_push_num(OSSL_PARAM_BLD *bld, const char *key, in param_push_num() 129 int OSSL_PARAM_BLD_push_uint(OSSL_PARAM_BLD *bld, const char *key, in OSSL_PARAM_BLD_push_uint() 136 int OSSL_PARAM_BLD_push_long(OSSL_PARAM_BLD *bld, const char *key, in OSSL_PARAM_BLD_push_long() 142 int OSSL_PARAM_BLD_push_ulong(OSSL_PARAM_BLD *bld, const char *key, in OSSL_PARAM_BLD_push_ulong() 149 int OSSL_PARAM_BLD_push_int32(OSSL_PARAM_BLD *bld, const char *key, in OSSL_PARAM_BLD_push_int32() 155 int OSSL_PARAM_BLD_push_uint32(OSSL_PARAM_BLD *bld, const char *key, in OSSL_PARAM_BLD_push_uint32() 162 int OSSL_PARAM_BLD_push_int64(OSSL_PARAM_BLD *bld, const char *key, in OSSL_PARAM_BLD_push_int64() 168 int OSSL_PARAM_BLD_push_uint64(OSSL_PARAM_BLD *bld, const char *key, in OSSL_PARAM_BLD_push_uint64() 195 static int push_BN(OSSL_PARAM_BLD *bld, const char *key, in push_BN() [all …]
|
H A D | param_build_set.c | 34 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()
|
H A D | params.c | 49 OSSL_PARAM *OSSL_PARAM_locate(OSSL_PARAM *p, const char *key) in OSSL_PARAM_locate() 277 OSSL_PARAM OSSL_PARAM_construct_int(const char *key, int *buf) in OSSL_PARAM_construct_int() 340 OSSL_PARAM OSSL_PARAM_construct_long(const char *key, long int *buf) in OSSL_PARAM_construct_long() 516 OSSL_PARAM OSSL_PARAM_construct_int32(const char *key, int32_t *buf) in OSSL_PARAM_construct_int32() 663 OSSL_PARAM OSSL_PARAM_construct_uint32(const char *key, uint32_t *buf) in OSSL_PARAM_construct_uint32() 804 OSSL_PARAM OSSL_PARAM_construct_int64(const char *key, int64_t *buf) in OSSL_PARAM_construct_int64() 950 OSSL_PARAM OSSL_PARAM_construct_uint64(const char *key, uint64_t *buf) in OSSL_PARAM_construct_uint64() 982 OSSL_PARAM OSSL_PARAM_construct_size_t(const char *key, size_t *buf) in OSSL_PARAM_construct_size_t() 1014 OSSL_PARAM OSSL_PARAM_construct_time_t(const char *key, time_t *buf) in OSSL_PARAM_construct_time_t() 1246 OSSL_PARAM OSSL_PARAM_construct_double(const char *key, double *buf) in OSSL_PARAM_construct_double() [all …]
|
/openssl/crypto/des/ |
H A D | set_key.c | 59 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() 391 int DES_key_sched(const_DES_cblock *key, DES_key_schedule *schedule) in DES_key_sched()
|
/openssl/crypto/camellia/ |
H A D | cmll_misc.c | 21 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 D | cmll_cfb.c | 26 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/test/ |
H A D | rc4test.c | 67 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 D | igetest.c | 38 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 D | rsa_mp_test.c | 139 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 D | bftest.c | 296 BF_KEY key; in test_bf_ecb_raw() local 317 BF_KEY key; in test_bf_ecb() local 336 BF_KEY key; in test_bf_set_key() local 352 BF_KEY key; in test_bf_cbc() local 378 BF_KEY key; in test_bf_cfb64() local 410 BF_KEY key; in test_bf_ofb64() local
|
H A D | rsa_test.c | 48 static int key1(RSA *key, unsigned char *c) in key1() 97 static int key2(RSA *key, unsigned char *c) in key2() 142 static int key3(RSA *key, unsigned char *c) in key3() 214 static int rsa_setkey(RSA** key, unsigned char *ctext, int idx) in rsa_setkey() 239 RSA *key; in test_rsa_simple() local 284 RSA *key = NULL; in test_rsa_oaep() local 362 RSA *key = RSA_new(); in test_rsa_security_bit() local
|
/openssl/providers/implementations/ciphers/ |
H A D | cipher_des_hw.c | 20 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 D | cipher_aes_ocb_hw.c | 33 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() 109 const unsigned char *key, in cipher_hw_aes_ocb_rv64i_zknd_zkne_initkey()
|
H A D | cipher_aes_xts_hw.c | 39 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() 164 const unsigned char *key, in cipher_hw_aes_xts_rv64i_zknd_zkne_initkey()
|
/openssl/crypto/modes/ |
H A D | cts128.c | 29 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 D | wrap128.c | 48 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 D | aes_cfb.c | 26 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 D | aes_wrap.c | 20 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 D | ecx_kmgmt.c | 124 const ECX_KEY *key = keydata; in ecx_has() local 193 ECX_KEY *key = keydata; in ecx_import() local 209 static int key_to_params(ECX_KEY *key, OSSL_PARAM_BLD *tmpl, in key_to_params() 233 ECX_KEY *key = keydata; in ecx_export() local 303 static int ed_get_params(void *key, OSSL_PARAM params[]) in ed_get_params() 314 static int x25519_get_params(void *key, OSSL_PARAM params[]) in x25519_get_params() 320 static int x448_get_params(void *key, OSSL_PARAM params[]) in x448_get_params() 326 static int ed25519_get_params(void *key, OSSL_PARAM params[]) in ed25519_get_params() 333 static int ed448_get_params(void *key, OSSL_PARAM params[]) in ed448_get_params() 578 ECX_KEY *key; in ecx_gen() local [all …]
|