Home
last modified time | relevance | path

Searched refs:cr (Results 1 – 4 of 4) sorted by relevance

/optee_os-3.20.0/core/drivers/crypto/stm32/
A Dstm32_cryp.c176 #define IS_ALGOMODE(cr, mod) \ argument
180 #define SET_ALGOMODE(mod, cr) \ argument
184 #define GET_ALGOMODE(cr) \ argument
200 return !IS_ALGOMODE(cr, TDES_ECB) && !IS_ALGOMODE(cr, DES_ECB) && in algo_mode_needs_iv()
222 return !is_decrypt(cr); in is_encrypt()
227 return (IS_ALGOMODE(cr, AES_GCM) && is_encrypt(cr)) || in does_need_npblb()
228 (IS_ALGOMODE(cr, AES_CCM) && is_decrypt(cr)); in does_need_npblb()
370 if (IS_ALGOMODE(ctx->cr, AES_GCM) || IS_ALGOMODE(ctx->cr, AES_CCM)) in cryp_save_suspend()
386 if (IS_ALGOMODE(ctx->cr, AES_GCM) || IS_ALGOMODE(ctx->cr, AES_CCM)) in cryp_restore_suspend()
423 if (is_decrypt(ctx->cr) && (IS_ALGOMODE(ctx->cr, AES_ECB) || in cryp_prepare_key()
[all …]
A Dstm32_cryp.h47 uint32_t cr; member
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/base64/
A Dbase64_encode.c28 cr = 4, enumerator
30 crlf = lf | cr,
72 if (mode & cr) *p++ = '\r'; in s_base64_encode_internal()
/optee_os-3.20.0/core/drivers/
A Datmel_rtc.c152 uint32_t cr = 0; in atmel_rtc_set_time() local
158 cr = atmel_rtc_read(RTC_CR); in atmel_rtc_set_time()
159 } while (cr & (RTC_CR_UPDCAL | RTC_CR_UPDTIM)); in atmel_rtc_set_time()
162 atmel_rtc_write(RTC_CR, cr | RTC_CR_UPDCAL | RTC_CR_UPDTIM); in atmel_rtc_set_time()
194 atmel_rtc_write(RTC_CR, cr); in atmel_rtc_set_time()

Completed in 13 milliseconds