Searched refs:size_ctx (Results 1 – 8 of 8) sorted by relevance
| /optee_os/core/drivers/crypto/caam/cipher/ |
| H A D | caam_cipher.c | 32 .size_ctx = 0, 41 .size_ctx = 2 * sizeof(uint64_t), 50 .size_ctx = 2 * sizeof(uint64_t), 62 .size_ctx = 0, 77 .size_ctx = 0, 86 .size_ctx = sizeof(uint64_t), 101 .size_ctx = 0, 111 .size_ctx = sizeof(uint64_t), 159 if (ctx->ctx.length && ctx->alg->size_ctx) { in caam_cipher_block() 184 if (ctx->ctx.length && ctx->alg->size_ctx) { in caam_cipher_block() [all …]
|
| H A D | caam_cipher_mac.c | 29 .size_ctx = 2 * sizeof(uint64_t), 43 .size_ctx = 4 * sizeof(uint64_t), 60 .size_ctx = sizeof(uint64_t), 77 .size_ctx = sizeof(uint64_t), 180 MIN(dupdate->dst.length, ctx->alg->size_ctx)); in do_update_mac() 340 ctx->alg->size_ctx); in run_cmac_desc() 589 iv_tmp = caam_calloc(macdata->alg->size_ctx); in do_cmac_init() 613 dinit.iv.length = macdata->alg->size_ctx; in do_cmac_init()
|
| H A D | local.h | 37 uint8_t size_ctx; /* CAAM Context Register size */ member
|
| /optee_os/core/drivers/crypto/caam/hash/ |
| H A D | caam_hash.c | 39 .size_ctx = HASH_MSG_LEN + TEE_MD5_HASH_SIZE, 47 .size_ctx = HASH_MSG_LEN + TEE_SHA1_HASH_SIZE, 55 .size_ctx = HASH_MSG_LEN + TEE_SHA256_HASH_SIZE, 63 .size_ctx = HASH_MSG_LEN + TEE_SHA256_HASH_SIZE, 71 .size_ctx = HASH_MSG_LEN + TEE_SHA512_HASH_SIZE, 79 .size_ctx = HASH_MSG_LEN + TEE_SHA512_HASH_SIZE, 311 if (caam_calloc_align_buf(&ctx->ctx, ctx->alg->size_ctx) != in caam_hash_hmac_allocate() 425 ctx->ctx.length = alg->size_ctx; in do_update_hash()
|
| H A D | local.h | 31 uint8_t size_ctx; /* CAAM context register size (8 + digest size) */ member
|
| /optee_os/core/drivers/crypto/caam/ae/ |
| H A D | local.h | 28 uint8_t size_ctx; member
|
| H A D | caam_ae.c | 33 .size_ctx = 7 * sizeof(uint64_t), 44 .size_ctx = 8 * sizeof(uint64_t), 503 caam_ctx->alg->size_ctx); in caam_ae_do_oneshot() 592 caam_ctx->alg->size_ctx); in caam_ae_do_init()
|
| H A D | caam_ae_ccm.c | 161 caam_ctx->alg->size_ctx); in caam_ae_initialize_ccm()
|