Searched refs:srcbuf (Results 1 – 2 of 2) sorted by relevance
| /optee_os/core/drivers/crypto/caam/cipher/ |
| H A D | caam_cipher_xts.c | 47 struct caambuf *srcbuf, struct caambuf *dstbuf, in do_tweak_block() argument 58 tmp->orig.data[idx] = srcbuf->data[idx] ^ enc_tweak->data[idx]; in do_tweak_block() 86 struct caambuf srcbuf = { }; in caam_cipher_update_xts() local 157 srcbuf.data = dupdate->src.data; in caam_cipher_update_xts() 158 srcbuf.length = ctx->alg->size_block; in caam_cipher_update_xts() 159 srcbuf.paddr = psrc; in caam_cipher_update_xts() 167 ret = do_tweak_block(ctx, &enc_tweak.orig, &srcbuf, &dstbuf, in caam_cipher_update_xts() 174 CIPHER_DUMPBUF("Source", srcbuf.data, srcbuf.length); in caam_cipher_update_xts() 178 srcbuf.data += ctx->alg->size_block; in caam_cipher_update_xts() 179 srcbuf.paddr += ctx->alg->size_block; in caam_cipher_update_xts() [all …]
|
| H A D | caam_cipher_mac.c | 553 struct caambuf srcbuf = { .data = dupdate->src.data, in do_update_cmac() local 557 srcbuf.length, size_inmade); in do_update_cmac() 559 retstatus = caam_cpy_block_src(&ctx->blockbuf, &srcbuf, in do_update_cmac()
|