Home
last modified time | relevance | path

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

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/common/
Dcommon_crypto_encode.c41 uint8_t *pEncBuff, in CC_CommonBase64Encode() argument
52 (NULL == pEncBuff) || in CC_CommonBase64Encode()
63 memset(pEncBuff, 0, *pEecBuffLen); in CC_CommonBase64Encode()
65 stream = fmemopen(pEncBuff, *pEecBuffLen, "w"); in CC_CommonBase64Encode()
113 int32_t CC_CommonBase64Decode(uint8_t *pEncBuff, in CC_CommonBase64Decode() argument
127 if ((NULL == pEncBuff) || in CC_CommonBase64Decode()
138 while (!IS_BASE64_ENCODE_VAL(pEncBuff[i])) { in CC_CommonBase64Decode()
139 UTIL_LOG_INFO("pEncBuff[%d] 0x%x\n", i, pEncBuff[i]); in CC_CommonBase64Decode()
152 stream = fmemopen(pEncBuff, encBuffLen, "r"); in CC_CommonBase64Decode()
Dcommon_crypto_sym.h33 int8_t *pEncBuff);
49 int8_t *pEncBuff,
123 uint8_t *pEncBuff);
Dcommon_crypto_sym.c38 int8_t *pEncBuff) in CC_CommonAesCtrEncrypt() argument
49 (NULL == pEncBuff)) { in CC_CommonAesCtrEncrypt()
63 AES_ctr128_encrypt (pDataIn, pEncBuff, dataInSize, &key, m_iv, m_ecount_buf, &m_num); in CC_CommonAesCtrEncrypt()
82 int8_t *pEncBuff, in CC_CommonAesCbcDecrypt() argument
95 if ((NULL == pEncBuff) || in CC_CommonAesCbcDecrypt()
148 AES_cbc_encrypt(pEncBuff, pDecBuff, encBuffSize, &aesKey, ivBuff, AES_DECRYPT); in CC_CommonAesCbcDecrypt()
498 uint8_t *pEncBuff) in CC_CommonAesEcbEncrypt() argument
507 (NULL == pEncBuff)) { in CC_CommonAesEcbEncrypt()
521 AES_ecb_encrypt(pDataIn, pEncBuff, &encKey, AES_ENCRYPT); in CC_CommonAesEcbEncrypt()
Dcommon_crypto_encode.h26 uint8_t *pEncBuff,
39 int32_t CC_CommonBase64Decode(uint8_t *pEncBuff,