Home
last modified time | relevance | path

Searched refs:cipher_ctx (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/crypto/aspeed/
H A Daspeed-hace.c199 crypto_engine->cipher_ctx = in aspeed_hace_probe()
204 if (!crypto_engine->cipher_ctx) { in aspeed_hace_probe()
H A Daspeed-hace-crypto.c113 memcpy(req->iv, crypto_engine->cipher_ctx + in aspeed_sk_complete()
116 memcpy(req->iv, crypto_engine->cipher_ctx, in aspeed_sk_complete()
388 memcpy(crypto_engine->cipher_ctx + DES_BLOCK_SIZE, in aspeed_hace_skcipher_trigger()
391 memcpy(crypto_engine->cipher_ctx, req->iv, in aspeed_hace_skcipher_trigger()
396 memcpy(crypto_engine->cipher_ctx + 16, ctx->key, ctx->key_len); in aspeed_hace_skcipher_trigger()
401 memcpy(crypto_engine->cipher_ctx + 16, ctx->key, AES_MAX_KEYLENGTH); in aspeed_hace_skcipher_trigger()
H A Daspeed-hace.h210 void *cipher_ctx; member
/openbmc/u-boot/tools/
H A Dmxsimage.c177 EVP_CIPHER_CTX *cipher_ctx; member
217 ictx->cipher_ctx = ctx; in sb_aes_init()
225 EVP_CIPHER_CTX *ctx = ictx->cipher_ctx; in sb_aes_crypt()
256 EVP_CIPHER_CTX *ctx = ictx->cipher_ctx; in sb_aes_reinit()
434 sb_aes_deinit(ictx->cipher_ctx); in sb_encrypt_image()
2122 sb_aes_deinit(ictx->cipher_ctx); in sb_build_tree_from_img()