Searched refs:srcbuf (Results 1 – 2 of 2) sorted by relevance
/optee_os/core/drivers/crypto/caam/cipher/ |
A D | caam_cipher_xts.c | 47 struct caambuf *srcbuf, struct caambuf *dstbuf, in do_tweak_block() argument 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() 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() 207 ret = do_tweak_block(ctx, &tmpsrc, &srcbuf, in caam_cipher_update_xts() 210 ret = do_tweak_block(ctx, &enc_tweak.orig, &srcbuf, in caam_cipher_update_xts() [all …]
|
A D | caam_cipher_mac.c | 544 struct caambuf srcbuf = { .data = dupdate->src.data, in do_update_cmac() local 548 srcbuf.length, size_inmade); in do_update_cmac() 550 retstatus = caam_cpy_block_src(&ctx->blockbuf, &srcbuf, in do_update_cmac()
|
Completed in 3 milliseconds