Lines Matching refs:operation
25 static int gen_init(EVP_PKEY_CTX *ctx, int operation)
33 ctx->operation = operation;
38 switch (operation) {
62 || (operation == EVP_PKEY_OP_PARAMGEN
64 || (operation == EVP_PKEY_OP_KEYGEN
69 switch (operation) {
84 ctx->operation = EVP_PKEY_OP_UNDEFINED;
141 if ((ctx->operation & EVP_PKEY_OP_TYPE_GEN) == 0)
223 switch (ctx->operation) {
261 if (ctx->operation != EVP_PKEY_OP_PARAMGEN) {
270 if (ctx->operation != EVP_PKEY_OP_KEYGEN) {
339 static int fromdata_init(EVP_PKEY_CTX *ctx, int operation)
348 ctx->operation = operation;
353 ctx->operation = EVP_PKEY_OP_UNDEFINED;
369 if (ctx == NULL || (ctx->operation & EVP_PKEY_OP_FROMDATA) == 0) {