Home
last modified time | relevance | path

Searched refs:ctx (Results 1 – 25 of 2935) sorted by relevance

12345678910>>...118

/external/e2fsprogs/e2fsck/
De2fsck.c54 errcode_t e2fsck_reset_context(e2fsck_t ctx) in e2fsck_reset_context() argument
58 ctx->flags &= E2F_RESET_FLAGS; in e2fsck_reset_context()
59 ctx->lost_and_found = 0; in e2fsck_reset_context()
60 ctx->bad_lost_and_found = 0; in e2fsck_reset_context()
61 if (ctx->inode_used_map) { in e2fsck_reset_context()
62 ext2fs_free_inode_bitmap(ctx->inode_used_map); in e2fsck_reset_context()
63 ctx->inode_used_map = 0; in e2fsck_reset_context()
65 if (ctx->inode_dir_map) { in e2fsck_reset_context()
66 ext2fs_free_inode_bitmap(ctx->inode_dir_map); in e2fsck_reset_context()
67 ctx->inode_dir_map = 0; in e2fsck_reset_context()
[all …]
/external/mesa3d/src/mesa/main/
Dstate.c57 update_separate_specular(struct gl_context *ctx) in update_separate_specular() argument
59 if (_mesa_need_secondary_color(ctx)) in update_separate_specular()
60 ctx->_TriangleCaps |= DD_SEPARATE_SPECULAR; in update_separate_specular()
62 ctx->_TriangleCaps &= ~DD_SEPARATE_SPECULAR; in update_separate_specular()
74 update_program_enables(struct gl_context *ctx) in update_program_enables() argument
80 ctx->VertexProgram._Enabled = ctx->VertexProgram.Enabled in update_program_enables()
81 && ctx->VertexProgram.Current->Base.Instructions; in update_program_enables()
82 ctx->FragmentProgram._Enabled = ctx->FragmentProgram.Enabled in update_program_enables()
83 && ctx->FragmentProgram.Current->Base.Instructions; in update_program_enables()
84 ctx->ATIFragmentShader._Enabled = ctx->ATIFragmentShader.Enabled in update_program_enables()
[all …]
Dfeedback.c56 GET_CURRENT_CONTEXT(ctx); in _mesa_FeedbackBuffer()
57 ASSERT_OUTSIDE_BEGIN_END(ctx); in _mesa_FeedbackBuffer()
59 if (ctx->RenderMode==GL_FEEDBACK) { in _mesa_FeedbackBuffer()
60 _mesa_error( ctx, GL_INVALID_OPERATION, "glFeedbackBuffer" ); in _mesa_FeedbackBuffer()
64 _mesa_error( ctx, GL_INVALID_VALUE, "glFeedbackBuffer(size<0)" ); in _mesa_FeedbackBuffer()
68 _mesa_error( ctx, GL_INVALID_VALUE, "glFeedbackBuffer(buffer==NULL)" ); in _mesa_FeedbackBuffer()
69 ctx->Feedback.BufferSize = 0; in _mesa_FeedbackBuffer()
75 ctx->Feedback._Mask = 0; in _mesa_FeedbackBuffer()
78 ctx->Feedback._Mask = FB_3D; in _mesa_FeedbackBuffer()
81 ctx->Feedback._Mask = (FB_3D | FB_COLOR); in _mesa_FeedbackBuffer()
[all …]
Dstencil.c59 validate_stencil_op(struct gl_context *ctx, GLenum op) in validate_stencil_op() argument
78 validate_stencil_func(struct gl_context *ctx, GLenum func) in validate_stencil_func() argument
110 GET_CURRENT_CONTEXT(ctx); in _mesa_ClearStencil()
111 ASSERT_OUTSIDE_BEGIN_END(ctx); in _mesa_ClearStencil()
113 if (ctx->Stencil.Clear == (GLuint) s) in _mesa_ClearStencil()
116 FLUSH_VERTICES(ctx, _NEW_STENCIL); in _mesa_ClearStencil()
117 ctx->Stencil.Clear = (GLuint) s; in _mesa_ClearStencil()
138 GET_CURRENT_CONTEXT(ctx); in _mesa_StencilFuncSeparateATI()
139 const GLint stencilMax = (1 << ctx->DrawBuffer->Visual.stencilBits) - 1; in _mesa_StencilFuncSeparateATI()
140 ASSERT_OUTSIDE_BEGIN_END(ctx); in _mesa_StencilFuncSeparateATI()
[all …]
Dpixelstore.c43 GET_CURRENT_CONTEXT(ctx); in _mesa_PixelStorei()
44 ASSERT_OUTSIDE_BEGIN_END(ctx); in _mesa_PixelStorei()
48 if (!_mesa_is_desktop_gl(ctx)) in _mesa_PixelStorei()
50 if (param == (GLint)ctx->Pack.SwapBytes) in _mesa_PixelStorei()
52 FLUSH_VERTICES(ctx, _NEW_PACKUNPACK); in _mesa_PixelStorei()
53 ctx->Pack.SwapBytes = param ? GL_TRUE : GL_FALSE; in _mesa_PixelStorei()
56 if (!_mesa_is_desktop_gl(ctx)) in _mesa_PixelStorei()
58 if (param == (GLint)ctx->Pack.LsbFirst) in _mesa_PixelStorei()
60 FLUSH_VERTICES(ctx, _NEW_PACKUNPACK); in _mesa_PixelStorei()
61 ctx->Pack.LsbFirst = param ? GL_TRUE : GL_FALSE; in _mesa_PixelStorei()
[all …]
Denable.c46 if (!ctx->Extensions.EXTNAME) { \
55 client_state(struct gl_context *ctx, GLenum cap, GLboolean state) in client_state() argument
57 struct gl_array_object *arrayObj = ctx->Array.ArrayObj; in client_state()
79 var = &arrayObj->VertexAttrib[VERT_ATTRIB_TEX(ctx->Array.ActiveTexture)].Enabled; in client_state()
80 flag = VERT_BIT_TEX(ctx->Array.ActiveTexture); in client_state()
131 if (!ctx->Extensions.NV_primitive_restart) { in client_state()
134 var = &ctx->Array.PrimitiveRestart; in client_state()
145 FLUSH_VERTICES(ctx, _NEW_ARRAY); in client_state()
147 _ae_invalidate_state(ctx, _NEW_ARRAY); in client_state()
158 if (ctx->Driver.Enable) { in client_state()
[all …]
Dversion.c36 override_version(struct gl_context *ctx) in override_version() argument
54 ctx->Version = major * 10 + minor; in override_version()
63 _mesa_override_glsl_version(struct gl_context *ctx) in _mesa_override_glsl_version() argument
74 n = sscanf(version, "%u", &ctx->Const.GLSLVersion); in _mesa_override_glsl_version()
85 compute_version(struct gl_context *ctx) in compute_version() argument
90 const GLboolean ver_1_3 = (ctx->Extensions.ARB_texture_border_clamp && in compute_version()
91 ctx->Extensions.ARB_texture_cube_map && in compute_version()
92 ctx->Extensions.ARB_texture_env_combine && in compute_version()
93 ctx->Extensions.ARB_texture_env_dot3); in compute_version()
95 ctx->Extensions.ARB_depth_texture && in compute_version()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dstate.c57 update_separate_specular(struct gl_context *ctx) in update_separate_specular() argument
59 if (_mesa_need_secondary_color(ctx)) in update_separate_specular()
60 ctx->_TriangleCaps |= DD_SEPARATE_SPECULAR; in update_separate_specular()
62 ctx->_TriangleCaps &= ~DD_SEPARATE_SPECULAR; in update_separate_specular()
74 update_program_enables(struct gl_context *ctx) in update_program_enables() argument
80 ctx->VertexProgram._Enabled = ctx->VertexProgram.Enabled in update_program_enables()
81 && ctx->VertexProgram.Current->Base.Instructions; in update_program_enables()
82 ctx->FragmentProgram._Enabled = ctx->FragmentProgram.Enabled in update_program_enables()
83 && ctx->FragmentProgram.Current->Base.Instructions; in update_program_enables()
84 ctx->ATIFragmentShader._Enabled = ctx->ATIFragmentShader.Enabled in update_program_enables()
[all …]
Dfeedback.c56 GET_CURRENT_CONTEXT(ctx); in _mesa_FeedbackBuffer()
57 ASSERT_OUTSIDE_BEGIN_END(ctx); in _mesa_FeedbackBuffer()
59 if (ctx->RenderMode==GL_FEEDBACK) { in _mesa_FeedbackBuffer()
60 _mesa_error( ctx, GL_INVALID_OPERATION, "glFeedbackBuffer" ); in _mesa_FeedbackBuffer()
64 _mesa_error( ctx, GL_INVALID_VALUE, "glFeedbackBuffer(size<0)" ); in _mesa_FeedbackBuffer()
68 _mesa_error( ctx, GL_INVALID_VALUE, "glFeedbackBuffer(buffer==NULL)" ); in _mesa_FeedbackBuffer()
69 ctx->Feedback.BufferSize = 0; in _mesa_FeedbackBuffer()
75 ctx->Feedback._Mask = 0; in _mesa_FeedbackBuffer()
78 ctx->Feedback._Mask = FB_3D; in _mesa_FeedbackBuffer()
81 ctx->Feedback._Mask = (FB_3D | FB_COLOR); in _mesa_FeedbackBuffer()
[all …]
Dstencil.c59 validate_stencil_op(struct gl_context *ctx, GLenum op) in validate_stencil_op() argument
78 validate_stencil_func(struct gl_context *ctx, GLenum func) in validate_stencil_func() argument
110 GET_CURRENT_CONTEXT(ctx); in _mesa_ClearStencil()
111 ASSERT_OUTSIDE_BEGIN_END(ctx); in _mesa_ClearStencil()
113 if (ctx->Stencil.Clear == (GLuint) s) in _mesa_ClearStencil()
116 FLUSH_VERTICES(ctx, _NEW_STENCIL); in _mesa_ClearStencil()
117 ctx->Stencil.Clear = (GLuint) s; in _mesa_ClearStencil()
138 GET_CURRENT_CONTEXT(ctx); in _mesa_StencilFuncSeparateATI()
139 const GLint stencilMax = (1 << ctx->DrawBuffer->Visual.stencilBits) - 1; in _mesa_StencilFuncSeparateATI()
140 ASSERT_OUTSIDE_BEGIN_END(ctx); in _mesa_StencilFuncSeparateATI()
[all …]
Dpixelstore.c43 GET_CURRENT_CONTEXT(ctx); in _mesa_PixelStorei()
44 ASSERT_OUTSIDE_BEGIN_END(ctx); in _mesa_PixelStorei()
48 if (!_mesa_is_desktop_gl(ctx)) in _mesa_PixelStorei()
50 if (param == (GLint)ctx->Pack.SwapBytes) in _mesa_PixelStorei()
52 FLUSH_VERTICES(ctx, _NEW_PACKUNPACK); in _mesa_PixelStorei()
53 ctx->Pack.SwapBytes = param ? GL_TRUE : GL_FALSE; in _mesa_PixelStorei()
56 if (!_mesa_is_desktop_gl(ctx)) in _mesa_PixelStorei()
58 if (param == (GLint)ctx->Pack.LsbFirst) in _mesa_PixelStorei()
60 FLUSH_VERTICES(ctx, _NEW_PACKUNPACK); in _mesa_PixelStorei()
61 ctx->Pack.LsbFirst = param ? GL_TRUE : GL_FALSE; in _mesa_PixelStorei()
[all …]
Denable.c46 if (!ctx->Extensions.EXTNAME) { \
55 client_state(struct gl_context *ctx, GLenum cap, GLboolean state) in client_state() argument
57 struct gl_array_object *arrayObj = ctx->Array.ArrayObj; in client_state()
79 var = &arrayObj->VertexAttrib[VERT_ATTRIB_TEX(ctx->Array.ActiveTexture)].Enabled; in client_state()
80 flag = VERT_BIT_TEX(ctx->Array.ActiveTexture); in client_state()
131 if (!ctx->Extensions.NV_primitive_restart) { in client_state()
134 var = &ctx->Array.PrimitiveRestart; in client_state()
145 FLUSH_VERTICES(ctx, _NEW_ARRAY); in client_state()
147 _ae_invalidate_state(ctx, _NEW_ARRAY); in client_state()
158 if (ctx->Driver.Enable) { in client_state()
[all …]
Dversion.c36 override_version(struct gl_context *ctx) in override_version() argument
54 ctx->Version = major * 10 + minor; in override_version()
63 _mesa_override_glsl_version(struct gl_context *ctx) in _mesa_override_glsl_version() argument
74 n = sscanf(version, "%u", &ctx->Const.GLSLVersion); in _mesa_override_glsl_version()
85 compute_version(struct gl_context *ctx) in compute_version() argument
90 const GLboolean ver_1_3 = (ctx->Extensions.ARB_texture_border_clamp && in compute_version()
91 ctx->Extensions.ARB_texture_cube_map && in compute_version()
92 ctx->Extensions.ARB_texture_env_combine && in compute_version()
93 ctx->Extensions.ARB_texture_env_dot3); in compute_version()
95 ctx->Extensions.ARB_depth_texture && in compute_version()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_extensions.c42 intelInitExtensions(struct gl_context *ctx) in intelInitExtensions() argument
44 struct intel_context *intel = intel_context(ctx); in intelInitExtensions()
46 ctx->Extensions.ARB_draw_elements_base_vertex = true; in intelInitExtensions()
47 ctx->Extensions.ARB_explicit_attrib_location = true; in intelInitExtensions()
48 if (_mesa_is_desktop_gl(ctx)) in intelInitExtensions()
49 ctx->Extensions.ARB_framebuffer_object = true; in intelInitExtensions()
50 ctx->Extensions.ARB_half_float_pixel = true; in intelInitExtensions()
51 ctx->Extensions.ARB_map_buffer_range = true; in intelInitExtensions()
52 ctx->Extensions.ARB_point_sprite = true; in intelInitExtensions()
53 ctx->Extensions.ARB_shader_objects = true; in intelInitExtensions()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
Dintel_extensions.c42 intelInitExtensions(struct gl_context *ctx) in intelInitExtensions() argument
44 struct intel_context *intel = intel_context(ctx); in intelInitExtensions()
46 ctx->Extensions.ARB_draw_elements_base_vertex = true; in intelInitExtensions()
47 ctx->Extensions.ARB_explicit_attrib_location = true; in intelInitExtensions()
48 if (_mesa_is_desktop_gl(ctx)) in intelInitExtensions()
49 ctx->Extensions.ARB_framebuffer_object = true; in intelInitExtensions()
50 ctx->Extensions.ARB_half_float_pixel = true; in intelInitExtensions()
51 ctx->Extensions.ARB_map_buffer_range = true; in intelInitExtensions()
52 ctx->Extensions.ARB_point_sprite = true; in intelInitExtensions()
53 ctx->Extensions.ARB_shader_objects = true; in intelInitExtensions()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dintel_extensions.c42 intelInitExtensions(struct gl_context *ctx) in intelInitExtensions() argument
44 struct intel_context *intel = intel_context(ctx); in intelInitExtensions()
46 ctx->Extensions.ARB_draw_elements_base_vertex = true; in intelInitExtensions()
47 ctx->Extensions.ARB_explicit_attrib_location = true; in intelInitExtensions()
48 if (_mesa_is_desktop_gl(ctx)) in intelInitExtensions()
49 ctx->Extensions.ARB_framebuffer_object = true; in intelInitExtensions()
50 ctx->Extensions.ARB_half_float_pixel = true; in intelInitExtensions()
51 ctx->Extensions.ARB_map_buffer_range = true; in intelInitExtensions()
52 ctx->Extensions.ARB_point_sprite = true; in intelInitExtensions()
53 ctx->Extensions.ARB_shader_objects = true; in intelInitExtensions()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
Dintel_extensions.c42 intelInitExtensions(struct gl_context *ctx) in intelInitExtensions() argument
44 struct intel_context *intel = intel_context(ctx); in intelInitExtensions()
46 ctx->Extensions.ARB_draw_elements_base_vertex = true; in intelInitExtensions()
47 ctx->Extensions.ARB_explicit_attrib_location = true; in intelInitExtensions()
48 if (_mesa_is_desktop_gl(ctx)) in intelInitExtensions()
49 ctx->Extensions.ARB_framebuffer_object = true; in intelInitExtensions()
50 ctx->Extensions.ARB_half_float_pixel = true; in intelInitExtensions()
51 ctx->Extensions.ARB_map_buffer_range = true; in intelInitExtensions()
52 ctx->Extensions.ARB_point_sprite = true; in intelInitExtensions()
53 ctx->Extensions.ARB_shader_objects = true; in intelInitExtensions()
[all …]
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_extensions.c42 intelInitExtensions(struct gl_context *ctx) in intelInitExtensions() argument
44 struct intel_context *intel = intel_context(ctx); in intelInitExtensions()
46 ctx->Extensions.ARB_draw_elements_base_vertex = true; in intelInitExtensions()
47 ctx->Extensions.ARB_explicit_attrib_location = true; in intelInitExtensions()
48 if (_mesa_is_desktop_gl(ctx)) in intelInitExtensions()
49 ctx->Extensions.ARB_framebuffer_object = true; in intelInitExtensions()
50 ctx->Extensions.ARB_half_float_pixel = true; in intelInitExtensions()
51 ctx->Extensions.ARB_map_buffer_range = true; in intelInitExtensions()
52 ctx->Extensions.ARB_point_sprite = true; in intelInitExtensions()
53 ctx->Extensions.ARB_shader_objects = true; in intelInitExtensions()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_extensions.c42 intelInitExtensions(struct gl_context *ctx) in intelInitExtensions() argument
44 struct intel_context *intel = intel_context(ctx); in intelInitExtensions()
46 ctx->Extensions.ARB_draw_elements_base_vertex = true; in intelInitExtensions()
47 ctx->Extensions.ARB_explicit_attrib_location = true; in intelInitExtensions()
48 if (_mesa_is_desktop_gl(ctx)) in intelInitExtensions()
49 ctx->Extensions.ARB_framebuffer_object = true; in intelInitExtensions()
50 ctx->Extensions.ARB_half_float_pixel = true; in intelInitExtensions()
51 ctx->Extensions.ARB_map_buffer_range = true; in intelInitExtensions()
52 ctx->Extensions.ARB_point_sprite = true; in intelInitExtensions()
53 ctx->Extensions.ARB_shader_objects = true; in intelInitExtensions()
[all …]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_state.c36 nouveau_alpha_func(struct gl_context *ctx, GLenum func, GLfloat ref) in nouveau_alpha_func() argument
38 context_dirty(ctx, ALPHA_FUNC); in nouveau_alpha_func()
42 nouveau_blend_color(struct gl_context *ctx, const GLfloat color[4]) in nouveau_blend_color() argument
44 context_dirty(ctx, BLEND_COLOR); in nouveau_blend_color()
48 nouveau_blend_equation_separate(struct gl_context *ctx, GLenum modeRGB, GLenum modeA) in nouveau_blend_equation_separate() argument
50 context_dirty(ctx, BLEND_EQUATION); in nouveau_blend_equation_separate()
54 nouveau_blend_func_separate(struct gl_context *ctx, GLenum sfactorRGB, in nouveau_blend_func_separate() argument
57 context_dirty(ctx, BLEND_FUNC); in nouveau_blend_func_separate()
61 nouveau_clip_plane(struct gl_context *ctx, GLenum plane, const GLfloat *equation) in nouveau_clip_plane() argument
63 context_dirty_i(ctx, CLIP_PLANE, plane - GL_CLIP_PLANE0); in nouveau_clip_plane()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
Dnouveau_state.c36 nouveau_alpha_func(struct gl_context *ctx, GLenum func, GLfloat ref) in nouveau_alpha_func() argument
38 context_dirty(ctx, ALPHA_FUNC); in nouveau_alpha_func()
42 nouveau_blend_color(struct gl_context *ctx, const GLfloat color[4]) in nouveau_blend_color() argument
44 context_dirty(ctx, BLEND_COLOR); in nouveau_blend_color()
48 nouveau_blend_equation_separate(struct gl_context *ctx, GLenum modeRGB, GLenum modeA) in nouveau_blend_equation_separate() argument
50 context_dirty(ctx, BLEND_EQUATION); in nouveau_blend_equation_separate()
54 nouveau_blend_func_separate(struct gl_context *ctx, GLenum sfactorRGB, in nouveau_blend_func_separate() argument
57 context_dirty(ctx, BLEND_FUNC); in nouveau_blend_func_separate()
61 nouveau_clip_plane(struct gl_context *ctx, GLenum plane, const GLfloat *equation) in nouveau_clip_plane() argument
63 context_dirty_i(ctx, CLIP_PLANE, plane - GL_CLIP_PLANE0); in nouveau_clip_plane()
[all …]
/external/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_context.c123 static boolean delete_blend_state(struct cso_context *ctx, void *state) in delete_blend_state() argument
127 if (ctx->blend == cso->data) in delete_blend_state()
136 static boolean delete_depth_stencil_state(struct cso_context *ctx, void *state) in delete_depth_stencil_state() argument
141 if (ctx->depth_stencil == cso->data) in delete_depth_stencil_state()
151 static boolean delete_sampler_state(struct cso_context *ctx, void *state) in delete_sampler_state() argument
160 static boolean delete_rasterizer_state(struct cso_context *ctx, void *state) in delete_rasterizer_state() argument
164 if (ctx->rasterizer == cso->data) in delete_rasterizer_state()
172 static boolean delete_vertex_elements(struct cso_context *ctx, in delete_vertex_elements() argument
177 if (ctx->velements == cso->data) in delete_vertex_elements()
187 static INLINE boolean delete_cso(struct cso_context *ctx, in delete_cso() argument
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/cso_cache/
Dcso_context.c123 static boolean delete_blend_state(struct cso_context *ctx, void *state) in delete_blend_state() argument
127 if (ctx->blend == cso->data) in delete_blend_state()
136 static boolean delete_depth_stencil_state(struct cso_context *ctx, void *state) in delete_depth_stencil_state() argument
141 if (ctx->depth_stencil == cso->data) in delete_depth_stencil_state()
151 static boolean delete_sampler_state(struct cso_context *ctx, void *state) in delete_sampler_state() argument
160 static boolean delete_rasterizer_state(struct cso_context *ctx, void *state) in delete_rasterizer_state() argument
164 if (ctx->rasterizer == cso->data) in delete_rasterizer_state()
172 static boolean delete_vertex_elements(struct cso_context *ctx, in delete_vertex_elements() argument
177 if (ctx->velements == cso->data) in delete_vertex_elements()
187 static INLINE boolean delete_cso(struct cso_context *ctx, in delete_cso() argument
[all …]
/external/openssl/crypto/evp/
Dpmeth_fn.c66 #define M_check_autoarg(ctx, arg, arglen, err) \ argument
67 if (ctx->pmeth->flags & EVP_PKEY_FLAG_AUTOARGLEN) \
69 size_t pksize = (size_t)EVP_PKEY_size(ctx->pkey); \
82 int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx) in EVP_PKEY_sign_init() argument
85 if (!ctx || !ctx->pmeth || !ctx->pmeth->sign) in EVP_PKEY_sign_init()
91 ctx->operation = EVP_PKEY_OP_SIGN; in EVP_PKEY_sign_init()
92 if (!ctx->pmeth->sign_init) in EVP_PKEY_sign_init()
94 ret = ctx->pmeth->sign_init(ctx); in EVP_PKEY_sign_init()
96 ctx->operation = EVP_PKEY_OP_UNDEFINED; in EVP_PKEY_sign_init()
100 int EVP_PKEY_sign(EVP_PKEY_CTX *ctx, in EVP_PKEY_sign() argument
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/evp/
Dpmeth_fn.c66 #define M_check_autoarg(ctx, arg, arglen, err) \ argument
67 if (ctx->pmeth->flags & EVP_PKEY_FLAG_AUTOARGLEN) \
69 size_t pksize = (size_t)EVP_PKEY_size(ctx->pkey); \
82 int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx) in EVP_PKEY_sign_init() argument
85 if (!ctx || !ctx->pmeth || !ctx->pmeth->sign) in EVP_PKEY_sign_init()
91 ctx->operation = EVP_PKEY_OP_SIGN; in EVP_PKEY_sign_init()
92 if (!ctx->pmeth->sign_init) in EVP_PKEY_sign_init()
94 ret = ctx->pmeth->sign_init(ctx); in EVP_PKEY_sign_init()
96 ctx->operation = EVP_PKEY_OP_UNDEFINED; in EVP_PKEY_sign_init()
100 int EVP_PKEY_sign(EVP_PKEY_CTX *ctx, in EVP_PKEY_sign() argument
[all …]

12345678910>>...118