Searched refs:mbedtls_ccm_context (Results 1 – 9 of 9) sorted by relevance
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
D | ccm_alt.c | 31 void mbedtls_ccm_init( mbedtls_ccm_context *ctx ) in mbedtls_ccm_init() 36 int mbedtls_ccm_setkey( mbedtls_ccm_context *ctx, in mbedtls_ccm_setkey() 47 void mbedtls_ccm_free( mbedtls_ccm_context *ctx ) in mbedtls_ccm_free() 55 int mbedtls_ccm_encrypt_and_tag( mbedtls_ccm_context *ctx, in mbedtls_ccm_encrypt_and_tag() 72 int mbedtls_ccm_auth_decrypt( mbedtls_ccm_context *ctx, in mbedtls_ccm_auth_decrypt() 88 int mbedtls_ccm_star_encrypt_and_tag(mbedtls_ccm_context *ctx, in mbedtls_ccm_star_encrypt_and_tag() 102 int mbedtls_ccm_star_auth_decrypt(mbedtls_ccm_context *ctx, in mbedtls_ccm_star_auth_decrypt() 117 int mbedtls_ccm_starts( mbedtls_ccm_context *ctx, in mbedtls_ccm_starts() 130 int mbedtls_ccm_set_lengths( mbedtls_ccm_context *ctx, in mbedtls_ccm_set_lengths() 143 int mbedtls_ccm_update_ad( mbedtls_ccm_context *ctx, in mbedtls_ccm_update_ad() [all …]
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/ |
D | mbedtls_ccm_internal.h | 19 void mbedtls_ccm_init_int(mbedtls_ccm_context *ctx); 21 int mbedtls_ccm_setkey_int(mbedtls_ccm_context *ctx, mbedtls_cipher_id_t cipher, const unsigned cha… 23 void mbedtls_ccm_free_int(mbedtls_ccm_context *ctx); 25 int mbedtls_ccm_encrypt_and_tag_int(mbedtls_ccm_context *ctx, 37 int mbedtls_ccm_auth_decrypt_int(mbedtls_ccm_context *ctx,
|
D | mbedtls_ccm_internal.c | 31 static int ccm_init(mbedtls_ccm_context *ctx, in ccm_init() 170 static int ccm_ass_data(mbedtls_ccm_context *ctx, const uint8_t *pAssocData, size_t assocDataSize) in ccm_ass_data() 274 static int ccm_text_data(mbedtls_ccm_context *ctx, const uint8_t *pTextDataIn, size_t textDataSize,… in ccm_text_data() 395 static int ccm_finish(mbedtls_ccm_context *ctx, unsigned char * macBuf, size_t *sizeOfT) in ccm_finish() 491 static int ccm_auth_crypt(mbedtls_ccm_context *ctx, in ccm_auth_crypt() 580 void mbedtls_ccm_init_int(mbedtls_ccm_context *ctx) in mbedtls_ccm_init_int() 587 if (sizeof(mbedtls_ccm_context) < sizeof(AesCcmContext_t)) in mbedtls_ccm_init_int() 591 mbedtls_zeroize_internal(ctx, sizeof(mbedtls_ccm_context)); in mbedtls_ccm_init_int() 595 int mbedtls_ccm_setkey_int(mbedtls_ccm_context *ctx, mbedtls_cipher_id_t cipher, const unsigned cha… in mbedtls_ccm_setkey_int() 640 void mbedtls_ccm_free_int(mbedtls_ccm_context *ctx) in mbedtls_ccm_free_int() [all …]
|
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/accelerator/ |
D | ccm_alt.c | 79 void mbedtls_ccm_init( mbedtls_ccm_context *ctx ) in mbedtls_ccm_init() 83 mbedtls_platform_zeroize( ctx, sizeof( mbedtls_ccm_context ) ); in mbedtls_ccm_init() 86 int mbedtls_ccm_setkey( mbedtls_ccm_context *ctx, in mbedtls_ccm_setkey() 156 void mbedtls_ccm_free( mbedtls_ccm_context *ctx ) in mbedtls_ccm_free() 164 mbedtls_platform_zeroize( ctx, sizeof( mbedtls_ccm_context ) ); in mbedtls_ccm_free() 170 static int ccm_auth_crypt( mbedtls_ccm_context *ctx, int mode, size_t length, in ccm_auth_crypt() 373 int mbedtls_ccm_star_encrypt_and_tag( mbedtls_ccm_context *ctx, size_t length, in mbedtls_ccm_star_encrypt_and_tag() 389 int mbedtls_ccm_encrypt_and_tag( mbedtls_ccm_context *ctx, size_t length, in mbedtls_ccm_encrypt_and_tag() 411 int mbedtls_ccm_star_auth_decrypt( mbedtls_ccm_context *ctx, size_t length, in mbedtls_ccm_star_auth_decrypt() 449 int mbedtls_ccm_auth_decrypt( mbedtls_ccm_context *ctx, size_t length, in mbedtls_ccm_auth_decrypt() [all …]
|
D | ccm_alt.h | 67 typedef struct mbedtls_ccm_context struct 75 mbedtls_ccm_context; argument
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/ |
D | run_integration_ccm.c | 58 mbedtls_ccm_context *pCtx = NULL; in runIt_ccmStarEncOnly() 64 ALLOC_STRUCT(mbedtls_ccm_context, ctxPtr, pCtx); in runIt_ccmStarEncOnly() 118 mbedtls_ccm_context *pCtx = NULL; in runIt_ccmStar() 124 ALLOC_STRUCT(mbedtls_ccm_context, ctxPtr, pCtx); in runIt_ccmStar() 175 mbedtls_ccm_context *pCtx = NULL; in runIt_ccm() 180 ALLOC_STRUCT(mbedtls_ccm_context, ctxPtr, pCtx); in runIt_ccm()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/mbedtls/ |
D | ccm_alt.h | 34 mbedtls_ccm_context; typedef
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_productionlib/common/ |
D | prod_crypto_driver.c | 53 mbedtls_ccm_context *pCtx; in CC_PROD_AesCcmDecrypt() 55 if (workspaceSize < sizeof(mbedtls_ccm_context) || (workspaceAddr % CC_32BIT_WORD_SIZE)) { in CC_PROD_AesCcmDecrypt() 59 pCtx = (mbedtls_ccm_context *)workspaceAddr; in CC_PROD_AesCcmDecrypt()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_lib/ |
D | mbedtls_cc_util_asset_prov.c | 39 mbedtls_ccm_context ccmCtx; in mbedtls_util_asset_pkg_unpack()
|