Lines Matching refs:mode
19 int ret = 0, bits, mode = dat->mode;
28 if (dat->enc || (mode != EVP_CIPH_ECB_MODE && mode != EVP_CIPH_CBC_MODE)) {
32 if (mode == EVP_CIPH_CBC_MODE)
34 else if (mode == EVP_CIPH_CTR_MODE)
41 if (mode == EVP_CIPH_CBC_MODE)
43 else if (mode == EVP_CIPH_CTR_MODE)
56 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ?
61 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ?
76 #define PROV_CIPHER_HW_declare(mode) \
77 static const PROV_CIPHER_HW t4_camellia_##mode = { \
79 ossl_cipher_hw_generic_##mode, \
82 #define PROV_CIPHER_HW_select(mode) \
84 return &t4_camellia_##mode;