Lines Matching defs:operation
305 const mbedtls_operation_t operation)
307 if (operation != MBEDTLS_ENCRYPT && operation != MBEDTLS_DECRYPT) {
315 MBEDTLS_DECRYPT == operation) {
348 /* Mbed TLS' cipher layer doesn't enforce the mode of operation
373 ctx->operation = operation;
384 ctx->operation = operation;
390 if (MBEDTLS_ENCRYPT == operation ||
398 if (MBEDTLS_DECRYPT == operation) {
403 if (operation == MBEDTLS_ENCRYPT || operation == MBEDTLS_DECRYPT) {
472 ctx->operation,
489 if (ctx->operation == MBEDTLS_DECRYPT) {
491 } else if (ctx->operation == MBEDTLS_ENCRYPT) {
559 mode = (ctx->operation == MBEDTLS_ENCRYPT)
612 ctx->operation, input,
656 if ((ctx->operation == MBEDTLS_DECRYPT && NULL != ctx->add_padding &&
658 (ctx->operation == MBEDTLS_DECRYPT && NULL == ctx->add_padding &&
660 (ctx->operation == MBEDTLS_ENCRYPT &&
679 ctx->operation,
705 ctx->operation == MBEDTLS_DECRYPT &&
722 ctx->operation,
739 ctx->operation, ilen,
793 ctx->operation,
1066 if (MBEDTLS_ENCRYPT == ctx->operation) {
1092 ctx->operation,
1102 if (MBEDTLS_DECRYPT == ctx->operation) {
1186 if (MBEDTLS_ENCRYPT != ctx->operation) {
1235 if (MBEDTLS_DECRYPT != ctx->operation) {
1328 if (ctx->operation == MBEDTLS_DECRYPT) {
1332 } else if (ctx->operation == MBEDTLS_ENCRYPT) {