Searched refs:ps_end (Results 1 – 1 of 1) sorted by relevance
233 unsigned int i, ps_end; in pkcs1pad_encrypt() local251 ps_end = ctx->key_size - req->src_len - 2; in pkcs1pad_encrypt()253 for (i = 1; i < ps_end; i++) in pkcs1pad_encrypt()255 req_ctx->in_buf[ps_end] = 0x00; in pkcs1pad_encrypt()385 unsigned int ps_end, digest_size = 0; in pkcs1pad_sign() local406 ps_end = ctx->key_size - digest_size - req->src_len - 2; in pkcs1pad_sign()408 memset(req_ctx->in_buf + 1, 0xff, ps_end - 1); in pkcs1pad_sign()409 req_ctx->in_buf[ps_end] = 0x00; in pkcs1pad_sign()412 memcpy(req_ctx->in_buf + ps_end + 1, digest_info->data, in pkcs1pad_sign()