Lines Matching refs:EVP_CIPHER_CTX
144 static int aesni_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in aesni_init_key()
180 static int aesni_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in aesni_cbc_cipher()
189 static int aesni_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in aesni_ecb_cipher()
204 static int aesni_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
208 static int aesni_cfb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
212 static int aesni_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
216 static int aesni_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
220 static int aesni_ctr_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
223 static int aesni_gcm_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in aesni_gcm_init_key()
257 static int aesni_gcm_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
260 static int aesni_xts_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in aesni_xts_init_key()
311 static int aesni_xts_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
314 static int aesni_ccm_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in aesni_ccm_init_key()
337 static int aesni_ccm_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
341 static int aesni_ocb_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in aesni_ocb_init_key()
392 static int aesni_ocb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
447 static int aes_t4_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in aes_t4_init_key()
519 static int aes_t4_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
523 static int aes_t4_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
527 static int aes_t4_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
531 static int aes_t4_cfb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
535 static int aes_t4_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
539 static int aes_t4_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
543 static int aes_t4_ctr_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
546 static int aes_t4_gcm_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in aes_t4_gcm_init_key()
593 static int aes_t4_gcm_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
596 static int aes_t4_xts_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in aes_t4_xts_init_key()
666 static int aes_t4_xts_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
669 static int aes_t4_ccm_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in aes_t4_ccm_init_key()
691 static int aes_t4_ccm_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
695 static int aes_t4_ocb_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in aes_t4_ocb_init_key()
745 static int aes_t4_ocb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
958 static int s390x_aes_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
966 static int s390x_aes_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
969 static int s390x_aes_ecb_init_key(EVP_CIPHER_CTX *ctx, in s390x_aes_ecb_init_key()
984 static int s390x_aes_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in s390x_aes_ecb_cipher()
993 static int s390x_aes_ofb_init_key(EVP_CIPHER_CTX *ctx, in s390x_aes_ofb_init_key()
1009 static int s390x_aes_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in s390x_aes_ofb_cipher()
1052 static int s390x_aes_cfb_init_key(EVP_CIPHER_CTX *ctx, in s390x_aes_cfb_init_key()
1072 static int s390x_aes_cfb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in s390x_aes_cfb_cipher()
1122 static int s390x_aes_cfb8_init_key(EVP_CIPHER_CTX *ctx, in s390x_aes_cfb8_init_key()
1141 static int s390x_aes_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in s390x_aes_cfb8_cipher()
1157 static int s390x_aes_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
1165 static int s390x_aes_ctr_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
1352 static int s390x_aes_gcm_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) in s390x_aes_gcm_ctrl()
1356 EVP_CIPHER_CTX *out; in s390x_aes_gcm_ctrl()
1524 static int s390x_aes_gcm_init_key(EVP_CIPHER_CTX *ctx, in s390x_aes_gcm_init_key()
1566 static int s390x_aes_gcm_tls_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in s390x_aes_gcm_tls_cipher()
1625 static int s390x_aes_gcm_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in s390x_aes_gcm_cipher()
1675 static int s390x_aes_gcm_cleanup(EVP_CIPHER_CTX *c) in s390x_aes_gcm_cleanup()
1692 static int s390x_aes_xts_init_key(EVP_CIPHER_CTX *ctx,
1696 static int s390x_aes_xts_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
1699 static int s390x_aes_xts_ctrl(EVP_CIPHER_CTX *, int type, int arg, void *ptr);
1877 static int s390x_aes_ccm_tls_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in s390x_aes_ccm_tls_cipher()
1930 static int s390x_aes_ccm_init_key(EVP_CIPHER_CTX *ctx, in s390x_aes_ccm_init_key()
1970 static int s390x_aes_ccm_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in s390x_aes_ccm_cipher()
2059 static int s390x_aes_ccm_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) in s390x_aes_ccm_ctrl()
2175 static int s390x_aes_ocb_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
2178 static int s390x_aes_ocb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
2181 static int s390x_aes_ocb_cleanup(EVP_CIPHER_CTX *);
2183 static int s390x_aes_ocb_ctrl(EVP_CIPHER_CTX *, int type, int arg, void *ptr);
2313 static int aes_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in aes_init_key()
2421 static int aes_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in aes_cbc_cipher()
2439 static int aes_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in aes_ecb_cipher()
2455 static int aes_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in aes_ofb_cipher()
2467 static int aes_cfb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in aes_cfb_cipher()
2480 static int aes_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in aes_cfb8_cipher()
2493 static int aes_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in aes_cfb1_cipher()
2528 static int aes_ctr_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in aes_ctr_cipher()
2557 static int aes_gcm_cleanup(EVP_CIPHER_CTX *c) in aes_gcm_cleanup()
2568 static int aes_gcm_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) in aes_gcm_ctrl()
2685 EVP_CIPHER_CTX *out = ptr; in aes_gcm_ctrl()
2710 static int aes_gcm_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in aes_gcm_init_key()
2790 static int aes_gcm_tls_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in aes_gcm_tls_cipher()
2944 static int aes_gcm_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in aes_gcm_cipher()
3099 static int aes_xts_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) in aes_xts_ctrl()
3104 EVP_CIPHER_CTX *out = ptr; in aes_xts_ctrl()
3126 static int aes_xts_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in aes_xts_init_key()
3238 static int aes_xts_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in aes_xts_cipher()
3280 static int aes_ccm_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) in aes_ccm_ctrl()
3365 EVP_CIPHER_CTX *out = ptr; in aes_ccm_ctrl()
3381 static int aes_ccm_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in aes_ccm_init_key()
3428 static int aes_ccm_tls_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in aes_ccm_tls_cipher()
3477 static int aes_ccm_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in aes_ccm_cipher()
3567 static int aes_wrap_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in aes_wrap_init_key()
3594 static int aes_wrap_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in aes_wrap_cipher()
3742 static int aes_ocb_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) in aes_ocb_ctrl()
3745 EVP_CIPHER_CTX *newc; in aes_ocb_ctrl()
3793 newc = (EVP_CIPHER_CTX *)ptr; in aes_ocb_ctrl()
3805 static int aes_ocb_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in aes_ocb_init_key()
3887 static int aes_ocb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in aes_ocb_cipher()
4036 static int aes_ocb_cleanup(EVP_CIPHER_CTX *c) in aes_ocb_cleanup()