Lines Matching refs:mode
130 mbedtls_cipher_mode_t *mode, in mbedtls_cipher_values_from_psa() argument
147 *mode = MBEDTLS_MODE_STREAM; in mbedtls_cipher_values_from_psa()
152 *mode = MBEDTLS_MODE_CTR; in mbedtls_cipher_values_from_psa()
157 *mode = MBEDTLS_MODE_CFB; in mbedtls_cipher_values_from_psa()
162 *mode = MBEDTLS_MODE_OFB; in mbedtls_cipher_values_from_psa()
167 *mode = MBEDTLS_MODE_ECB; in mbedtls_cipher_values_from_psa()
172 *mode = MBEDTLS_MODE_CBC; in mbedtls_cipher_values_from_psa()
177 *mode = MBEDTLS_MODE_CBC; in mbedtls_cipher_values_from_psa()
182 *mode = MBEDTLS_MODE_CCM_STAR_NO_TAG; in mbedtls_cipher_values_from_psa()
187 *mode = MBEDTLS_MODE_CCM; in mbedtls_cipher_values_from_psa()
192 *mode = MBEDTLS_MODE_GCM; in mbedtls_cipher_values_from_psa()
197 *mode = MBEDTLS_MODE_CHACHAPOLY; in mbedtls_cipher_values_from_psa()
204 *mode = MBEDTLS_MODE_ECB; in mbedtls_cipher_values_from_psa()
264 mbedtls_cipher_mode_t mode; in mbedtls_cipher_info_from_psa() local
268 status = mbedtls_cipher_values_from_psa(alg, key_type, &key_bits, &mode, &cipher_id_tmp); in mbedtls_cipher_info_from_psa()
276 return mbedtls_cipher_info_from_values(cipher_id_tmp, (int) key_bits, mode); in mbedtls_cipher_info_from_psa()