/openssl-master/providers/implementations/signature/ |
A D | ecdsa_sig.c | 128 static int ecdsa_signverify_init(void *vctx, void *ec, in ecdsa_signverify_init() 169 static int ecdsa_sign(void *vctx, unsigned char *sig, size_t *siglen, in ecdsa_sign() 357 int ecdsa_digest_verify_final(void *vctx, const unsigned char *sig, in ecdsa_digest_verify_final() 373 static void ecdsa_freectx(void *vctx) in ecdsa_freectx() 390 static void *ecdsa_dupctx(void *vctx) in ecdsa_dupctx() 438 static int ecdsa_get_ctx_params(void *vctx, OSSL_PARAM *params) in ecdsa_get_ctx_params() 476 static int ecdsa_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in ecdsa_set_ctx_params() 534 static const OSSL_PARAM *ecdsa_settable_ctx_params(void *vctx, in ecdsa_settable_ctx_params() 544 static int ecdsa_get_ctx_md_params(void *vctx, OSSL_PARAM *params) in ecdsa_get_ctx_md_params() 554 static const OSSL_PARAM *ecdsa_gettable_ctx_md_params(void *vctx) in ecdsa_gettable_ctx_md_params() [all …]
|
/openssl-master/providers/implementations/ciphers/ |
A D | cipher_aes_siv.c | 49 static void aes_siv_freectx(void *vctx) in aes_siv_freectx() 59 static void *siv_dupctx(void *vctx) in siv_dupctx() 79 static int siv_init(void *vctx, const unsigned char *key, size_t keylen, in siv_init() 101 static int siv_einit(void *vctx, const unsigned char *key, size_t keylen, in siv_einit() 108 static int siv_dinit(void *vctx, const unsigned char *key, size_t keylen, in siv_dinit() 115 static int siv_cipher(void *vctx, unsigned char *out, size_t *outl, in siv_cipher() 141 static int siv_stream_final(void *vctx, unsigned char *out, size_t *outl, in siv_stream_final() 157 static int aes_siv_get_ctx_params(void *vctx, OSSL_PARAM params[]) in aes_siv_get_ctx_params() 197 static int aes_siv_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in aes_siv_set_ctx_params()
|
A D | cipher_aes_siv_hw.c | 20 static int aes_siv_initkey(void *vctx, const unsigned char *key, size_t keylen) in aes_siv_initkey() 77 static int aes_siv_settag(void *vctx, const unsigned char *tag, size_t tagl) in aes_siv_settag() 85 static void aes_siv_setspeed(void *vctx, int speed) in aes_siv_setspeed() 93 static void aes_siv_cleanup(void *vctx) in aes_siv_cleanup() 103 static int aes_siv_cipher(void *vctx, unsigned char *out, in aes_siv_cipher()
|
A D | cipher_aes_xts.c | 68 static int aes_xts_init(void *vctx, const unsigned char *key, size_t keylen, in aes_xts_init() 97 static int aes_xts_einit(void *vctx, const unsigned char *key, size_t keylen, in aes_xts_einit() 104 static int aes_xts_dinit(void *vctx, const unsigned char *key, size_t keylen, in aes_xts_dinit() 124 static void aes_xts_freectx(void *vctx) in aes_xts_freectx() 132 static void *aes_xts_dupctx(void *vctx) in aes_xts_dupctx() 157 static int aes_xts_cipher(void *vctx, unsigned char *out, size_t *outl, in aes_xts_cipher() 192 static int aes_xts_stream_update(void *vctx, unsigned char *out, size_t *outl, in aes_xts_stream_update() 211 static int aes_xts_stream_final(void *vctx, unsigned char *out, size_t *outl, in aes_xts_stream_final() 231 static int aes_xts_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in aes_xts_set_ctx_params()
|
A D | cipher_tdes_common.c | 56 void ossl_tdes_freectx(void *vctx) in ossl_tdes_freectx() 64 static int tdes_init(void *vctx, const unsigned char *key, size_t keylen, in tdes_init() 99 int ossl_tdes_einit(void *vctx, const unsigned char *key, size_t keylen, in ossl_tdes_einit() 106 int ossl_tdes_dinit(void *vctx, const unsigned char *key, size_t keylen, in ossl_tdes_dinit() 135 int ossl_tdes_get_ctx_params(void *vctx, OSSL_PARAM params[]) in ossl_tdes_get_ctx_params()
|
A D | cipher_null.c | 34 static void null_freectx(void *vctx) in null_freectx() 40 static int null_einit(void *vctx, const unsigned char *key, size_t keylen, in null_einit() 54 static int null_dinit(void *vctx, const unsigned char *key, size_t keylen, in null_dinit() 65 static int null_cipher(void *vctx, unsigned char *out, size_t *outl, in null_cipher() 92 static int null_final(void *vctx, unsigned char *out, size_t *outl, in null_final() 123 static int null_get_ctx_params(void *vctx, OSSL_PARAM params[]) in null_get_ctx_params() 161 static int null_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in null_set_ctx_params()
|
A D | ciphercommon.c | 224 int ossl_cipher_generic_einit(void *vctx, const unsigned char *key, in ossl_cipher_generic_einit() 232 int ossl_cipher_generic_dinit(void *vctx, const unsigned char *key, in ossl_cipher_generic_dinit() 243 int ossl_cipher_generic_block_update(void *vctx, unsigned char *out, in ossl_cipher_generic_block_update() 384 int ossl_cipher_generic_block_final(void *vctx, unsigned char *out, in ossl_cipher_generic_block_final() 453 int ossl_cipher_generic_stream_update(void *vctx, unsigned char *out, in ossl_cipher_generic_stream_update() 510 int ossl_cipher_generic_stream_final(void *vctx, unsigned char *out, in ossl_cipher_generic_stream_final() 520 int ossl_cipher_generic_cipher(void *vctx, unsigned char *out, size_t *outl, in ossl_cipher_generic_cipher() 543 int ossl_cipher_generic_get_ctx_params(void *vctx, OSSL_PARAM params[]) in ossl_cipher_generic_get_ctx_params() 591 int ossl_cipher_generic_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in ossl_cipher_generic_set_ctx_params() 660 void ossl_cipher_generic_initkey(void *vctx, size_t kbits, size_t blkbits, in ossl_cipher_generic_initkey()
|
A D | ciphercommon_ccm.c | 68 int ossl_ccm_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in ossl_ccm_set_ctx_params() 144 int ossl_ccm_get_ctx_params(void *vctx, OSSL_PARAM params[]) in ossl_ccm_get_ctx_params() 222 static int ccm_init(void *vctx, const unsigned char *key, size_t keylen, in ccm_init() 252 int ossl_ccm_einit(void *vctx, const unsigned char *key, size_t keylen, in ossl_ccm_einit() 259 int ossl_ccm_dinit(void *vctx, const unsigned char *key, size_t keylen, in ossl_ccm_dinit() 266 int ossl_ccm_stream_update(void *vctx, unsigned char *out, size_t *outl, in ossl_ccm_stream_update() 284 int ossl_ccm_stream_final(void *vctx, unsigned char *out, size_t *outl, in ossl_ccm_stream_final() 301 int ossl_ccm_cipher(void *vctx, unsigned char *out, size_t *outl, size_t outsize, in ossl_ccm_cipher()
|
A D | cipher_chacha20_poly1305.c | 63 static void chacha20_poly1305_freectx(void *vctx) in chacha20_poly1305_freectx() 81 static int chacha20_poly1305_get_ctx_params(void *vctx, OSSL_PARAM params[]) in chacha20_poly1305_get_ctx_params() 143 static int chacha20_poly1305_set_ctx_params(void *vctx, in chacha20_poly1305_set_ctx_params() 228 static int chacha20_poly1305_einit(void *vctx, const unsigned char *key, in chacha20_poly1305_einit() 248 static int chacha20_poly1305_dinit(void *vctx, const unsigned char *key, in chacha20_poly1305_dinit() 268 static int chacha20_poly1305_cipher(void *vctx, unsigned char *out, in chacha20_poly1305_cipher() 295 static int chacha20_poly1305_final(void *vctx, unsigned char *out, size_t *outl, in chacha20_poly1305_final()
|
A D | ciphercommon_gcm.c | 41 static int gcm_init(void *vctx, const unsigned char *key, size_t keylen, in gcm_init() 73 int ossl_gcm_einit(void *vctx, const unsigned char *key, size_t keylen, in ossl_gcm_einit() 80 int ossl_gcm_dinit(void *vctx, const unsigned char *key, size_t keylen, in ossl_gcm_dinit() 135 int ossl_gcm_get_ctx_params(void *vctx, OSSL_PARAM params[]) in ossl_gcm_get_ctx_params() 222 int ossl_gcm_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in ossl_gcm_set_ctx_params() 296 int ossl_gcm_stream_update(void *vctx, unsigned char *out, size_t *outl, in ossl_gcm_stream_update() 318 int ossl_gcm_stream_final(void *vctx, unsigned char *out, size_t *outl, in ossl_gcm_stream_final() 335 int ossl_gcm_cipher(void *vctx, in ossl_gcm_cipher()
|
A D | cipher_chacha20.c | 57 static void chacha20_freectx(void *vctx) in chacha20_freectx() 75 static int chacha20_get_ctx_params(void *vctx, OSSL_PARAM params[]) in chacha20_get_ctx_params() 104 static int chacha20_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in chacha20_set_ctx_params() 148 int ossl_chacha20_einit(void *vctx, const unsigned char *key, size_t keylen, in ossl_chacha20_einit() 167 int ossl_chacha20_dinit(void *vctx, const unsigned char *key, size_t keylen, in ossl_chacha20_dinit()
|
A D | cipher_aes_ocb_hw.c | 32 static int cipher_hw_aes_ocb_generic_initkey(PROV_CIPHER_CTX *vctx, in cipher_hw_aes_ocb_generic_initkey() 64 static int cipher_hw_aes_ocb_aesni_initkey(PROV_CIPHER_CTX *vctx, in cipher_hw_aes_ocb_aesni_initkey() 87 static int cipher_hw_aes_ocb_t4_initkey(PROV_CIPHER_CTX *vctx, in cipher_hw_aes_ocb_t4_initkey()
|
A D | cipher_aes_ocb.c | 104 static int aes_ocb_init(void *vctx, const unsigned char *key, size_t keylen, in aes_ocb_init() 141 static int aes_ocb_einit(void *vctx, const unsigned char *key, size_t keylen, in aes_ocb_einit() 148 static int aes_ocb_dinit(void *vctx, const unsigned char *key, size_t keylen, in aes_ocb_dinit() 231 static int aes_ocb_block_update(void *vctx, unsigned char *out, size_t *outl, in aes_ocb_block_update() 262 static int aes_ocb_block_final(void *vctx, unsigned char *out, size_t *outl, in aes_ocb_block_final() 323 static void aes_ocb_freectx(void *vctx) in aes_ocb_freectx() 334 static void *aes_ocb_dupctx(void *vctx) in aes_ocb_dupctx() 355 static int aes_ocb_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in aes_ocb_set_ctx_params() 408 static int aes_ocb_get_ctx_params(void *vctx, OSSL_PARAM params[]) in aes_ocb_get_ctx_params() 497 static int aes_ocb_cipher(void *vctx, unsigned char *out, size_t *outl, in aes_ocb_cipher()
|
A D | cipher_aes_wrp.c | 69 static void aes_wrap_freectx(void *vctx) in aes_wrap_freectx() 77 static int aes_wrap_init(void *vctx, const unsigned char *key, in aes_wrap_init() 142 static int aes_wrap_cipher_internal(void *vctx, unsigned char *out, in aes_wrap_cipher_internal() 202 static int aes_wrap_final(void *vctx, unsigned char *out, size_t *outl, in aes_wrap_final() 212 static int aes_wrap_cipher(void *vctx, in aes_wrap_cipher() 240 static int aes_wrap_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in aes_wrap_set_ctx_params()
|
A D | cipher_des.c | 65 static void des_freectx(void *vctx) in des_freectx() 73 static int des_init(void *vctx, const unsigned char *key, size_t keylen, in des_init() 105 static int des_einit(void *vctx, const unsigned char *key, size_t keylen, in des_einit() 112 static int des_dinit(void *vctx, const unsigned char *key, size_t keylen, in des_dinit()
|
A D | cipher_aes_cbc_hmac_sha1_hw.c | 45 static int aesni_cbc_hmac_sha1_init_key(PROV_CIPHER_CTX *vctx, in aesni_cbc_hmac_sha1_init_key() 121 static size_t tls1_multi_block_encrypt(void *vctx, in tls1_multi_block_encrypt() 372 static int aesni_cbc_hmac_sha1_cipher(PROV_CIPHER_CTX *vctx, in aesni_cbc_hmac_sha1_cipher() 632 static void aesni_cbc_hmac_sha1_set_mac_key(void *vctx, in aesni_cbc_hmac_sha1_set_mac_key() 663 static int aesni_cbc_hmac_sha1_set_tls1_aad(void *vctx, in aesni_cbc_hmac_sha1_set_tls1_aad() 703 static int aesni_cbc_hmac_sha1_tls1_multiblock_max_bufsize(void *vctx) in aesni_cbc_hmac_sha1_tls1_multiblock_max_bufsize() 714 void *vctx, EVP_CTRL_TLS1_1_MULTIBLOCK_PARAM *param) in aesni_cbc_hmac_sha1_tls1_multiblock_aad()
|
A D | cipher_aes_cbc_hmac_sha256_hw.c | 46 static int aesni_cbc_hmac_sha256_init_key(PROV_CIPHER_CTX *vctx, in aesni_cbc_hmac_sha256_init_key() 125 static size_t tls1_multi_block_encrypt(void *vctx, in tls1_multi_block_encrypt() 395 static int aesni_cbc_hmac_sha256_cipher(PROV_CIPHER_CTX *vctx, in aesni_cbc_hmac_sha256_cipher() 684 static void aesni_cbc_hmac_sha256_set_mac_key(void *vctx, in aesni_cbc_hmac_sha256_set_mac_key() 716 static int aesni_cbc_hmac_sha256_set_tls1_aad(void *vctx, in aesni_cbc_hmac_sha256_set_tls1_aad() 756 void *vctx) in aesni_cbc_hmac_sha256_tls1_multiblock_max_bufsize() 767 void *vctx, EVP_CTRL_TLS1_1_MULTIBLOCK_PARAM *param) in aesni_cbc_hmac_sha256_tls1_multiblock_aad()
|
/openssl-master/providers/implementations/digests/ |
A D | sha3_prov.c | 53 static int keccak_init(void *vctx, ossl_unused const OSSL_PARAM params[]) in keccak_init() 62 static int keccak_init_params(void *vctx, const OSSL_PARAM params[]) in keccak_init_params() 68 static int keccak_update(void *vctx, const unsigned char *inp, size_t len) in keccak_update() 105 static int keccak_final(void *vctx, unsigned char *out, size_t *outl, in keccak_final() 123 static size_t generic_sha3_absorb(void *vctx, const void *inp, size_t len) in generic_sha3_absorb() 130 static int generic_sha3_final(unsigned char *md, void *vctx) in generic_sha3_final() 150 static size_t s390x_sha3_absorb(void *vctx, const void *inp, size_t len) in s390x_sha3_absorb() 159 static int s390x_sha3_final(unsigned char *md, void *vctx) in s390x_sha3_final() 170 static int s390x_shake_final(unsigned char *md, void *vctx) in s390x_shake_final() 260 static void keccak_freectx(void *vctx) in keccak_freectx() [all …]
|
/openssl-master/providers/implementations/kdfs/ |
A D | pvkkdf.c | 64 static void kdf_pvk_free(void *vctx) in kdf_pvk_free() 74 static void kdf_pvk_reset(void *vctx) in kdf_pvk_reset() 113 static int kdf_pvk_derive(void *vctx, unsigned char *key, size_t keylen, in kdf_pvk_derive() 159 static int kdf_pvk_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_pvk_set_ctx_params() 196 static int kdf_pvk_get_ctx_params(void *vctx, OSSL_PARAM params[]) in kdf_pvk_get_ctx_params()
|
A D | pbkdf1.c | 114 static void kdf_pbkdf1_free(void *vctx) in kdf_pbkdf1_free() 124 static void kdf_pbkdf1_reset(void *vctx) in kdf_pbkdf1_reset() 150 static int kdf_pbkdf1_derive(void *vctx, unsigned char *key, size_t keylen, in kdf_pbkdf1_derive() 174 static int kdf_pbkdf1_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_pbkdf1_set_ctx_params() 211 static int kdf_pbkdf1_get_ctx_params(void *vctx, OSSL_PARAM params[]) in kdf_pbkdf1_get_ctx_params()
|
A D | sshkdf.c | 66 static void kdf_sshkdf_free(void *vctx) in kdf_sshkdf_free() 76 static void kdf_sshkdf_reset(void *vctx) in kdf_sshkdf_reset() 97 static int kdf_sshkdf_derive(void *vctx, unsigned char *key, size_t keylen, in kdf_sshkdf_derive() 133 static int kdf_sshkdf_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_sshkdf_set_ctx_params() 192 static int kdf_sshkdf_get_ctx_params(void *vctx, OSSL_PARAM params[]) in kdf_sshkdf_get_ctx_params()
|
A D | tls1_prf.c | 111 static void kdf_tls1_prf_free(void *vctx) in kdf_tls1_prf_free() 121 static void kdf_tls1_prf_reset(void *vctx) in kdf_tls1_prf_reset() 134 static int kdf_tls1_prf_derive(void *vctx, unsigned char *key, size_t keylen, in kdf_tls1_prf_derive() 165 static int kdf_tls1_prf_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_tls1_prf_set_ctx_params() 230 static int kdf_tls1_prf_get_ctx_params(void *vctx, OSSL_PARAM params[]) in kdf_tls1_prf_get_ctx_params()
|
A D | pbkdf2.c | 91 static void kdf_pbkdf2_free(void *vctx) in kdf_pbkdf2_free() 101 static void kdf_pbkdf2_reset(void *vctx) in kdf_pbkdf2_reset() 142 static int kdf_pbkdf2_derive(void *vctx, unsigned char *key, size_t keylen, in kdf_pbkdf2_derive() 167 static int kdf_pbkdf2_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_pbkdf2_set_ctx_params() 229 static int kdf_pbkdf2_get_ctx_params(void *vctx, OSSL_PARAM params[]) in kdf_pbkdf2_get_ctx_params()
|
A D | pkcs12kdf.c | 162 static void kdf_pkcs12_free(void *vctx) in kdf_pkcs12_free() 172 static void kdf_pkcs12_reset(void *vctx) in kdf_pkcs12_reset() 198 static int kdf_pkcs12_derive(void *vctx, unsigned char *key, size_t keylen, in kdf_pkcs12_derive() 222 static int kdf_pkcs12_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_pkcs12_set_ctx_params() 267 static int kdf_pkcs12_get_ctx_params(void *vctx, OSSL_PARAM params[]) in kdf_pkcs12_get_ctx_params()
|
/openssl-master/providers/implementations/encode_decode/ |
A D | encode_key2ms.c | 80 static void key2ms_freectx(void *vctx) in key2ms_freectx() 97 static int key2pvk_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in key2pvk_set_ctx_params() 108 static int key2ms_does_selection(void *vctx, int selection) in key2ms_does_selection() 124 static int key2msblob_encode(void *vctx, const void *key, int selection, in key2msblob_encode() 146 static int key2pvk_encode(void *vctx, const void *key, int selection, in key2pvk_encode()
|