Searched refs:ictx (Results 1 – 3 of 3) sorted by relevance
/external/u-boot/tools/ |
D | mxsimage.c | 204 static int sb_aes_init(struct sb_image_ctx *ictx, uint8_t *iv, int enc) in sb_aes_init() argument 211 iv = ictx->image_key; in sb_aes_init() 214 ret = EVP_CipherInit(ctx, EVP_aes_128_cbc(), ictx->image_key, iv, enc); in sb_aes_init() 217 ictx->cipher_ctx = ctx; in sb_aes_init() 222 static int sb_aes_crypt(struct sb_image_ctx *ictx, uint8_t *in_data, in sb_aes_crypt() argument 225 EVP_CIPHER_CTX *ctx = ictx->cipher_ctx; in sb_aes_crypt() 253 static int sb_aes_reinit(struct sb_image_ctx *ictx, int enc) in sb_aes_reinit() argument 256 EVP_CIPHER_CTX *ctx = ictx->cipher_ctx; in sb_aes_reinit() 257 struct sb_boot_image_header *sb_header = &ictx->payload; in sb_aes_reinit() 263 return sb_aes_init(ictx, iv, enc); in sb_aes_reinit() [all …]
|
/external/openssh/ |
D | hmac.c | 29 struct ssh_digest_ctx *ictx; member 50 if ((ret->ictx = ssh_digest_start(alg)) == NULL || in ssh_hmac_start() 54 ret->buf_len = ssh_digest_blocksize(ret->ictx); in ssh_hmac_start() 78 if (ssh_digest_update(ctx->ictx, ctx->buf, ctx->buf_len) < 0) in ssh_hmac_init() 87 if (ssh_digest_copy_state(ctx->ictx, ctx->digest) < 0) in ssh_hmac_init() 125 ssh_digest_free(ctx->ictx); in ssh_hmac_free()
|
/external/tensorflow/tensorflow/c/eager/ |
D | c_api.cc | 238 TFE_OpInferenceContext* ictx = op->inference_ctx.get(); in OpInferSingleInputAttrs() local 239 const auto& input_def = ictx->op_def->input_arg(ictx->input_arg_idx++); in OpInferSingleInputAttrs() 251 if (!type_attr.empty() && ictx->attrs.find(type_attr) == ictx->attrs.end()) { in OpInferSingleInputAttrs() 253 ictx->attrs.insert(type_attr); in OpInferSingleInputAttrs() 262 TFE_OpInferenceContext* ictx = op->inference_ctx.get(); in OpInferSingleTypeInputListAttrs() local 263 if (ictx->attrs.find(input_def.number_attr()) == ictx->attrs.end()) { in OpInferSingleTypeInputListAttrs() 265 ictx->attrs.insert(input_def.number_attr()); in OpInferSingleTypeInputListAttrs() 267 if (ictx->attrs.find(input_def.type_attr()) == ictx->attrs.end()) { in OpInferSingleTypeInputListAttrs() 270 ictx->attrs.insert(input_def.type_attr()); in OpInferSingleTypeInputListAttrs() 277 TFE_OpInferenceContext* ictx = op->inference_ctx.get(); in OpInferMixedTypeInputListAttrs() local [all …]
|