/third_party/openssl/providers/implementations/ciphers/ |
D | ciphercommon_hw.c | 16 int ossl_cipher_hw_generic_cbc(PROV_CIPHER_CTX *dat, unsigned char *out, in ossl_cipher_hw_generic_cbc() 29 int ossl_cipher_hw_generic_ecb(PROV_CIPHER_CTX *dat, unsigned char *out, in ossl_cipher_hw_generic_ecb() 48 int ossl_cipher_hw_generic_ofb128(PROV_CIPHER_CTX *dat, unsigned char *out, in ossl_cipher_hw_generic_ofb128() 59 int ossl_cipher_hw_generic_cfb128(PROV_CIPHER_CTX *dat, unsigned char *out, in ossl_cipher_hw_generic_cfb128() 71 int ossl_cipher_hw_generic_cfb8(PROV_CIPHER_CTX *dat, unsigned char *out, in ossl_cipher_hw_generic_cfb8() 83 int ossl_cipher_hw_generic_cfb1(PROV_CIPHER_CTX *dat, unsigned char *out, in ossl_cipher_hw_generic_cfb1() 111 int ossl_cipher_hw_generic_ctr(PROV_CIPHER_CTX *dat, unsigned char *out, in ossl_cipher_hw_generic_ctr() 132 int ossl_cipher_hw_chunked_cbc(PROV_CIPHER_CTX *ctx, unsigned char *out, in ossl_cipher_hw_chunked_cbc() 146 int ossl_cipher_hw_chunked_cfb8(PROV_CIPHER_CTX *ctx, unsigned char *out, in ossl_cipher_hw_chunked_cfb8() 164 int ossl_cipher_hw_chunked_cfb128(PROV_CIPHER_CTX *ctx, unsigned char *out, in ossl_cipher_hw_chunked_cfb128() [all …]
|
D | ciphercommon.c | 115 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; 176 void ossl_cipher_generic_reset_ctx(PROV_CIPHER_CTX *ctx) in ossl_cipher_generic_reset_ctx() 185 static int cipher_generic_init_internal(PROV_CIPHER_CTX *ctx, in cipher_generic_init_internal() 228 return cipher_generic_init_internal((PROV_CIPHER_CTX *)vctx, key, keylen, in ossl_cipher_generic_einit() 236 return cipher_generic_init_internal((PROV_CIPHER_CTX *)vctx, key, keylen, in ossl_cipher_generic_dinit() 248 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in ossl_cipher_generic_block_update() 387 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in ossl_cipher_generic_block_final() 457 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in ossl_cipher_generic_stream_update() 524 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in ossl_cipher_generic_cipher() 545 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in ossl_cipher_generic_get_ctx_params() [all …]
|
D | cipher_chacha20_poly1305.h | 19 PROV_CIPHER_CTX base; /* must be first */ 35 int (*aead_cipher)(PROV_CIPHER_CTX *dat, unsigned char *out, size_t *outl, 37 int (*initiv)(PROV_CIPHER_CTX *ctx); 38 int (*tls_init)(PROV_CIPHER_CTX *ctx, unsigned char *aad, size_t alen); 39 int (*tls_iv_set_fixed)(PROV_CIPHER_CTX *ctx, unsigned char *fixed,
|
D | cipher_des_hw.c | 19 static int cipher_hw_des_initkey(PROV_CIPHER_CTX *ctx, in cipher_hw_des_initkey() 41 static void cipher_hw_des_copyctx(PROV_CIPHER_CTX *dst, in cipher_hw_des_copyctx() 42 const PROV_CIPHER_CTX *src) in cipher_hw_des_copyctx() 51 static int cipher_hw_des_ecb_cipher(PROV_CIPHER_CTX *ctx, unsigned char *out, in cipher_hw_des_ecb_cipher() 65 static int cipher_hw_des_cbc_cipher(PROV_CIPHER_CTX *ctx, unsigned char *out, in cipher_hw_des_cbc_cipher() 89 static int cipher_hw_des_ofb64_cipher(PROV_CIPHER_CTX *ctx, unsigned char *out, in cipher_hw_des_ofb64_cipher() 108 static int cipher_hw_des_cfb64_cipher(PROV_CIPHER_CTX *ctx, unsigned char *out, in cipher_hw_des_cfb64_cipher() 134 static int cipher_hw_des_cfb1_cipher(PROV_CIPHER_CTX *ctx, unsigned char *out, in cipher_hw_des_cfb1_cipher() 162 static int cipher_hw_des_cfb8_cipher(PROV_CIPHER_CTX *ctx, unsigned char *out, in cipher_hw_des_cfb8_cipher()
|
D | cipher_aes_wrp.c | 40 PROV_CIPHER_CTX base; 54 PROV_CIPHER_CTX *ctx; in aes_wrap_newctx() 60 ctx = (PROV_CIPHER_CTX *)wctx; in aes_wrap_newctx() 73 ossl_cipher_generic_reset_ctx((PROV_CIPHER_CTX *)vctx); in aes_wrap_freectx() 81 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in aes_wrap_init() 145 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in aes_wrap_cipher_internal() 242 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in aes_wrap_set_ctx_params()
|
D | cipher_tdes.h | 19 PROV_CIPHER_CTX base; /* Must be first */ 93 int ossl_cipher_hw_tdes_ede3_initkey(PROV_CIPHER_CTX *ctx, 95 void ossl_cipher_hw_tdes_copyctx(PROV_CIPHER_CTX *dst, 96 const PROV_CIPHER_CTX *src); 97 int ossl_cipher_hw_tdes_cbc(PROV_CIPHER_CTX *ctx, unsigned char *out, 99 int ossl_cipher_hw_tdes_ecb(PROV_CIPHER_CTX *ctx, unsigned char *out,
|
D | cipher_tdes_common.c | 60 ossl_cipher_generic_reset_ctx((PROV_CIPHER_CTX *)vctx); in ossl_tdes_freectx() 68 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in tdes_init() 117 static int tdes_generatekey(PROV_CIPHER_CTX *ctx, void *ptr) 137 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in ossl_tdes_get_ctx_params()
|
D | cipher_chacha20_poly1305.c | 68 ossl_cipher_generic_reset_ctx((PROV_CIPHER_CTX *)vctx); in chacha20_poly1305_freectx() 237 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in chacha20_poly1305_einit() 257 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in chacha20_poly1305_dinit() 272 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in chacha20_poly1305_cipher() 298 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in chacha20_poly1305_final()
|
D | cipher_tdes_hw.c | 23 int ossl_cipher_hw_tdes_ede3_initkey(PROV_CIPHER_CTX *ctx, in ossl_cipher_hw_tdes_ede3_initkey() 48 void ossl_cipher_hw_tdes_copyctx(PROV_CIPHER_CTX *dst, in ossl_cipher_hw_tdes_copyctx() 49 const PROV_CIPHER_CTX *src) in ossl_cipher_hw_tdes_copyctx() 58 int ossl_cipher_hw_tdes_cbc(PROV_CIPHER_CTX *ctx, unsigned char *out, in ossl_cipher_hw_tdes_cbc() 81 int ossl_cipher_hw_tdes_ecb(PROV_CIPHER_CTX *ctx, unsigned char *out, in ossl_cipher_hw_tdes_ecb()
|
D | cipher_cts.c | 100 static size_t cts128_cs1_encrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, in cts128_cs1_encrypt() 134 static size_t cts128_cs1_decrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, in cts128_cs1_decrypt() 196 static size_t cts128_cs3_encrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, in cts128_cs3_encrypt() 236 static size_t cts128_cs3_decrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, in cts128_cs3_decrypt() 302 static size_t cts128_cs2_encrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, in cts128_cs2_encrypt() 315 static size_t cts128_cs2_decrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, in cts128_cs2_decrypt() 332 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in ossl_cipher_cbc_cts_block_update()
|
D | cipher_desx_hw.c | 27 static int cipher_hw_desx_cbc_initkey(PROV_CIPHER_CTX *ctx, in cipher_hw_desx_cbc_initkey() 40 static void cipher_hw_desx_copyctx(PROV_CIPHER_CTX *dst, in cipher_hw_desx_copyctx() 41 const PROV_CIPHER_CTX *src) in cipher_hw_desx_copyctx() 50 static int cipher_hw_desx_cbc(PROV_CIPHER_CTX *ctx, unsigned char *out, in cipher_hw_desx_cbc()
|
D | cipher_aes_xts_hw.c | 38 static int cipher_hw_aes_xts_generic_initkey(PROV_CIPHER_CTX *ctx, in cipher_hw_aes_xts_generic_initkey() 89 static void cipher_hw_aes_xts_copyctx(PROV_CIPHER_CTX *dst, in cipher_hw_aes_xts_copyctx() 90 const PROV_CIPHER_CTX *src) in cipher_hw_aes_xts_copyctx() 102 static int cipher_hw_aesni_xts_initkey(PROV_CIPHER_CTX *ctx, in cipher_hw_aesni_xts_initkey() 125 static int cipher_hw_aes_xts_t4_initkey(PROV_CIPHER_CTX *ctx, in cipher_hw_aes_xts_t4_initkey()
|
D | cipher_des.c | 69 ossl_cipher_generic_reset_ctx((PROV_CIPHER_CTX *)vctx); in des_freectx() 77 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in des_init() 119 static int des_generatekey(PROV_CIPHER_CTX *ctx, void *ptr) in des_generatekey() 137 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx;
|
D | cipher_rc4_hmac_md5.h | 15 PROV_CIPHER_CTX base; /* Must be first */ 27 int (*tls_init)(PROV_CIPHER_CTX *ctx, unsigned char *aad, size_t aad_len); 28 void (*init_mackey)(PROV_CIPHER_CTX *ctx, const unsigned char *key,
|
D | cipher_chacha20.c | 62 ossl_cipher_generic_reset_ctx((PROV_CIPHER_CTX *)vctx); in chacha20_freectx() 157 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in ossl_chacha20_einit() 176 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in ossl_chacha20_dinit()
|
D | cipher_tdes_default_hw.c | 22 static int ossl_cipher_hw_tdes_ede2_initkey(PROV_CIPHER_CTX *ctx, in ossl_cipher_hw_tdes_ede2_initkey() 48 static int ossl_cipher_hw_tdes_ofb(PROV_CIPHER_CTX *ctx, unsigned char *out, in ossl_cipher_hw_tdes_ofb() 69 static int ossl_cipher_hw_tdes_cfb(PROV_CIPHER_CTX *ctx, unsigned char *out, in ossl_cipher_hw_tdes_cfb() 97 static int ossl_cipher_hw_tdes_cfb1(PROV_CIPHER_CTX *ctx, unsigned char *out, in ossl_cipher_hw_tdes_cfb1() 118 static int ossl_cipher_hw_tdes_cfb8(PROV_CIPHER_CTX *ctx, unsigned char *out, in ossl_cipher_hw_tdes_cfb8()
|
D | cipher_aes_hw_s390x.inc | 33 static int s390x_aes_ecb_initkey(PROV_CIPHER_CTX *dat, 43 static int s390x_aes_ecb_cipher_hw(PROV_CIPHER_CTX *dat, unsigned char *out, 54 static int s390x_aes_ofb128_initkey(PROV_CIPHER_CTX *dat, 65 static int s390x_aes_ofb128_cipher_hw(PROV_CIPHER_CTX *dat, unsigned char *out, 109 static int s390x_aes_cfb128_initkey(PROV_CIPHER_CTX *dat, 121 static int s390x_aes_cfb128_cipher_hw(PROV_CIPHER_CTX *dat, unsigned char *out, 171 static int s390x_aes_cfb8_initkey(PROV_CIPHER_CTX *dat, 182 static int s390x_aes_cfb8_cipher_hw(PROV_CIPHER_CTX *dat, unsigned char *out,
|
D | cipher_tdes_wrap.c | 35 static int des_ede3_unwrap(PROV_CIPHER_CTX *ctx, unsigned char *out, in des_ede3_unwrap() 81 static int des_ede3_wrap(PROV_CIPHER_CTX *ctx, unsigned char *out, in des_ede3_wrap() 111 static int tdes_wrap_cipher_internal(PROV_CIPHER_CTX *ctx, unsigned char *out, in tdes_wrap_cipher_internal() 131 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in tdes_wrap_cipher()
|
D | cipher_aes_cts.inc | 48 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; 69 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx;
|
D | cipher_camellia_cts.inc | 48 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; 69 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx;
|
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()
|
D | cipher_chacha20_hw.c | 14 static int chacha20_initkey(PROV_CIPHER_CTX *bctx, const uint8_t *key, in chacha20_initkey() 28 static int chacha20_initiv(PROV_CIPHER_CTX *bctx) in chacha20_initiv() 41 static int chacha20_cipher(PROV_CIPHER_CTX *bctx, unsigned char *out, in chacha20_cipher()
|
D | cipher_chacha20.h | 14 PROV_CIPHER_CTX base; /* must be first */ 26 int (*initiv)(PROV_CIPHER_CTX *ctx);
|
D | cipher_rc4_hmac_md5_hw.c | 35 static int cipher_hw_rc4_hmac_md5_initkey(PROV_CIPHER_CTX *bctx, in cipher_hw_rc4_hmac_md5_initkey() 49 static int cipher_hw_rc4_hmac_md5_cipher(PROV_CIPHER_CTX *bctx, in cipher_hw_rc4_hmac_md5_cipher() 165 static int cipher_hw_rc4_hmac_md5_tls_init(PROV_CIPHER_CTX *bctx, in cipher_hw_rc4_hmac_md5_tls_init() 190 static void cipher_hw_rc4_hmac_md5_init_mackey(PROV_CIPHER_CTX *bctx, in cipher_hw_rc4_hmac_md5_init_mackey()
|
/third_party/openssl/providers/implementations/include/prov/ |
D | ciphercommon.h | 29 typedef struct prov_cipher_ctx_st PROV_CIPHER_CTX; typedef 31 typedef int (PROV_CIPHER_HW_FN)(PROV_CIPHER_CTX *dat, unsigned char *out, 97 int (*init)(PROV_CIPHER_CTX *dat, const uint8_t *key, size_t keylen); 99 void (*copyctx)(PROV_CIPHER_CTX *dst, const PROV_CIPHER_CTX *src); 102 void ossl_cipher_generic_reset_ctx(PROV_CIPHER_CTX *ctx); 235 static int cipher_hw_##NAME##_##MODE##_cipher(PROV_CIPHER_CTX *ctx, \ 256 static int cipher_hw_##NAME##_##MODE##_cipher(PROV_CIPHER_CTX *ctx, \ 271 static int cipher_hw_##NAME##_##MODE##_cipher(PROV_CIPHER_CTX *ctx, \ 289 static int cipher_hw_##NAME##_##MODE##_cipher(PROV_CIPHER_CTX *ctx, \ 313 static void name(PROV_CIPHER_CTX *dst, const PROV_CIPHER_CTX *src) \ [all …]
|