Searched refs:plainTxtLen (Results 1 – 2 of 2) sorted by relevance
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/common/ |
D | common_crypto_sym.c | 235 uint32_t plainTxtLen, in CC_CommonAesCcmEncrypt() argument 255 memset(enBuff, 0, plainTxtLen); in CC_CommonAesCcmEncrypt() 293 rc = EVP_EncryptUpdate(&ccm_ctx, NULL, &outlen, NULL, plainTxtLen); in CC_CommonAesCcmEncrypt() 310 UTIL_LOG_BYTE_BUFF("plainTxt", plainTxt, plainTxtLen); in CC_CommonAesCcmEncrypt() 311 rc = EVP_EncryptUpdate(&ccm_ctx, enBuff, &outlen, plainTxt, plainTxtLen); in CC_CommonAesCcmEncrypt() 317 if (outlen != plainTxtLen) { in CC_CommonAesCcmEncrypt() 318 UTIL_LOG_ERR( "ccm encrypt size(%d) != palin text size(%d)\n", outlen, plainTxtLen); in CC_CommonAesCcmEncrypt()
|
D | common_crypto_sym.h | 66 uint8_t *plainTxt, uint32_t plainTxtLen,
|