/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_gcm_siv.c | 29 PROV_AES_GCM_SIV_CTX *ctx; in ossl_aes_gcm_siv_newctx() local 46 PROV_AES_GCM_SIV_CTX *ctx = (PROV_AES_GCM_SIV_CTX *)vctx; in ossl_aes_gcm_siv_freectx() local 99 PROV_AES_GCM_SIV_CTX *ctx = (PROV_AES_GCM_SIV_CTX *)vctx; in ossl_aes_gcm_siv_init() local 145 PROV_AES_GCM_SIV_CTX *ctx = (PROV_AES_GCM_SIV_CTX *)vctx; in ossl_aes_gcm_siv_cipher() local 173 PROV_AES_GCM_SIV_CTX *ctx = (PROV_AES_GCM_SIV_CTX *)vctx; in ossl_aes_gcm_siv_stream_final() local 188 PROV_AES_GCM_SIV_CTX *ctx = (PROV_AES_GCM_SIV_CTX *)vctx; in ossl_aes_gcm_siv_get_ctx_params() local 228 PROV_AES_GCM_SIV_CTX *ctx = (PROV_AES_GCM_SIV_CTX *)vctx; in ossl_aes_gcm_siv_set_ctx_params() local
|
H A D | cipher_cast5.c | 30 PROV_CAST_CTX *ctx = (PROV_CAST_CTX *)vctx; in cast5_freectx() local 36 static void *cast5_dupctx(void *ctx) in cast5_dupctx()
|
H A D | cipher_blowfish.c | 29 PROV_BLOWFISH_CTX *ctx = (PROV_BLOWFISH_CTX *)vctx; in blowfish_freectx() local 35 static void *blowfish_dupctx(void *ctx) in blowfish_dupctx()
|
H A D | cipher_aes_ocb_hw.c | 36 PROV_AES_OCB_CTX *ctx = (PROV_AES_OCB_CTX *)vctx; in cipher_hw_aes_ocb_generic_initkey() local 68 PROV_AES_OCB_CTX *ctx = (PROV_AES_OCB_CTX *)vctx; in cipher_hw_aes_ocb_aesni_initkey() local 91 PROV_AES_OCB_CTX *ctx = (PROV_AES_OCB_CTX *)vctx; in cipher_hw_aes_ocb_t4_initkey() local 112 PROV_AES_OCB_CTX *ctx = (PROV_AES_OCB_CTX *)vctx; in cipher_hw_aes_ocb_rv64i_zknd_zkne_initkey() local
|
H A D | cipher_rc2.c | 38 PROV_RC2_CTX *ctx = (PROV_RC2_CTX *)vctx; in rc2_freectx() local 44 static void *rc2_dupctx(void *ctx) in rc2_dupctx() 90 static int rc2_einit(void *ctx, const unsigned char *key, size_t keylen, in rc2_einit() 99 static int rc2_dinit(void *ctx, const unsigned char *key, size_t keylen, in rc2_dinit() 110 PROV_RC2_CTX *ctx = (PROV_RC2_CTX *)vctx; in rc2_get_ctx_params() local 164 PROV_RC2_CTX *ctx = (PROV_RC2_CTX *)vctx; in rc2_set_ctx_params() local
|
H A D | cipher_aes_siv.c | 33 PROV_AES_SIV_CTX *ctx; in aes_siv_newctx() local 51 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; in aes_siv_freectx() local 83 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; in siv_init() local 118 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; in siv_cipher() local 144 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; in siv_stream_final() local 159 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; in aes_siv_get_ctx_params() local 199 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; in aes_siv_set_ctx_params() local
|
H A D | cipher_rc4_hmac_md5_hw.c | 38 PROV_RC4_HMAC_MD5_CTX *ctx = (PROV_RC4_HMAC_MD5_CTX *)bctx; in cipher_hw_rc4_hmac_md5_initkey() local 53 PROV_RC4_HMAC_MD5_CTX *ctx = (PROV_RC4_HMAC_MD5_CTX *)bctx; in cipher_hw_rc4_hmac_md5_cipher() local 168 PROV_RC4_HMAC_MD5_CTX *ctx = (PROV_RC4_HMAC_MD5_CTX *)bctx; in cipher_hw_rc4_hmac_md5_tls_init() local 194 PROV_RC4_HMAC_MD5_CTX *ctx = (PROV_RC4_HMAC_MD5_CTX *)bctx; in cipher_hw_rc4_hmac_md5_init_mackey() local
|
/openssl/crypto/bio/ |
H A D | bf_readbuff.c | 55 BIO_F_BUFFER_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx)); in readbuffer_new() local 87 static int readbuffer_resize(BIO_F_BUFFER_CTX *ctx, int sz) in readbuffer_resize() 109 BIO_F_BUFFER_CTX *ctx; in readbuffer_read() local 164 BIO_F_BUFFER_CTX *ctx; in readbuffer_ctrl() local 220 BIO_F_BUFFER_CTX *ctx; in readbuffer_gets() local
|
/openssl/crypto/siphash/ |
H A D | siphash.c | 73 size_t SipHash_hash_size(SIPHASH *ctx) in SipHash_hash_size() 85 int SipHash_set_hash_size(SIPHASH *ctx, size_t hash_size) in SipHash_set_hash_size() 109 int SipHash_Init(SIPHASH *ctx, const unsigned char *k, int crounds, int drounds) in SipHash_Init() 139 void SipHash_Update(SIPHASH *ctx, const unsigned char *in, size_t inlen) in SipHash_Update() 197 int SipHash_Final(SIPHASH *ctx, unsigned char *out, size_t outlen) in SipHash_Final()
|
/openssl/crypto/evp/ |
H A D | bio_ok.c | 133 BIO_OK_CTX *ctx; in ok_new() local 155 BIO_OK_CTX *ctx; in ok_free() local 173 BIO_OK_CTX *ctx; in ok_read() local 259 BIO_OK_CTX *ctx; in ok_write() local 323 BIO_OK_CTX *ctx; in ok_ctrl() local 435 BIO_OK_CTX *ctx; in sig_out() local 477 BIO_OK_CTX *ctx; in sig_in() local 527 BIO_OK_CTX *ctx; in block_out() local 558 BIO_OK_CTX *ctx; in block_in() local
|
H A D | e_xcbc_d.c | 38 # define data(ctx) EVP_C_DATA(DESX_CBC_KEY,ctx) argument 60 static int desx_cbc_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in desx_cbc_init_key() 72 static int desx_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in desx_cbc_cipher()
|
H A D | e_sm4.c | 56 static int sm4_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in sm4_init_key() 139 static int sm4_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in sm4_cbc_cipher() 156 static int sm4_cfb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in sm4_cfb_cipher() 169 static int sm4_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in sm4_ecb_cipher() 189 static int sm4_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in sm4_ofb_cipher() 201 static int sm4_ctr_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in sm4_ctr_cipher()
|
H A D | e_cast.c | 33 # define data(ctx) EVP_C_DATA(EVP_CAST_KEY,ctx) argument 40 static int cast_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in cast_init_key()
|
H A D | e_bf.c | 32 # define data(ctx) EVP_C_DATA(EVP_BF_KEY,ctx) argument 38 static int bf_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in bf_init_key()
|
/openssl/crypto/property/ |
H A D | property_string.c | 96 void *ossl_property_string_data_new(OSSL_LIB_CTX *ctx) { in ossl_property_string_data_new() 142 static OSSL_PROPERTY_IDX ossl_property_string(OSSL_LIB_CTX *ctx, int name, in ossl_property_string() 216 static const char *ossl_property_str(int name, OSSL_LIB_CTX *ctx, in ossl_property_str() 251 OSSL_PROPERTY_IDX ossl_property_name(OSSL_LIB_CTX *ctx, const char *s, in ossl_property_name() 257 const char *ossl_property_name_str(OSSL_LIB_CTX *ctx, OSSL_PROPERTY_IDX idx) in ossl_property_name_str() 262 OSSL_PROPERTY_IDX ossl_property_value(OSSL_LIB_CTX *ctx, const char *s, in ossl_property_value() 268 const char *ossl_property_value_str(OSSL_LIB_CTX *ctx, OSSL_PROPERTY_IDX idx) in ossl_property_value_str()
|
/openssl/providers/implementations/digests/ |
H A D | md5_sha1_prov.c | 33 static const OSSL_PARAM *md5_sha1_settable_ctx_params(ossl_unused void *ctx, in md5_sha1_settable_ctx_params() 43 MD5_SHA1_CTX *ctx = (MD5_SHA1_CTX *)vctx; in md5_sha1_set_ctx_params() local
|
H A D | mdc2_prov.c | 33 static const OSSL_PARAM *mdc2_settable_ctx_params(ossl_unused void *ctx, in mdc2_settable_ctx_params() 42 MDC2_CTX *ctx = (MDC2_CTX *)vctx; in mdc2_set_ctx_params() local
|
H A D | sha3_prov.c | 70 KECCAK1600_CTX *ctx = vctx; in keccak_update() local 109 KECCAK1600_CTX *ctx = vctx; in keccak_final() local 125 KECCAK1600_CTX *ctx = vctx; in generic_sha3_absorb() local 152 KECCAK1600_CTX *ctx = vctx; in s390x_sha3_absorb() local 161 KECCAK1600_CTX *ctx = vctx; in s390x_sha3_final() local 172 KECCAK1600_CTX *ctx = vctx; in s390x_shake_final() local 182 KECCAK1600_CTX *ctx = vctx; in s390x_keccakc_final() local 304 KECCAK1600_CTX *ctx = (KECCAK1600_CTX *)vctx; in keccak_freectx() local 309 static void *keccak_dupctx(void *ctx) in keccak_dupctx() 324 static const OSSL_PARAM *shake_settable_ctx_params(ossl_unused void *ctx, in shake_settable_ctx_params() [all …]
|
H A D | sha2_prov.c | 35 static const OSSL_PARAM *sha1_settable_ctx_params(ossl_unused void *ctx, in sha1_settable_ctx_params() 45 SHA_CTX *ctx = (SHA_CTX *)vctx; in sha1_set_ctx_params() local
|
/openssl/crypto/ec/ |
H A D | ecx_meth.c | 169 ASN1_PCTX *ctx, ecx_key_op_t op) in ecx_key_print() 206 ASN1_PCTX *ctx) in ecx_priv_print() 212 ASN1_PCTX *ctx) in ecx_pub_print() 542 static int ecd_item_verify(EVP_MD_CTX *ctx, const ASN1_ITEM *it, in ecd_item_verify() 575 static int ecd_item_sign25519(EVP_MD_CTX *ctx, const ASN1_ITEM *it, in ecd_item_sign25519() 591 static int ecd_item_sign448(EVP_MD_CTX *ctx, const ASN1_ITEM *it, in ecd_item_sign448() 713 static int pkey_ecx_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) in pkey_ecx_keygen() 1189 static int s390x_pkey_ecd_digestsign25519(EVP_MD_CTX *ctx, in s390x_pkey_ecd_digestsign25519() 1234 static int s390x_pkey_ecd_digestsign448(EVP_MD_CTX *ctx, in s390x_pkey_ecd_digestsign448() 1281 static int s390x_pkey_ecd_digestverify25519(EVP_MD_CTX *ctx, in s390x_pkey_ecd_digestverify25519() [all …]
|
H A D | ec_key.c | 39 EC_KEY *EC_KEY_new_ex(OSSL_LIB_CTX *ctx, const char *propq) in EC_KEY_new_ex() 44 EC_KEY *EC_KEY_new_by_curve_name_ex(OSSL_LIB_CTX *ctx, const char *propq, in EC_KEY_new_by_curve_name_ex() 259 BN_CTX *ctx = BN_CTX_secure_new_ex(eckey->libctx); in ec_generate_key() local 361 BN_CTX *ctx = BN_CTX_new_ex(eckey->libctx); in ossl_ec_key_simple_generate_public_key() local 472 int ossl_ec_key_public_check(const EC_KEY *eckey, BN_CTX *ctx) in ossl_ec_key_public_check() 529 int ossl_ec_key_pairwise_check(const EC_KEY *eckey, BN_CTX *ctx) in ossl_ec_key_pairwise_check() 575 BN_CTX *ctx = NULL; in ossl_ec_key_simple_check_key() local 601 BN_CTX *ctx = NULL; in EC_KEY_set_public_key_affine_coordinates() local 835 int EC_KEY_precompute_mult(EC_KEY *key, BN_CTX *ctx) in EC_KEY_precompute_mult() 868 unsigned char **pbuf, BN_CTX *ctx) in EC_KEY_key2buf() [all …]
|
/openssl/engines/ |
H A D | e_capi.c | 289 CAPI_CTX *ctx; in capi_ctrl() local 411 CAPI_CTX *ctx; in capi_init() local 512 CAPI_CTX *ctx; in capi_finish() local 799 CAPI_CTX *ctx; in capi_load_privkey() local 840 CAPI_CTX *ctx; in capi_rsa_sign() local 932 CAPI_CTX *ctx; in capi_rsa_priv_dec() local 1012 CAPI_CTX *ctx; in capi_dsa_do_sign() local 1624 CAPI_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx)); in capi_ctx_new() local 1640 static void capi_ctx_free(CAPI_CTX *ctx) in capi_ctx_free() 1727 CAPI_CTX *ctx; in capi_load_ssl_client_cert() local [all …]
|
/openssl/crypto/bn/ |
H A D | bn_recp.c | 45 int BN_RECP_CTX_set(BN_RECP_CTX *recp, const BIGNUM *d, BN_CTX *ctx) in BN_RECP_CTX_set() 56 BN_RECP_CTX *recp, BN_CTX *ctx) in BN_mod_mul_reciprocal() 85 BN_RECP_CTX *recp, BN_CTX *ctx) in BN_div_recp() 174 int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx) in BN_reciprocal()
|
H A D | bn_blind.c | 93 int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx) in BN_BLINDING_update() 129 int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx) in BN_BLINDING_convert() 134 int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx) in BN_BLINDING_convert_ex() 162 int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx) in BN_BLINDING_invert() 168 BN_CTX *ctx) in BN_BLINDING_invert_ex() 234 const BIGNUM *e, BIGNUM *m, BN_CTX *ctx, in BN_BLINDING_create_param()
|
/openssl/test/ |
H A D | provider_pkey_test.c | 23 static int fetch_sig(OSSL_LIB_CTX *ctx, const char *alg, const char *propq, in fetch_sig() 56 EVP_PKEY_CTX *ctx = NULL; in test_pkey_sig() local 121 EVP_PKEY_CTX *ctx = NULL; in test_alternative_keygen_init() local 186 OSSL_STORE_CTX *ctx = NULL; in test_pkey_store() local
|