Searched refs:req_ctx (Results 1 – 1 of 1) sorted by relevance
177 struct pkcs1pad_request *req_ctx = akcipher_request_ctx(req); in pkcs1pad_encrypt_sign_complete() local185 len = req_ctx->child_req.dst_len; in pkcs1pad_encrypt_sign_complete()207 kfree(req_ctx->in_buf); in pkcs1pad_encrypt_sign_complete()230 struct pkcs1pad_request *req_ctx = akcipher_request_ctx(req); in pkcs1pad_encrypt() local245 req_ctx->in_buf = kmalloc(ctx->key_size - 1 - req->src_len, in pkcs1pad_encrypt()247 if (!req_ctx->in_buf) in pkcs1pad_encrypt()251 req_ctx->in_buf[0] = 0x02; in pkcs1pad_encrypt()253 req_ctx->in_buf[i] = 1 + prandom_u32_max(255); in pkcs1pad_encrypt()254 req_ctx->in_buf[ps_end] = 0x00; in pkcs1pad_encrypt()256 pkcs1pad_sg_set_buf(req_ctx->in_sg, req_ctx->in_buf, in pkcs1pad_encrypt()[all …]